Author |
Message |
yoyona Brekeke Newbie
Joined: 30 Jan 2008 Posts: 3
|
Posted: Wed Jan 30, 2008 5:55 am Post subject: problem with SUBSCRIBE dial plan configuration |
|
|
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 |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 494
|
Posted: Wed Jan 30, 2008 12:42 pm Post subject: |
|
|
let me check UNSUBSCRIBE messages and your DialPlan. |
|
Back to top |
|
yoyona Brekeke Newbie
Joined: 30 Jan 2008 Posts: 3
|
Posted: Thu Jan 31, 2008 1:27 am Post subject: |
|
|
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 |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 494
|
Posted: Thu Jan 31, 2008 11:24 am Post subject: |
|
|
Hi Yoav,
Where is the UNSUBSCRIBE message routed to?
Can I see an UNSUBSCRIBE message? |
|
Back to top |
|
yoyona Brekeke Newbie
Joined: 30 Jan 2008 Posts: 3
|
Posted: Thu Jan 31, 2008 12:15 pm Post subject: |
|
|
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 |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 494
|
Posted: Wed Feb 06, 2008 12:03 pm Post subject: |
|
|
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 |
|
|