Forums Read-only archive

Help with a dial plan - forward a incoming call

7 posts · Brekeke SIP Server Forum

colin2710 Original post
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
[matching Patterns]

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

[Deploy Patterns]

To=sip:020 123 1122@destinationIP
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
try to add auth = false below To=sip:020 123 1122@destinationIP.
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
ARS can do it.. but the DialPlan can not do it..
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