From hunterj91@hotmail.com Wed Nov 16 13:06:36 2016 From: Jonathan Hunter To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Date: Wed, 16 Nov 2016 12:06:27 +0000 Message-ID: In-Reply-To: <7e0ddd39-7db0-607f-6180-c9e07453ff84@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0695743922==" --===============0695743922== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Daniel, Sorry to bother you again, last time! So the mi command line is; kamctl mi t_uac_dlg INFO sip:3003(a)193.144.1.112 . . \"From:sip:1234(a)8.8.= 8.8"\r\nTo:sip:3003(a)193.144.1.112\r\nContact:sip:daemon(a)8.8.8.8\r\n\"" Which works fine, however I add to exec module and it doesnt like the syntax; exec_avp("kamctl mi t_uac_dlg INFO sip:3003(a)193.144.1.112 . . \"From:sip:1= 234(a)8.8.8.8"\r\nTo:sip:3003(a)193.144.1.112\r\nContact:sip:daemon(a)8.8.8.8= \r\n\""", "$avp(test)"); I presume its due to the \" and \r\n characters. What should I modify them or surround them with to please the exec command, a= s I can see in documentation for variables its '' quotes, but not sure around= characters. Thanks Jon ________________________________ From: Daniel-Constantin Mierla Sent: 16 November 2016 09:45 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)= =3D"INFO" Hello, as I can see in the logs, the rpc command fails to execute because it require= s async processing which is not implemented by jsonrpc-s module. Then it is a= n INVITE received: ct 7 13:45:36 POC_ProxyA /usr/sbin/kamailio[6572]: INFO: