Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
problem with SUBSCRIBE dial plan configuration
Author Message
yoyona
Brekeke Newbie


Joined: 30 Jan 2008
Posts: 3

PostPosted: Wed Jan 30, 2008 5:55 am    Post subject: problem with SUBSCRIBE dial plan configuration Reply with quote

1. Brekeke Product Name and version: Brekeke SIP server, 2.1.1.3/232

2. Java version: 1.4.2_05

3. OS type and the version: Windows 2000 5.0

4. UA (phone), gateway or other hardware/software involved: SIP client (Bria for example), SIP application server, Presence server

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

6. Your problem:

In our configuration all SIP messages are routed from Brekeke SIP server to the application SIP server (our development). Only PUBLISH and SUBSCRIBE messages are routed to the Presence server by using the dial plan feature.
For some reason UNSUBSCRIBE messages (SUBSCRIBE with EXPIRES=0) are not routed to the Presence server.

Any idea ?

Thanks for the support,
Yoav
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 494

PostPosted: Wed Jan 30, 2008 12:42 pm    Post subject: Reply with quote

let me check UNSUBSCRIBE messages and your DialPlan.
Back to top
View user's profile
yoyona
Brekeke Newbie


Joined: 30 Jan 2008
Posts: 3

PostPosted: Thu Jan 31, 2008 1:27 am    Post subject: Reply with quote

Hi James,
The dial plan rule is as followed :
Matching pattern : $request=^SUBSCRIBE
Deploy patterns: $target=10.10.10.182

Thanks,
Yoav
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 494

PostPosted: Thu Jan 31, 2008 11:24 am    Post subject: Reply with quote

Hi Yoav,

Where is the UNSUBSCRIBE message routed to?
Can I see an UNSUBSCRIBE message?
Back to top
View user's profile
yoyona
Brekeke Newbie


Joined: 30 Jan 2008
Posts: 3

PostPosted: Thu Jan 31, 2008 12:15 pm    Post subject: Reply with quote

Hi James,
All message are routed by default to the SIP application. Only relevant Presence SIP messages (SUBSCRIBE and PUBLISH) are routed to the Presence server (via the dial plan rules).

I also noted today that also SUBSCRIBE messages (not only UNSUBSCRIBE) are "leaking" from the dial plan rule and routed by mistake to the SIP application instead of the Presence.

Thanks,
Yoav
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 494

PostPosted: Wed Feb 06, 2008 12:03 pm    Post subject: Reply with quote

Since the DialPlan effects a SIP message only which has unique Call-ID header , if your client uses a same Call-ID to INVITE and SUBSCRIBE then this SUBSCRIBE will not matched by the DialPlan.
so please use an unique Call-ID for SUBSCRIBE messages.
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