Skip to content

Instantly share code, notes, and snippets.

@crienzo
Created November 12, 2013 20:34
Show Gist options
  • Save crienzo/7438177 to your computer and use it in GitHub Desktop.
Save crienzo/7438177 to your computer and use it in GitHub Desktop.
freeswitch@sipivr> rayo cmd 192.168.0.68 <dial xmlns="urn:xmpp:rayo:1" from="1234" to="loopback/rayo_12345/public"/>
+OK
2013-11-12 15:32:16.243312 [CONSOLE] mod_rayo.c:3748
SEND: to 192.168.0.68, <iq to='192.168.0.68' type='set' id='console-18' from='[email protected]/console'><dial xmlns='urn:xmpp:rayo:1' from='1234' to='loopback/rayo_12345/public'/></iq>
2013-11-12 15:32:16.243312 [INFO] mod_rayo.c:2155 [email protected]/console has control of call
2013-11-12 15:32:16.243312 [NOTICE] switch_channel.c:1052 New Channel loopback/rayo_12345/public-a [89d5b54a-4bd9-11e3-bf84-1ba4c1bfa32b]
freeswitch@sipivr> 2013-11-12 15:32:16.243312 [NOTICE] switch_channel.c:1050 Rename Channel loopback/rayo_12345/public-a->loopback/rayo_12345-a [89d5b54a-4bd9-11e3-bf84-1ba4c1bfa32b]
2013-11-12 15:32:16.243312 [NOTICE] switch_channel.c:1052 New Channel loopback/rayo_12345-b [89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b]
2013-11-12 15:32:16.243312 [CONSOLE] mod_rayo.c:3692
RECV: from [email protected], <iq from='192.168.0.68' to='[email protected]/console' id='console-18' type='result'><ref xmlns='urn:xmpp:rayo:1' uri='xmpp:[email protected]'/></iq>
2013-11-12 15:32:16.243312 [INFO] mod_dialplan_xml.c:558 Processing 1234 <1234>->rayo_12345 in context public
2013-11-12 15:32:16.243312 [CONSOLE] mod_rayo.c:3692
RECV: from [email protected], <presence from='[email protected]' to='[email protected]/console'><offer xmlns='urn:xmpp:rayo:1' from='1234' to='rayo_12345'/></presence>
freeswitch@sipivr> rayo answer [email protected]
+OK
2013-11-12 15:32:37.982552 [CONSOLE] mod_rayo.c:3748
SEND: to [email protected], <iq to='[email protected]' type='set' id='console-19' from='[email protected]/console'><answer xmlns='urn:xmpp:rayo:1'/></iq>
freeswitch@sipivr> 2013-11-12 15:32:37.982552 [INFO] mod_rayo.c:1380 [email protected]/console has control of call
2013-11-12 15:32:37.982552 [NOTICE] mod_loopback.c:940 Channel [loopback/rayo_12345-a] has been answered
2013-11-12 15:32:37.982552 [NOTICE] mod_rayo.c:1694 Channel [loopback/rayo_12345-b] has been answered
2013-11-12 15:32:37.982552 [CONSOLE] mod_rayo.c:3692
RECV: from [email protected], <presence from='[email protected]' to='[email protected]/console'><answered xmlns='urn:xmpp:rayo:1'/></presence>
2013-11-12 15:32:37.982552 [CONSOLE] mod_rayo.c:3692
RECV: from [email protected], <presence from='[email protected]' to='[email protected]/console'><answered xmlns='urn:xmpp:rayo:1'/></presence>
2013-11-12 15:32:37.982552 [CONSOLE] mod_rayo.c:3692
RECV: from [email protected], <iq from='[email protected]' to='[email protected]/console' type='result' id='console-19'/>
2013-11-12 15:32:37.982552 [INFO] switch_channel.c:3028 loopback/rayo_12345-a Flipping CID from "1234" <1234> to "Outbound Call" <public>
freeswitch@sipivr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment