[OpenSIPS-Users] fifo t_uac_dlg syntax

Ralf Neumann ralf_neumann_hgw at web.de
Fri Aug 21 15:36:10 CEST 2015


/usr/local/opensips_proxy/sbin/opensipsctl fifo t_uac_dlg NOTIFY "sip:3003 at 193.144.1.112" . . "\"From: sip:3001 at 192.180.1.107\r\nTo: sip:3003 at 193.144.1.112\r\nContent-Type: application/simservs+xml\r\n"\" '<?xml version='\"
400 parse error in command 't_uac_dlg'


Gesendet: Freitag, 21. August 2015 um 13:59 Uhr
Von: "Bogdan-Andrei Iancu" <bogdan at opensips.org>
An: "OpenSIPS users mailling list" <users at lists.opensips.org>, ralf_neumann_hgw at web.de
Betreff: Re: [OpenSIPS-Users] fifo t_uac_dlg syntax
Hi Ralf,

Could you post the exact command (from shell) you send together with the
opensips error log please.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 21.08.2015 09:59, Ralf Neumann wrote:
> not caused by the syntax. The command accept the following syntax:
> '<?xml version='\a and send as <?xml version=a in packet
> After modification to '<?xml version='\" the result is Error 400 parse error in command 't_uac_dlg'
> It seems the character " was not accepted.
>
> Gesendet: Donnerstag, 20. August 2015 um 17:37 Uhr
> Von: "Podrigal, Aron" <aronp at guaranteedplus.com>
> An: "OpenSIPS users mailling list" <users at lists.opensips.org>
> Betreff: Re: [OpenSIPS-Users] fifo t_uac_dlg syntax
> are u sure about the syntax errors not caused by your shell?
>
> On Aug 20, 2015 11:10 AM, "Ralf_Neumann_hgw" <Ralf_Neumann_hgw at web.de> wrote:Hi Bogdan,
>
> the NOTIFY is used to switch on/off different services (warmline/hotline) on
> the SIP client.
> I get syntax errors if i use the characters like <;>;";?
>
> What is your recommendation?
>
> Ralf
>
> -----Ursprüngliche Nachricht-----
> Von: users-bounces at lists.opensips.org[users-bounces at lists.opensips.org]
> [mailto:users-bounces at lists.opensips.org[users-bounces at lists.opensips.org]] Im Auftrag von Bogdan-Andrei Iancu
> Gesendet: Donnerstag, 20. August 2015 16:45
> An: OpenSIPS users mailling list; ralf_neumann_hgw at web.de[ralf_neumann_hgw at web.de]
> Betreff: Re: [OpenSIPS-Users] fifo t_uac_dlg syntax
>
> Hi Ralf,
>
> Body can be anything. The question is what you want to use the NOTIFY for ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com[http://www.opensips-solutions.com][http://www.opensips-solutions.com[http://www.opensips-solutions.com]]
>
> On 20.08.2015 16:01, Ralf Neumann wrote:
>> The command "opensipsctl fifo t_uac_dlg ..." send the NOTIFY to the client
> as expected. I need support regarding the implementation of the body in the
> NOTIFY packet based on xml. Is here anybody with knowledge of the needed
> syntax or workaround.
>> opensipsctl fifo t_uac_dlg NOTIFY "sip:3003 at 193.144.1.112[sip%3A3003 at 193.144.1.112]" . .
>> "\"From: sip:3001 at 192.180.1.107[sip%3A3001 at 192.180.1.107]\r\nTo:
>> sip:3003 at 193.144.1.112[sip%3A3003 at 193.144.1.112]\r\nContent-Type:
>> application/simservs+xml\r\n"\" thebody
>>
>> Body of SIP NOTIFY:
>> <?xml version="1.0" encoding="UTF-8"?> <simservs> <hot-line-service>
>> </hot-line-service> </simservs>
>>
>> Thanks
>> Ralf
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org[Users at lists.opensips.org]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users[http://lists.opensips.org/cgi-bin/mailman/listinfo/users][http://lists.opensips.org/cgi-bin/mailman/listinfo/users[http://lists.opensips.org/cgi-bin/mailman/listinfo/users]]
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org[Users at lists.opensips.org]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users[http://lists.opensips.org/cgi-bin/mailman/listinfo/users]
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org[Users at lists.opensips.org]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users_______________________________________________[http://lists.opensips.org/cgi-bin/mailman/listinfo/users_______________________________________________] Users mailing list Users at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users[http://lists.opensips.org/cgi-bin/mailman/listinfo/users][http://lists.opensips.org/cgi-bin/mailman/listinfo/users[http://lists.opensips.org/cgi-bin/mailman/listinfo/users]]
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users[http://lists.opensips.org/cgi-bin/mailman/listinfo/users]


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users[http://lists.opensips.org/cgi-bin/mailman/listinfo/users]



More information about the Users mailing list