Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Intercall - Dialplan Rules
Author Message
rokkamraja
Brekeke Junior Member


Joined: 17 Oct 2010
Posts: 5

PostPosted: Sun Oct 17, 2010 11:04 pm    Post subject: Intercall - Dialplan Rules Reply with quote

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/networkpatterns.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 Patterns
$request = ^INVITE
To = sip:admin@
$registered = false
Deploy Patterns
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?
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Mon Oct 18, 2010 11:03 am    Post subject: Reply with quote

> 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?
Back to top
View user's profile
rokkamraja
Brekeke Junior Member


Joined: 17 Oct 2010
Posts: 5

PostPosted: Tue Oct 19, 2010 6:00 am    Post subject: Reply with quote

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


Joined: 15 Jan 2008
Posts: 862

PostPosted: Tue Oct 19, 2010 10:40 am    Post subject: Reply with quote

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
Back to top
View user's profile
rokkamraja
Brekeke Junior Member


Joined: 17 Oct 2010
Posts: 5

PostPosted: Wed Oct 20, 2010 4:22 am    Post subject: Reply with quote

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.
Back to top
View user's profile
rokkamraja
Brekeke Junior Member


Joined: 17 Oct 2010
Posts: 5

PostPosted: Wed Oct 20, 2010 5:09 am    Post subject: Reply with quote

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!
Back to top
View user's profile
rokkamraja
Brekeke Junior Member


Joined: 17 Oct 2010
Posts: 5

PostPosted: Wed Oct 20, 2010 5:43 am    Post subject: Reply with quote

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.
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Wed Oct 20, 2010 2:38 pm    Post subject: Reply with quote

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..
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