Re: [reSIProcate-users] Does the reSIProcate support BroadSoft "Remote Control Talk Event Package" ?
Took a quick look at the broadsoft doc (
http://track.sipfoundry.org/secure/attachment/17372/BW-SIPAccessSideExtensionsInterfaceSpec-R1301.pdf) - this "talk" event package is not really implemented following all the rules in RFC3265 - there is no explicit subscribe request, and the notifies are unsolicited within the INIVTE dialog. You would need to modify DUM in order to support this.
Scott
On Tue, Nov 23, 2010 at 11:53 AM, Kennard White
<kennard_white@xxxxxxxxxxxx> wrote:
Hi Karlsson,
I'm not that familiar with the dum layer, so hopefully someone else can confirm or correct this. As far as I know, the "custom" event handlers apply to explicit SUBSCRIBE dialogs. Based upon looking at Dialog.cxx, the only NOTIFY event handled within INVITE dialogs is "refer".
What to have happen when the stack(dum) gets one of these NOTIFY events? Is there an RFC (or equiv) that specifies these event messages?
Regards,
Kennard
Hi all, when I run my APP with a SIP server which is support BroadSoft "Remote Control Talk Event Package" , the reSIProcate rejected the NOTIFY message automatically.
the flow is:
1. My APP received the INVITE from server
2. My APP send the 180 RINGRING message to server with a header: ALLOW-EVENTS:hold, talk
3. Server send a NOTIFY message to My APP, this NOTIFY included a header: Event:talk
Now the problem is reSIProcate rejected this NOTIFY automatically by 406, how to let the resiprocate accept this NOTIFY?
I have added the hander:
static const Data customEvent("talk");
mDum.addClientSubscriptionHandler(customEvent, this);
mDum.addServerSubscriptionHandler(customEvent, this);
Here is the log:
NOTIFY sip:61208@xxxxxxxx:5162;rinstance=bb656e5ff7cad056 SIP/2.0
Via: SIP/2.0/UDP 10.X.X.X:5060;branch=z9hG4bK69DC2814-092E-42E0-967B-2436EC73519E-10811228
Max-Forwards: 69
Contact: <sip:2626791809@xxxxxxxx:5060>
To: "TEST"<sip:61208@xxxxxxxx>;tag=3476a309
From: "TEST" <sip:2626791809@xxxxxxxx>;tag=82AF9975-A094-4515-819B-D4842310020B-4254516
Call-ID: 87E28076-A61F-4999-9F8D-C698014B556A-2693776@xxxxxxxx
CSeq: 2 NOTIFY
Subscription-State: active
Event: talk
Content-Length: 0
INFO | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogUsageManager.cxx:1335 | Got: SipReq: NOTIFY 61208@xxxxxxxx:5162 tid=69DC2814-092E-42E0-967B-2436EC73519E-10811228 cseq=NOTIFY contact=2626791809@xxxxxxxx:5060 / 2 from(wire)
DEBUG | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogUsageManager.cxx:1653 | DialogUsageManager::processRequest: SipReq: NOTIFY 61208@xxxxxxxx:5162 tid=69DC2814-092E-42E0-967B-2436EC73519E-10811228 cseq=NOTIFY contact=2626791809@xxxxxxxx:5060 / 2 from(wire)
STACK | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogUsageManager.cxx:1959 | Looking for dialogSet: 87E28076-A61F-4999-9F8D-C698014B556A-2693776@xxxxxxxxxxxxxxxxx in map:
STACK | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogUsageManager.cxx:1960 | [87E28076-A61F-4999-9F8D-C698014B556A-2693776@xxxxxxxxxxxxxxxxx -> 0DA91A10, MDkxMTEyYTJhZDMyYzk2ZGM4NjhmMmJjODJhY2M0Yjg.-f3505015 -> 0DA8E730]
INFO | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogUsageManager.cxx:1713 | Handling in-dialog request: SipReq: NOTIFY 61208@xxxxxxxx:5162 tid=69DC2814-092E-42E0-967B-2436EC73519E-10811228 cseq=NOTIFY contact=2626791809@xxxxxxxx:5060 / 2 from(wire)
DEBUG | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogId.cxx:50 | DialogId::DialogId: 87E28076-A61F-4999-9F8D-C698014B556A-2693776@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DEBUG | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogSet.cxx:530 | Found matching dialog mClientSubscriptions(0), mServerSubscriptions(0) for
NOTIFY sip:61208@xxxxxxxx:5162;rinstance=bb656e5ff7cad056 SIP/2.0
Via: SIP/2.0/UDP 10.X.X.X:5060;branch=z9hG4bK69DC2814-092E-42E0-967B-2436EC73519E-10811228
Max-Forwards: 69
Contact: <sip:2626791809@xxxxxxxx:5060>
To: "TEST"<sip:61208@xxxxxxxx>;tag=3476a309
From: "TEST"<sip:2626791809@xxxxxxxx>;tag=82AF9975-A094-4515-819B-D4842310020B-4254516
Call-ID: 87E28076-A61F-4999-9F8D-C698014B556A-2693776@xxxxxxxx
CSeq: 2 NOTIFY
Subscription-State: active
Event: talk
Content-Length: 0
DEBUG | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | Dialog.cxx:370 | Dialog::dispatch: SipReq: NOTIFY 61208@xxxxxxxx:5162 tid=69DC2814-092E-42E0-967B-2436EC73519E-10811228 cseq=NOTIFY contact=2626791809@xxxxxxxx:5060 / 2 from(wire)
DEBUG | 20101122-161420.608 | My APP | RESIP | 6868 | Helper.cxx:375 | Helper::makeResponse(SipReq: NOTIFY 61208@xxxxxxxx:5162 tid=69DC2814-092E-42E0-967B-2436EC73519E-10811228 cseq=NOTIFY contact=2626791809@xxxxxxxx:5060 / 2 from(wire) code=406 reason=
DEBUG | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | Dialog.cxx:1076 | Dialog::makeResponse:
SIP/2.0 406 Not Acceptable
Via: SIP/2.0/UDP 10.X.X.X:5060;branch=z9hG4bK69DC2814-092E-42E0-967B-2436EC73519E-10811228
To: "TEST"<sip:61208@xxxxxxxx>;tag=3476a309
From: "TEST"<sip:2626791809@xxxxxxxx>;tag=82AF9975-A094-4515-819B-D4842310020B-4254516
Call-ID: 87E28076-A61F-4999-9F8D-C698014B556A-2693776@xxxxxxxx
CSeq: 2 NOTIFY
Content-Length: 0
STACK | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogUsageManager.cxx:1959 | Looking for dialogSet: 87E28076-A61F-4999-9F8D-C698014B556A-2693776@xxxxxxxxxxxxxxxxx in map:
STACK | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogUsageManager.cxx:1960 | [87E28076-A61F-4999-9F8D-C698014B556A-2693776@xxxxxxxxxxxxxxxxx -> 0DA91A10, MDkxMTEyYTJhZDMyYzk2ZGM4NjhmMmJjODJhY2M0Yjg.-f3505015 -> 0DA8E730]
DEBUG | 20101122-161420.608 | My APP | RESIP:DUM | 6868 | DialogUsageManager.cxx:867 | SEND:
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/