Forums Read-only archive

dial plan from pbxnsip server

6 posts · Brekeke SIP Server Forum

jst9943 Original post
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/ ... terns.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 pattern

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

deploy pattern

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.
hope
Does the dialplan miss something?

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

deploy pattern

To= sip:3%1@
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
jst9943
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.
lakeview
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?
jst9943
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.
lakeview
>> gets a 407 error.

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

Use "$auth=off" in the DialPlan.
----------------------------------
[Matching Pattern]
$request = ^INVITE
$addr = 146\.82\.219\.20

[Deploy Pattern]
$auth = off
$continue = true
----------------------------------