[Kamailio-Users] t_uac_dlg syntax

Daniel-Constantin Mierla miconda at gmail.com
Fri Mar 6 14:56:31 CET 2009


Hello,

put the headers in between quotes. Also the headers need to be 
terminated by 'r'n to be sure they are accepted by any sip device.

You can look at ctd.sh script for exampled directory, it is for mi_fifo 
but gives some hints.

Cheers,
Daniel


On 03/06/2009 01:56 PM, kévin l'heveder wrote:
> Hi,
>
> Each time I try to use t_uac_dlg from a management script using 
> MI_DATAGRAM (Kamailio v1.4), Kamailio answers "bad headers".
>
> I didn't find out some working examples, so i hope someone could help me.
>
> Here's what I send on my UDP socket:
>
> ":t_uac_dlg:\nCANCEL\nsip:154 at 192.168.10.250 
> <mailto:nsip%3A154 at 192.168.10.250>\n.\n.\nFrom: sip:655 at 192.168.10.250 
> <mailto:sip%3A655 at 192.168.10.250>\nTo: sip:154 at 192.168.10.250 
> <mailto:sip%3A154 at 192.168.10.250>\n"
>
> ( \n.\n. : because i don't specify next hop and the socket ; also i 
> don't specify body)
>
> If someone could correct me or give me a working example, that would 
> be very nice.
>
>
> Thanks,
> Koon  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the Users mailing list