Hi, I'm using OpenSIPs (1.5.1) as presence server along with MWI feature For generating message-summary through NOTIFY message.
When, I send only one line in message-summary as part of publish message then the flow works fine (PUBLISH->200->NOTIFY->200). However, when message-summary contains three lines it gives 500 Error (PUBLISH->500) and does not generate NOTIFY message: REQUEST: ========= PUBLISH sip:[email protected]:6060 SIP/2.0 Max-Forwards: 70 Call-ID: [email protected] From: Sipper <sip:[email protected]:5065>;tag=2 Via: SIP/2.0/UDP 10.32.4.54:5065;branch=z9hG4bK-1-0-1-8026928 To: Sut <sip:[email protected]:6060> Supported: 100rel, path Contact: <sip:10.32.4.54:5065;transport=UDP> P-Sipper-Session: #<UdpSession:0x4058990> Expires: 36000 Content-Length: 104 Content-Type: application/simple-message-summary Event: message-summary Cseq: 1 PUBLISH Messages-Waiting: no Voice-Message: 4/8 (1/2) Message-Account: sip:[email protected] RESPONSE: ========= SIP/2.0 500 Server Internal Error Via: SIP/2.0/UDP 10.32.4.54:5065;branch=z9hG4bK-1-0-1-8026928 From: Sipper <sip:[email protected]:5065>;tag=2 Call-ID: [email protected] To: Sut <sip:[email protected]:6060>;tag=637010d79c135c687e33c62a196ba449-3fb4 Server: OpenSIPS (1.5.1-notls (i386/linux)) Content-Length: 0 Cseq: 1 PUBLISH In this case, opensips log shows the following error: ============== Jul 9 01:02:31 [11573] ERROR:presence_mwi:mwi_publ_handl: check of body <Messages-Waiting: no Voice-Message: 4/8 (1/2) Message-Account: sip:[email protected]^m > failed at character number 21 Jul 9 01:02:31 [11573] ERROR:presence:handle_publish: in event specific publish handling ============== Seems line it is looking for some special character after first line in message summary content. Pls help....if there is patch or workaround available for this issue. Thanx, Anurag _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
