Replace outgoing telephone number

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
juniper
Posts: 13
Joined: Tue Feb 09, 2010 5:01 am

Replace outgoing telephone number

Post by juniper »

1. Brekeke Product Name and version: SIP 2.4.3.9

2. Java version: 1.5

3. OS type and the version: Windows 2003 R2

4. UA (phone), gateway or other hardware/software involved:

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :

6. Your problem:

Hello,

we have a brekeke pbx/sip server, and the ISP provides us a SIP trunk. All call goes to the SIP trunk.
The problem is, every outgoing calls goes only the extension (520, 550 and so on). How can we convert it e.g. +3611233520 or +3611233530? Need a dial plan rule?

Best regards,
Juniper
taitan
Posts: 237
Joined: Sat Mar 15, 2008 10:39 pm

Post by taitan »

Are you using Brekeke PBX??

Do you have any own ARS for the SIP trunk?
Do you have any own DialPlan for the SIP trunk?

If you have them, paste them here.
juniper
Posts: 13
Joined: Tue Feb 09, 2010 5:01 am

Post by juniper »

Hello,

We use PBX but mainly using the SIP server.
There is only one empty ARS rule in PBX.

The appropiate dial-plan rule is:

$registered=false
$outbound=false
$request=^INVITE
To=sip:0(.+)@

$transport=UDP
$auth=false
&net.sip.transport.follow.request=true
To=sip:%1@1.2.3.4

thank you for your help!
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

do you want to show caller as +3611233520 instead of 520?
does the caller registered as 520 at sip server?
Do the outgoing calls go through pbx?
you can check if there is session at pbx>[call status] when making outbound calls.
if outgoing calls do not go through pbx, then add the following lines to the dial plan used for the call
at matching, add to end From=sip:(.+)@
at deploy, add to end From=sip:+3611233%2@brekeke_ip

if call go through pbx, then add the above to the ARS pattern-out for the call
juniper
Posts: 13
Joined: Tue Feb 09, 2010 5:01 am

Post by juniper »

Hello,

thank you hope, it works perfectly! :)

Regards,
Juniper
Post Reply