Author |
Message |
juniper Brekeke Member
Joined: 09 Feb 2010 Posts: 13
|
Posted: Mon Apr 26, 2010 11:32 pm Post subject: Replace outgoing telephone number |
|
|
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/networkpatterns.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 |
|
Back to top |
|
taitan Brekeke Master Guru
Joined: 15 Mar 2008 Posts: 237
|
Posted: Tue Apr 27, 2010 12:36 pm Post subject: |
|
|
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. |
|
Back to top |
|
juniper Brekeke Member
Joined: 09 Feb 2010 Posts: 13
|
Posted: Tue Apr 27, 2010 11:58 pm Post subject: |
|
|
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! |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Thu Apr 29, 2010 10:12 am Post subject: |
|
|
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 |
|
Back to top |
|
juniper Brekeke Member
Joined: 09 Feb 2010 Posts: 13
|
Posted: Mon May 03, 2010 2:34 am Post subject: |
|
|
Hello,
thank you hope, it works perfectly!
Regards,
Juniper |
|
Back to top |
|
|