[OpenSIPS-Users] fifo t_uac_dlg syntax
Ralf Neumann
ralf_neumann_hgw at web.de
Fri Aug 21 08:59:20 CEST 2015
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]
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]
>
>
_______________________________________________
Users mailing list
Users at lists.opensips.org[Users at lists.opensips.org]
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_______________________________________________ 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