[OpenSIPS-Users] No reply when sending pua_publish through mi_datagram
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Sep 21 12:34:10 CEST 2010
Hi,
Could you try the attached patch?
Regards,
Bogdan
vallimamod abdullah wrote:
> Hello list,
>
> I am using the mi_datagram module to send MI commands through UDP socket and I have noticed that when I send ':pua_publish:' command, the publish is received and treated correctly by Opensips but I get no reply for the MI server. I have checked with other commands like ':get_statistics:', it works ok. On the logs, here is what I see for the answer:
>
> [2010-09-16 19:46:55] debug - /usr/sbin/opensips[4698]: DBG:mi_datagram:mi_datagram_write_node: writing the name <> and value <200 OK>.
> [2010-09-16 19:46:55] debug - /usr/sbin/opensips[4698]: DBG:mi_datagram:mi_datagram_write_node: writing the name <ETag> and value <a.1284562316.4696.298.327>.
> [2010-09-16 19:46:55] debug - /usr/sbin/opensips[4698]: DBG:mi_datagram:mi_datagram_write_node: writing the name <Expires> and value <590>.
> [2010-09-16 19:46:55] debug - /usr/sbin/opensips[4698]: DBG:mi_datagram:datagram_close_async: the response is 200 OK 200 OK ETag:: a.1284562316.4696.298.327 Expires:: 590
> [2010-09-16 19:46:55] debug - /usr/sbin/opensips[4698]: DBG:mi_datagram:mi_send_dgram: response is 200 OK 200 OK ETag:: a.1284562316.4696.298.327 Expires:: 590 tolen is 16 and len is 61
> [2010-09-16 19:46:55] debug - /usr/sbin/opensips[4698]: DBG:mi_datagram:datagram_close_async: the response: 200 OK 200 OK ETag:: a.1284562316.4696.298.327 Expires:: 590 has been sent in 61 octets
>
> Is it normal to have "200 OK" twice ?
>
> My initial command is:
>
> :pua_publish:
> "sip:*62#33000009700 at sipb02.mydomain.com"
> 3600
> dialog
> application/pidf+xml
> .
> .
> <?xml version='1.0'?><dialog-info xmlns='urn:ietf:params:xml:ns:dialog-info' version='1' state='full' entity='sip:*62#33000009700 at sipb02.mydomain.com'><dialog id='1284659215 at 192.168.5.121' direction='recipient'><state>confirmed</state></dialog></dialog-info>
>
> I am using opensips 1.6.3 svn r7206.
>
> Thank you !
>
> Regards,
> -vma
> .
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mi_datagram.patch
Type: text/x-diff
Size: 2783 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/users/attachments/20100921/8e877e09/attachment.patch
More information about the Users
mailing list