Intercall - Dialplan Rules

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
rokkamraja
Posts: 5
Joined: Sun Oct 17, 2010 10:49 pm

Intercall - Dialplan Rules

Post by rokkamraja »

1. Brekeke Product Name and version:Brekeke SIP Server , Version 2.4.7.3 Evaluation

2. Java version: Latest

3. OS type and the version:Windows XP SP2

4. UA (phone), gateway or other hardware/software involved: Softphone using PJSIP and Intercall as service provider

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

6. Your problem:

1.) I have setup the evaluation version on my machine which has a global Public IP address.
2.) Using a softphone client from another machine in LAN with internal IP address, I am trying to call Intercall's conference number.
3.) I have setup the dialplan as follows:
Matching Pattern
$request=^INVITE
To=sip:admin@
$registered=false

Deploy Pattern
To=+18662087191@4.53.6.89
$auth=false

I make a call to admin@<public ip address> but I am not able to connect to the conference.

Let me know what could be the problem?
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

> I am not able to connect to the conference.

Is it one-way-audio problem?
Do you get an error response from Intercall?



If you use a softphone with a global IP address instead of internal address, does the same problem happen?
rokkamraja
Posts: 5
Joined: Sun Oct 17, 2010 10:49 pm

Post by rokkamraja »

I dont see the Brekeke Sip server routing my call.

The softphone has in internal address only.

The dialplan is as mentioned in the post.

I even tried $continue="true" in deploy patterns. Please let me know if there are is anything that I am missing in my dialplan ?
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

is your softphone registered at brekeke?
capture the packets at brekeke side to check if the call is sent to intercall and response code.
http://wiki.brekeke.com/wiki/Capture-Packets-Wireshark
rokkamraja
Posts: 5
Joined: Sun Oct 17, 2010 10:49 pm

Post by rokkamraja »

Hi,

We have downloaded the evaluation version of Brekeke Server and set it up on a machine which has a public IP Address.

Yes, I have registered my softphone client with the Server. I already did try using the Wireshark and found I see that I get 404 errors on Subscribe Request.

I have setup my dialplans as follows:

RULE-1

Matching Patterns:
$request=^SUBSCRIBE
From=sip:admin@
To=sip:admin@
$addr=<Lan IP address of softphone>

Deploy Patterns:
$auth=false
$continue=true
------------------------------

RULE-2

Matching Patterns:
$request=^SUBSCRIBE
To=sip:admin@

Deploy Patterns:
To=sip:18662087191@4.53.6.89

-------------------------------

RULE-3

Matching Patterns:
$request=^INVITE
From=sip:admin@
To=sip:admin@
$addr=192\.168\.6\.144$

Deploy Patterns:
$auth=false
$continue=true

-------------------------------

RULE-4

Matching Patterns:
$request=^INVITE
To=sip:admin@

Deploy Patterns:
To=sip:18662087191@4.53.6.89


But none, of them seem to solve the problem.


THE Call is not being sent to the intercall.
rokkamraja
Posts: 5
Joined: Sun Oct 17, 2010 10:49 pm

Post by rokkamraja »

I have changed the setup slightly.

Now, I am set the softphone SIP address as:

sip:admin@<public IP> of SIP server and To as the Intercall SIP address.

So the Dial plan is:

Matching Patterns:
$request=^INVITE
From=sip:admin@
Max-Forwards=5

Deploy Patterns:
$auth=false
$continue=true
To=sip:18662087191@4.53.6.89


Now, I get the log as ERROR 483: Too Many Hops. I increased the Max-Forwards to 1000 but that doesnt seem to have any effect as the Max-Forwards number remains at 70.

Let me know what could be the problem ? and what needs to be changed/added ?


Thanks!
rokkamraja
Posts: 5
Joined: Sun Oct 17, 2010 10:49 pm

Post by rokkamraja »

I even tried another configuration:

1.) From address is sip:admin@192.168.6.144 and
I make a call to sip:admin@<public ip address>

2.) The Dial Plan is as follows:
$request=^INVITE
To=sip:admin@
Max-Forwards=5

Deploy Patterns:
$auth=false
$continue=true
To=sip:18662087191@4.53.6.89


I get a 404 error for the above configuration.
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

SUBSCRIBE is not related with the Intercall's problem.
It means.. you don't have to care about SUBSCRIBE.

You don't need "$continue=true " in the above DialPlan rule.

Are you sure that the Intercall can accept a SIP INVITE at 4.53.6.89 ??


>> I get a 404 error for the above configuration.

Who returns 404??

I recommend that you get an advice from Brekeke's support team..
Post Reply