Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Help with a dial plan - forward a incoming call
Author Message
colin2710
Brekeke Talented


Joined: 20 Nov 2007
Posts: 58
Location: Teddington UK

PostPosted: Wed Jan 30, 2008 4:26 am    Post subject: Help with a dial plan - forward a incoming call Reply with quote

Hi there,

Does any one know how I would (using a dilaplan) do the following:

When a incoming arrives from telephone number "020 123 1234" forward the call to "020 123 1122" (external number)

Many thanks - Colin
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Wed Jan 30, 2008 10:40 am    Post subject: Reply with quote


Matching Patterns
$request = ^INVITE
From = sip:020 123 1234@

Deploy Patterns
To = sip:020 123 1122@destinationIP
Back to top
View user's profile
colin2710
Brekeke Talented


Joined: 20 Nov 2007
Posts: 58
Location: Teddington UK

PostPosted: Wed Jan 30, 2008 1:01 pm    Post subject: Reply with quote

Hi hope,

It works - your a star.

It works with one of our VOIP suppliers, that we don't need to authenticate (they do it by our IP address) however I need to send a username and password to the other supplier we use. Any idea where/how I do this.

I really do get very upset at Brekeke, the product is good but there are no examples or any documentation about this - WHY - I just don't get it and they also never look at this forum.

Regards - Colin
Back to top
View user's profile
jelly
Brekeke Talented


Joined: 20 Jun 2007
Posts: 62

PostPosted: Wed Jan 30, 2008 6:39 pm    Post subject: Reply with quote

try to add auth = false below To=sip:020 123 1122@destinationIP.
Back to top
View user's profile
colin2710
Brekeke Talented


Joined: 20 Nov 2007
Posts: 58
Location: Teddington UK

PostPosted: Tue Feb 12, 2008 9:33 am    Post subject: Reply with quote

Hi There,

Sorry been away - No can't get it to work.

I have the user name in the ARS (in PBX) but don;t I need it in the Dial Plan? If so where do I put it?

Regards - Colin
Back to top
View user's profile
Mohney
Brekeke Talented


Joined: 20 Nov 2007
Posts: 79

PostPosted: Wed Feb 13, 2008 12:35 pm    Post subject: Reply with quote

ARS can do it.. but the DialPlan can not do it..
Back to top
View user's profile
colin2710
Brekeke Talented


Joined: 20 Nov 2007
Posts: 58
Location: Teddington UK

PostPosted: Fri Feb 15, 2008 9:51 am    Post subject: Reply with quote

Hi there,

Just quick post to say I got it to work by asking our termination provider if we could authenticate by our IP Address (so we don't have to send username and password).

This they did yesterday and that's solved the problem. I am now creating lots of dial plans Very Happy .

I think at last I am getting my head around this.

Many thanks - Colin
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1