Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Replace outgoing telephone number
Author Message
juniper
Brekeke Member


Joined: 09 Feb 2010
Posts: 13

PostPosted: Mon Apr 26, 2010 11:32 pm    Post subject: Replace outgoing telephone number Reply with quote

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
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Tue Apr 27, 2010 12:36 pm    Post subject: Reply with quote

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
View user's profile
juniper
Brekeke Member


Joined: 09 Feb 2010
Posts: 13

PostPosted: Tue Apr 27, 2010 11:58 pm    Post subject: Reply with quote

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
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Thu Apr 29, 2010 10:12 am    Post subject: Reply with quote

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
View user's profile
juniper
Brekeke Member


Joined: 09 Feb 2010
Posts: 13

PostPosted: Mon May 03, 2010 2:34 am    Post subject: Reply with quote

Hello,

thank you hope, it works perfectly! Smile

Regards,
Juniper
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