problem with SUBSCRIBE dial plan configuration

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
yoyona
Posts: 3
Joined: Wed Jan 30, 2008 3:02 am

problem with SUBSCRIBE dial plan configuration

Post by yoyona »

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/ ... terns.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
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

let me check UNSUBSCRIBE messages and your DialPlan.
yoyona
Posts: 3
Joined: Wed Jan 30, 2008 3:02 am

Post by yoyona »

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

Thanks,
Yoav
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Hi Yoav,

Where is the UNSUBSCRIBE message routed to?
Can I see an UNSUBSCRIBE message?
yoyona
Posts: 3
Joined: Wed Jan 30, 2008 3:02 am

Post by yoyona »

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
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

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