[OpenSIPS-Users] No reply when sending pua_publish through mi_datagram

vallimamod abdullah vallimamod.abdullah at imtelecom.fr
Thu Sep 16 20:07:14 CEST 2010


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
.




More information about the Users mailing list