Skip to content

Instantly share code, notes, and snippets.

@jasoncale
Created August 4, 2011 14:59
Show Gist options
  • Save jasoncale/1125361 to your computer and use it in GitHub Desktop.
Save jasoncale/1125361 to your computer and use it in GitHub Desktop.
The stanzas sent/received when attempting to join two calls
<presence from="76a6f215-5023-47c5-a98d-d1ce75b66b55@127.0.0.1" to="usera@127.0.0.1/voxeo">
<offer xmlns="urn:xmpp:rayo:1" to="sip:jase@127.0.0.1" from="sip:userb@127.0.0.1">
<header name="Min-SE" value="90"/>
<header name="Content-Length" value="456"/>
<header name="Supported" value="replaces"/>
<header name="To" value="&lt;sip:jase@127.0.0.1&gt;"/>
<header name="Contact" value="&quot;Local user&quot; &lt;sip:userb@10.35.166.3:64220;ob&gt;"/>
<header name="User-Agent" value="Telephone 1.0.2"/>
<header name="Session-Expires" value="1800"/>
<header name="Max-Forwards" value="70"/>
<header name="Allow" value="PRACK"/>
<header name="CSeq" value="8428 INVITE"/>
<header name="Via" value="SIP/2.0/UDP 10.35.166.3:64220;rport=64220;branch=z9hG4bKPjOMECcJe.CgoK20MZ-3PXGRk4J3VXxMjV;received=127.0.0.1"/>
<header name="Call-ID" value="G8dKNmWUZXGJwKlKo0eUtBzRnA0YLtQZ"/>
<header name="Content-Type" value="application/sdp"/>
<header name="From" value="&quot;Local user&quot; &lt;sip:userb@127.0.0.1&gt;;tag=At4NZEjOYJt.oqq00NVXy0dBqy9C-MUv"/>
</offer>
</presence>
<iq type="set" to="76a6f215-5023-47c5-a98d-d1ce75b66b55@127.0.0.1" id="blather0008" from="usera@127.0.0.1/voxeo">
<answer xmlns="urn:xmpp:rayo:1"/>
</iq>
<iq type="result" id="blather0008" from="76a6f215-5023-47c5-a98d-d1ce75b66b55@127.0.0.1" to="usera@127.0.0.1/voxeo"/>
<iq type="set" to="76a6f215-5023-47c5-a98d-d1ce75b66b55@127.0.0.1" id="blather000a" from="usera@127.0.0.1/voxeo">
<say xmlns="urn:xmpp:tropo:say:1">please wait</say>
</iq>
<iq type="result" id="blather000a" from="76a6f215-5023-47c5-a98d-d1ce75b66b55@127.0.0.1" to="usera@127.0.0.1/voxeo">
<ref xmlns="urn:xmpp:rayo:1" id="d6ef804b-e2e6-4458-820e-f386b986bf3c"/>
</iq>
<presence from="76a6f215-5023-47c5-a98d-d1ce75b66b55@127.0.0.1/d6ef804b-e2e6-4458-820e-f386b986bf3c" to="usera@127.0.0.1/voxeo">
<complete xmlns="urn:xmpp:rayo:ext:1">
<success xmlns="urn:xmpp:tropo:say:complete:1"/>
</complete>
</presence>
<iq type="set" to="127.0.0.1" id="blather000c" from="usera@127.0.0.1/voxeo">
<dial xmlns="urn:xmpp:rayo:1" to="sip:jase@example.com" from="sip:jase@127.0.0.1"/>
</iq>
<iq type="result" id="blather000c" from="127.0.0.1" to="usera@127.0.0.1/voxeo">
<ref xmlns="urn:xmpp:rayo:1" id="d724f079-e404-4b23-aeae-df4ca67b9e62"/>
</iq>
<presence from="d724f079-e404-4b23-aeae-df4ca67b9e62@127.0.0.1" to="usera@127.0.0.1/voxeo">
<ringing xmlns="urn:xmpp:rayo:1"/>
</presence>
<presence from="d724f079-e404-4b23-aeae-df4ca67b9e62@127.0.0.1" to="usera@127.0.0.1/voxeo">
<answered xmlns="urn:xmpp:rayo:1"/>
</presence>
<iq type="set" to="76a6f215-5023-47c5-a98d-d1ce75b66b55@127.0.0.1" id="blather000e" from="usera@127.0.0.1/voxeo">
<join xmlns="urn:xmpp:rayo:1" direction="duplex" media="direct" call-id="d724f079-e404-4b23-aeae-df4ca67b9e62"/>
</iq>
<iq type="error" id="blather000e" to="usera@127.0.0.1/voxeo" from="76a6f215-5023-47c5-a98d-d1ce75b66b55@127.0.0.1">
<join xmlns="urn:xmpp:rayo:1" direction="duplex" media="direct" call-id="d724f079-e404-4b23-aeae-df4ca67b9e62"/>
<error type="cancel"><internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" lang="en">java.lang.IllegalStateException: other operation in process.</text></error></iq>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment