[Freeswitch-users] mod_event_socket

Valter Nogueira valter at fastway.com.br
Tue Mar 29 23:30:23 MSD 2016


I am using outbound socket in dailplan as in
https://wiki.freeswitch.org/wiki/Event_socket_outbound#Examples

After issuing a connect\n\n, I have tried getvar.

getvar only returns value if I give a defined variable such

getvar sip_contact_host\n\n

which returns

Content-Type: command/reply
Reply-Text: 192.168.2.82


If I try to set a variable:

sendmsg
call-command: set
execute-app-name: foo=bar


getvar foo

returns

Content-Type: command/reply
Reply-Text: -ERR command not found


Thank you,

Valter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160329/67fa97a5/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list