This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command :set?, :execute?, :node => "create" do |command| | |
# Send empty form | |
r = command.reply | |
r.status = :executing | |
r.new_sessionid! | |
r.allowed_actions = [:cancel, :execute] | |
r.primary_allowed_action = :execute | |
r.form | |
r.form.type = :form | |
r.form.title = "Create Call" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<document type="freeswitch/xml"> | |
<X-PRE-PROCESS cmd="include" data="vars.xml"/> | |
<section name="configuration" description="Various Configuration"> | |
<X-PRE-PROCESS cmd="include" data="autoload_configs/*.xml"/> | |
</section> | |
<section name="dialplan" description="Regex/XML Dialplan"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aug 04 19:30:03 mod_bosh info New BOSH session, assigned it sid '28a9daac-6474-4bf7-8ce3-5d8b8cb3429b' | |
Aug 04 19:30:03 bosh28a9daac-6474-4bf7-8ce3-5d8b8cb3429b warn rid too large (means a request was lost). Last rid: 2463509890 New rid: 2463509892 | |
Aug 04 19:30:04 bosh28a9daac-6474-4bf7-8ce3-5d8b8cb3429b info Authenticated as [email protected] | |
Aug 04 19:30:05 bosh551669dc-7476-4aa6-b0cd-62aa60c6a751 info BOSH client disconnected | |
Aug 04 19:30:05 bosh551669dc-7476-4aa6-b0cd-62aa60c6a751 info Destroying session for [email protected]/null ([email protected]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Strophe is disconnecting. | |
SENT: <body rid='241846696' xmlns='http://jabber.org/protocol/httpbind' sid='2f98e0f2-4bc0-44f4-8997-690c2fd7ecb1' type='terminate'><presence xmlns='jabber:client' type='unavailable'/></body> | |
SENT: <body rid='241846696' xmlns='http://jabber.org/protocol/httpbind' sid='2f98e0f2-4bc0-44f4-8997-690c2fd7ecb1' type='terminate'><presence xmlns='jabber:client' type='unavailable'/></body> | |
RECV: <body type='terminate' condition='item-not-found' xmlns='http://jabber.org/protocol/httpbind'/> | |
Strophe is disconnected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /user_sessions HTTP/1.1 | |
Content-Type: application/json | |
{"username":"admin","password":"test","remember":true} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Adhearsion | |
module XMPP | |
module API | |
class ActiveCallStanza < ::Blather::XMPPNode | |
NS = 'X-urn:xmpp:sip:active-calls'.freeze | |
# | |
# @param [Hash, nil] options child elements | |
def self.new(options = {}) | |
new_node = super "active-call" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var conversationAsString = ""; | |
for(var i=0; i < [aMessages count]; i++) { | |
m = aMessages[i]; | |
var messageTime = [CPDate dateWithTimeIntervalSinceNow:0]; | |
var messageBody = [[m firstChildWithName:@"body"] text]; | |
var messageAsString = "[" + messageTime + "] " + [m from] + ": " + messageBody; | |
conversationAsString += messageAsString + "\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<message from="pubsub.active-calls.xmpp.onsip.com" type="headline" to="[email protected]" > | |
<event xmlns="http://jabber.org/protocol/pubsub#event"> | |
<items node="/my.studiotalker.com/testdomain.com-studio" > | |
<item id="4654ebea886a18b776652a0c6b0aa1a6:99ad3e5a7e82fd353b76ea6f29ad273c" > | |
<active-call xmlns="onsip:active-calls" publish-time="2010-09-02T15:44:22Z" > | |
<dialog-state>requested</dialog-state> | |
<call-id>3EQ06688BadAfH5PUV.zBYOPLSGmywrT</call-id> | |
<from-uri>sip:[email protected]</from-uri> | |
<to-uri>sip:[email protected]</to-uri> | |
<to-aor>[email protected]</to-aor> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
2010-09-03 09:32:21.361113 [Blink 33524]: RECEIVED: Packet 18, +0:01:24.831372 | |
66.227.100.25:5060 -(SIP over UDP)-> 192.168.0.50:57301 | |
SIP/2.0 200 OK | |
Via: SIP/2.0/UDP 192.168.0.50:57301;received=77.98.168.32;rport=57301;branch=z9hG4bKPjfR2uEAm2yEIUCpvDXiOV5MxrDbx6OgFE | |
Record-Route: <sip:66.227.100.25;lr;ftag=kZ8RT8RMoWMOfA9zTn3cwavFgUf4YDl5;did=796.a4a29536> | |
Contact: <sip:[email protected]:57301;rinstance=55bebf0b842d6178;[email protected]> | |
To: <sip:[email protected]>;tag=2314196a | |
From: "Ben Langfeld"<sip:[email protected]>;tag=kZ8RT8RMoWMOfA9zTn3cwavFgUf4YDl5 | |
Call-ID: XOwdRFXeNKMlygLk1tBbagCd8Se52DAe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mainViewBounds = [[[CPApp delegate] mainView] bounds], | |
scrollViewSize = CGRectMake( | |
mainViewBounds.origin.x, | |
mainViewBounds.origin.y + 100.0, | |
mainViewBounds.size.width, | |
mainViewBounds.size.height - 100.0 | |
), | |
scrollView = [[CPScrollView alloc] initWithFrame:scrollViewSize]; |
OlderNewer