[sr-dev] presence/mwi error
Juha Heinanen writes: > Sep 16 21:43:09 lohi /usr/bin/pres-serv[29250]: INFO: presence > [publish.c:305]: handle_publish(): * event name/content_type/type > 'message-summary'/'application/simple-message-summary'/2 > > Otherwise OK, but type does not match event name: Type 2 means PUBL_TYPE which is OK. event_parser gets it right: Sep 16 22:20:06 lohi /usr/bin/pres-serv[31096]: INFO: [parser/parse_event.c:115]: event_parser(): * event type of 'message-summary' is 6 Still have not figured out why xml document parsing. -- Juha ___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
[sr-dev] presence/mwi error
Juha Heinanen writes: > I don't remember making any changes to the pua_publish request since > 4.5, where it works. Typo: 4.5 -> 4.4. -- Juha ___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
[sr-dev] presence/mwi error
Using latest master, I'm getting error Sep 16 20:16:36 lohi /usr/bin/pres-serv[1744]: ERROR: presence [presentity.c:319]: parse_dialog_state_from_body(): failed to parse xml document 'Messages-Waiting: no#015#012Message-Account: sip:j...@vm.test.tutpro.com#015#012Voice-Message: 0/0 (0/0)#015#012' This happens when I rpc_execute 'pua_publish' request. Event package parameter in the request is 'message-summary' and content type is 'application/simple-message-summary'. Body is shown in the above error message (I added printing of it). Since body of message-summary is not xml, why is k presence module trying to parse it as such? I don't remember making any changes to the pua_publish request since 4.5, where it works. -- Juha ___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev