This file contains 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
require 'rubygems' | |
require 'test/unit' | |
require 'nokogiri' | |
class TestAdd < Test::Unit::TestCase | |
MyNode = Class.new Nokogiri::XML::Node | |
def setup | |
@node = MyNode.new 'foo', Nokogiri::XML::Document.new | |
assert @node.name == 'foo' |
This file contains 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
South Africa: 27 213009785 | |
Voice & Messaging: (404) 857-4641 | |
International Voice: +54 1152525423 | |
International Voice: +54 1152525431 |
This file contains 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
01960 c3ba 7:10:51 PM SimpleIncomingCall[4044754845/+14044754845->4048574641/+14048574641] : ====> Raw string: EXEC Dial "tel:14049662820","","" <==== | |
01961 c3ba 7:10:51 PM SimpleIncomingCall[4044754845/+14044754845->4048574641/+14048574641] : ====> command {:action=>"exec", :command=>"dial", :args=>["tel:14049662820", "", ""]} <==== | |
01962 c3ba 7:10:51 PM SimpleIncomingCall[4044754845/+14044754845->4048574641/+14048574641] : ====> Headers to map: #<TropoAGItate::MagicChannelVariables:0x135f5da1 @variables={:callerid=>{}}> <==== | |
01963 c3ba 7:10:51 PM SimpleIncomingCall[4044754845/+14044754845->4048574641/+14048574641] : ====> Destination: ["tel:14049662820"], Options: {:timeout=>0, :headers=>{"x-tropo-callerid"=>"{}"}} <==== | |
01964 c3ba 7:10:51 PM SimpleIncomingCall[4044754845/+14044754845->4048574641/+14048574641] : _parseTime(0) returning 0 | |
01965 c3ba 7:10:51 PM SimpleIncomingCall[4044754845/+14044754845->4048574641/+14048574641]->transfer([tel:14049662820 |
This file contains 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
03996 5ebb 7:15:55 PM Voice "kate" has been substituted with "kate-englishgb" | |
03997 5ebb 7:15:55 PM VxTTSPortLoquendo7::SynthesizeSSML - <<?xml version="1.0" encoding="UTF-8" ?><speak>and agent will call you shortly</speak>> | |
03998 5ebb 7:15:55 PM Successfully initiated TTS using voice Kate-EnglishGb | |
03999 5ebb 7:15:55 PM Using TTS plugin subsystem for voice kate-englishgb | |
04000 5ebb 7:15:55 PM LoquendoCallback - TTSEVT_TEXT = <?xml version="1.0" encoding="UTF-8" ?><speak>and agent will call you shortly</speak> | |
04001 5ebb 7:15:57 PM TTSSTAT: resource= engine=vxttsloq7 voice=Kate-EnglishGb activePorts=1 peakPorts=7 textBytes=85 audioTimeMS=1659 renderingTimeMS=1501 realtimeRatio=1.105 | |
04002 5ebb 7:15:57 PM VxTTSPortLoquendo7::~VxTTSPortLoquendo7 | |
04003 f396 7:15:57 PM Listener com.voxeo.tropo.util.MrcpTtsListener@16bcf9fe received result: com.voxeo.sipmethod.mrcp.client.MrcpTtsResult@6b79f262 | |
04004 f396 7:15:57 PM listener is com.vo |
This file contains 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
def db(&block) | |
result = ActiveRecord::Base.connection_pool.with_connection(&block) | |
ActiveRecord::Base.connection_pool.release_connection | |
result | |
end |
This file contains 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
01265 5da8 6:10:13 PM SimpleOutgoingCall[+14044754845/null->14049662820!sip.tropo.com/null]<-hangup(), _state=DISCONNECTED | |
01266 5da8 6:10:13 PM Call from +14044754845 to 14049662820!sip.tropo.com failed. com.voxeo.tropo.ErrorException: Outbound call has timed out. at com.voxeo.tropo.core.SimpleOutgoingCall.ring(SimpleOutgoingCall.java:145) at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.voxeo.tropo.sandbox.SandboxInvocationHandler.invoke(SandboxInvocationHandler.java:42) at $Proxy51.ring(Unknown Source) at com.voxeo.tropo.core.MultiCallCoordinator$MakeCall.run(MultiCallCoordinator.java:146) | |
01267 5da8 6:10:13 PM Unregistering call +14044754845 -> 14049662820!sip.tropo.com | |
01268 5da8 6:10:13 PM Stopping listener thread Tropo-Thread-0d89bcc862d5eab8655a13bc722eff80-MrcpHotWordListener@2910c073 | |
01269 5da8 6: |
This file contains 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
# Configuration for connecting to your AGI Server | |
tropo: | |
# The default voice to use for Speech Synthesis/TTS | |
# Refer to: https://www.tropo.com/docs/scripting/say.htm (voice option) for a list of supported voices | |
voice: kate | |
# The default recognizer to use for Speech Recogintion/ASR | |
# Refer to: https://www.tropo.com/docs/scripting/ask.htm (recognizer option) for a list of supported recognizers | |
recognizer: en-us | |
# The SIP address to send the session/call to if AGItate may not connect to your AGI server |
This file contains 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
Net::HTTP.post_form(URI.parse('http://api.tropo.com/1.0/sessions'), "token" => token, "destination" => "14044754845", "tropo_tag" => 666, "caller_id" => '4048675309', "caller_id_name" => 'beavis') |
This file contains 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
[myuser] | |
secret = mypassword | |
read = all | |
write = all | |
eventfilter = !Event: RTCP* |
This file contains 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
[lsrc_context] | |
exten => _.,1,AGI(agi:async) | |
;exten => _.,1,AGI(agi://localhost/adhearsion) | |
[adhearsion-redirect] |
OlderNewer