Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
dial plan from pbxnsip server
Author Message
jst9943
Brekeke Junior Member


Joined: 10 Nov 2008
Posts: 6
Location: USA

PostPosted: Mon Dec 08, 2008 3:18 pm    Post subject: dial plan from pbxnsip server Reply with quote

1. Brekeke Product Name and version: 2.2.1.6

2. Java version: version 4

3. OS type and the version: windows server 2003

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

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

6. Your problem: I would like to setup calls from ip pabx server, pbxnsip to ua in the sip server. How can I set the dial plan to call ua in the sip server. I have set the following

Matching Patterns
$request = ^invite
$registered = false
$addr = 146\.82\.219\.20

Deploy Patterns
TO = sip:3%1@

The deploy pattern is for all ua in the sipserver. Am I doing the dialplan correctly? where I want that calls from a non registered ua in the pbx to ua registered in the sipserver. Using this dial plan I get a 407 error on my call log.
Back to top
View user's profile Visit poster's website Yahoo Messenger
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Tue Dec 09, 2008 12:07 pm    Post subject: Reply with quote

Does the dialplan miss something?

Matching Patterns
$request = ^INVITE
$registered=false
$addr=146\.82\.219\.20
To=sip:(.+)@

Deploy Patterns
To = sip:3%1@

Quote:
Using this dial plan I get a 407 error on my call log.

is the Authentication Invite set ON at Sip Server?
Turn authentication off or set User Authentication
Back to top
View user's profile
jst9943
Brekeke Junior Member


Joined: 10 Nov 2008
Posts: 6
Location: USA

PostPosted: Tue Dec 09, 2008 5:52 pm    Post subject: dial plan from pbxnsip server Reply with quote

Did the changes but still did not work. What I would like to accomplished is to have a dial plan on the sip server that will accept an incoming call from another server that is not registered. In this dialplan, once the sipserver received a call from the other server it will route the call to the ua in the sip server based on the number sent by the other server.
Back to top
View user's profile Visit poster's website Yahoo Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Wed Dec 17, 2008 11:34 am    Post subject: Reply with quote

Hi jst9943,

If a UA in the SIP Server is registered, you don't have to use any DialPlan rules.
So delete the DialPlan and try to make a call from pbxnsip .

I wonder.. why do you want to use pbxnsip?
Back to top
View user's profile
jst9943
Brekeke Junior Member


Joined: 10 Nov 2008
Posts: 6
Location: USA

PostPosted: Wed Dec 17, 2008 4:30 pm    Post subject: dial plan from pbxnsip server Reply with quote

lakeview wrote:
Hi jst9943,

If a UA in the SIP Server is registered, you don't have to use any DialPlan rules.
So delete the DialPlan and try to make a call from pbxnsip .

I wonder.. why do you want to use pbxnsip?


HI, thank you for your reply. I would like to have user in pbxnsip to call user in the brekeke sip server and vise versa. Right now, I can have brekeke user call any ua that is register in pbxnsip but ua from pbxnsip to brekeke ua gets a 407 error.
Back to top
View user's profile Visit poster's website Yahoo Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Fri Dec 19, 2008 3:24 pm    Post subject: Reply with quote

>> gets a 407 error.

This is because you are using the INVITE-Authentication in Brekeke..

Use "$auth=off" in the DialPlan.
Matching Patterns
$request = ^INVITE
$addr = 146\.82\.219\.20
Deploy Patterns
$auth = off
$continue = true
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