< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Thank you Scott, but in my code I have been added below long ago:mMasterProfile->addSupportedMethod(INVITE);mMasterProfile->addSupportedMethod(ACK);mMasterProfile->addSupportedMethod(CANCEL);mMasterProfile->addSupportedMethod(OPTIONS);mMasterProfile->addSupportedMethod(BYE);mMasterProfile->addSupportedMethod(REFER);mMasterProfile->addSupportedMethod(NOTIFY);mMasterProfile->addSupportedMethod(MESSAGE);mMasterProfile->addSupportedMethod(REGISTER);mMasterProfile->addSupportedMethod(SUBSCRIBE);mMasterProfile->addSupportedMethod(INFO);mMasterProfile->addSupportedMimeType(NOTIFY, Mime("message", "sipfrag"));mMasterProfile->addSupportedMimeType(NOTIFY, Mime("application", "simple-message-summary"));mMasterProfile->addSupportedMimeType(NOTIFY, Pidf::getStaticType());On Thu, May 27, 2010 at 11:24 PM, maodong hu <hhmmdd@xxxxxxx> wrote:
I think you may need add mProfile->addSupportedMethod(NOTIFY);and if you have content in NOTIFY also need add likemProfile->addSupportedMimeType(NOTIFY, Mime("message", "sipfrag"));2010/5/27 Karlsson <boost.regex@xxxxxxxxx>_______________________________________________Hi all, as below log, which callback will be fired once a in-dialog NOTIFY message arrived ?Note: I just has the log, can't test with this server.ThanksINVITE sip:1128@xxxxxxxxxxxxxx:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP 110.15.7.138:5060;branch=z9hG4bK67de75d73a794eaVia: SIP/2.0/UDP 192.168.20.108:5060;branch=z9hG4bKb50526655From: <sip:1108@xxxxxxxxxxxxxx:5060>;tag=de5da391aa20c54CSeq: 728354 INVITEContact: <sip:1108@xxxxxxxxxxxx:5060>Allow: INVITE, ACK, CANCEL, BYE, REFER, NOTIFY, INFO, OPTIONS, SUBSCRIBEMax-Forwards: 70Privacy: noneP-Asserted-Identity: <sip:1108@xxxxxxxxxxxxxx:5060>User-Agent: Hexus of UNICN Inc. v2.11.1005.131Content-Type: application/sdpContent-Length: 250v=0o=DNVoIP 743215 743215 IN IP4 110.15.7.138s=Hexus Media Sessionc=IN IP4 110.15.7.138t=0 0m=audio 45972 RTP/AVP 0 8 18 101a=rtpmap:0 PCMU/8000a=rtpmap:8 PCMA/8000a=rtpmap:18 G729/8000a=rtpmap:101 telephone-event/8000a=ptime:20SIP/2.0 180 RingingVia: SIP/2.0/UDP 110.15.7.138:5060;branch=z9hG4bK67de75d73a794eaVia: SIP/2.0/UDP 192.168.20.108:5060;branch=z9hG4bKb50526655Contact: <sip:1128@xxxxxxxxxxxxxx:5060;transport=udp>To: <sip:1128@xxxxxxxxxxxxxx:5060>;tag=b1376a45From: <sip:1108@xxxxxxxxxxxxxx:5060>;tag=de5da391aa20c54CSeq: 728354 INVITEUser-Agent: UNICN SoftPhone.Unicn 2.11.1005.251Content-Length: 0NOTIFY sip:1128@xxxxxxxxxxxxxx:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP 110.15.7.138:5060;branch=z9hG4bK954b476656194a0From: <sip:1108@xxxxxxxxxxxxxx:5060>;tag=de5da391aa20c54To: <sip:1128@xxxxxxxxxxxxxx:5060>;tag=b1376a45CSeq: 728364 NOTIFYContact: <sip:1108@xxxxxxxxxxxx:5060>Event: talkMax-Forwards: 70Privacy: noneP-Asserted-Identity: <sip:1108@xxxxxxxxxxxxxx:5060>User-Agent: Hexus of UNICN Inc. v2.11.1005.131Content-Length: 0SIP/2.0 406 Not AcceptableVia: SIP/2.0/UDP 110.15.7.138:5060;branch=z9hG4bK954b476656194a0To: <sip:1128@xxxxxxxxxxxxxx:5060>;tag=b1376a45From: <sip:1108@xxxxxxxxxxxxxx:5060>;tag=de5da391aa20c54CSeq: 728364 NOTIFYUser-Agent: UNICN SoftPhone.Unicn 2.11.1005.251Content-Length: 0
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/
--
Best Regards
Maodong Hu