Skip to content

Instantly share code, notes, and snippets.

@crienzo
Created November 12, 2013 20:34
Show Gist options
  • Select an option

  • Save crienzo/7438177 to your computer and use it in GitHub Desktop.

Select an option

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='d9f6ca54-4bb2-11e3-bf44-1ba4c1bfa32b@192.168.0.68/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 d9f6ca54-4bb2-11e3-bf44-1ba4c1bfa32b@192.168.0.68/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 89d5a604-4bd9-11e3-bf82-1ba4c1bfa32b@192.168.0.68, <iq from='192.168.0.68' to='d9f6ca54-4bb2-11e3-bf44-1ba4c1bfa32b@192.168.0.68/console' id='console-18' type='result'><ref xmlns='urn:xmpp:rayo:1' uri='xmpp:89d5a604-4bd9-11e3-bf82-1ba4c1bfa32b@192.168.0.68'/></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 89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b@192.168.0.68, <presence from='89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b@192.168.0.68' to='d9f6ca54-4bb2-11e3-bf44-1ba4c1bfa32b@192.168.0.68/console'><offer xmlns='urn:xmpp:rayo:1' from='1234' to='rayo_12345'/></presence>
freeswitch@sipivr> rayo answer 89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b@192.168.0.68
+OK
2013-11-12 15:32:37.982552 [CONSOLE] mod_rayo.c:3748
SEND: to 89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b@192.168.0.68, <iq to='89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b@192.168.0.68' type='set' id='console-19' from='d9f6ca54-4bb2-11e3-bf44-1ba4c1bfa32b@192.168.0.68/console'><answer xmlns='urn:xmpp:rayo:1'/></iq>
freeswitch@sipivr> 2013-11-12 15:32:37.982552 [INFO] mod_rayo.c:1380 d9f6ca54-4bb2-11e3-bf44-1ba4c1bfa32b@192.168.0.68/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 89d5a604-4bd9-11e3-bf82-1ba4c1bfa32b@192.168.0.68, <presence from='89d5a604-4bd9-11e3-bf82-1ba4c1bfa32b@192.168.0.68' to='d9f6ca54-4bb2-11e3-bf44-1ba4c1bfa32b@192.168.0.68/console'><answered xmlns='urn:xmpp:rayo:1'/></presence>
2013-11-12 15:32:37.982552 [CONSOLE] mod_rayo.c:3692
RECV: from 89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b@192.168.0.68, <presence from='89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b@192.168.0.68' to='d9f6ca54-4bb2-11e3-bf44-1ba4c1bfa32b@192.168.0.68/console'><answered xmlns='urn:xmpp:rayo:1'/></presence>
2013-11-12 15:32:37.982552 [CONSOLE] mod_rayo.c:3692
RECV: from 89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b@192.168.0.68, <iq from='89d5dbe2-4bd9-11e3-bf86-1ba4c1bfa32b@192.168.0.68' to='d9f6ca54-4bb2-11e3-bf44-1ba4c1bfa32b@192.168.0.68/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