Help with a dial plan - forward a incoming call

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
colin2710
Posts: 58
Joined: Tue Nov 20, 2007 11:52 am
Location: Teddington UK

Help with a dial plan - forward a incoming call

Post by colin2710 »

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
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

[matching Patterns]

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

[Deploy Patterns]

To=sip:020 123 1122@destinationIP
colin2710
Posts: 58
Joined: Tue Nov 20, 2007 11:52 am
Location: Teddington UK

Post by colin2710 »

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
jelly
Posts: 62
Joined: Wed Jun 20, 2007 9:54 am

Post by jelly »

try to add auth = false below To=sip:020 123 1122@destinationIP.
colin2710
Posts: 58
Joined: Tue Nov 20, 2007 11:52 am
Location: Teddington UK

Post by colin2710 »

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
Mohney
Posts: 79
Joined: Tue Nov 20, 2007 12:05 pm

Post by Mohney »

ARS can do it.. but the DialPlan can not do it..
colin2710
Posts: 58
Joined: Tue Nov 20, 2007 11:52 am
Location: Teddington UK

Post by colin2710 »

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 :D .

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

Many thanks - Colin
Post Reply