Skip to content

Instantly share code, notes, and snippets.

View chrismatthieu's full-sized avatar
🚀
Hacking the metaverse!

Chris Matthieu chrismatthieu

🚀
Hacking the metaverse!
View GitHub Profile
<html>
<body>
test
</body>
</html>
<html>
<body>
test this now
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<phoneml>
<play>http://acme.com/jingle.mp3</play>
<speak>Thanks for calling Acme Labs. Press 1 or say sales to be transferred
to Sales or press 2 or say support to be transferred to Technical Support
otherwise stay on the call to speak with our Operator</speak>
<input options="1,2,sales,support">http://acme.com/transfer</input>
<speak>Transferring to Operator</speak>
<transfer>602-555-1234</transfer>
</phoneml>
{"phoneml":[{"play":{"$":"http://acme.com/jingle.mp3"}},
{"speak":{"$":"Thanks for calling Acme Labs. Press 1 or say sales..."}},
{"input":{"$":"http://acme.com/transfer","@options":"1,2,sales,support"}},
{"speak":{"$":"Transferring to Operator"}},
{"transfer":{"$":"602-555-1234"}}]}
require 'rubygems'
require 'sinatra'
require 'builder'
get '/' do
'HighLow is a <a href="teleku.com">Teleku Voice Application</a><br>'
'curl --data-urlencode "caller=test" http://highlow.heroku.com'
end
post '/' do
#!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
00079 00-1 4:14:28 PM Sent CDR [callId=20336fa919626bc4335741a669830e51]
00080 00-1 4:18:31 PM Application[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] ver(1.0.42178) has been created.
00081 00-1 4:18:31 PM Found hosted Application[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] ver(1.0.42178) [uri=sip:4152739939@10.6.61.201:5060]
00082 00-1 4:18:31 PM Tropo(Hosting Edition) cached app=Application[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] ver(1.0.42178) for url=sip:4152739939@10.6.61.201:5060,_cache.size=1
00083 bf9a 4:18:31 PM ApplicationInstance[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] sas_2-15-sm18fm4smjlporytropo] has been created.
00084 bf9a 4:18:31 PM com.voxeo.tropo.core.SimpleCallFactory@12cad74 is added into the context of app instance : ApplicationInstance[http://web1.tunnlr.com:11053/communications/index [cl
00000 00-1 4:13:58 PM Tropo app dir is c:\tropo_app_home
00001 00-1 4:13:58 PM Application[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] ver(1.0.42178) has been created.
00002 00-1 4:13:58 PM Found hosted Application[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] ver(1.0.42178) [token=1556a3d0acbaee4b809d61d2630170de1ac687735f6d6f05ea7d616589c3eac49d2b09fc444b23fc1d4d825d]
00003 00-1 4:13:58 PM Mgr Cached app=Application[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] ver(1.0.42178) for token=1556a3d0acbaee4b809d61d2630170de1ac687735f6d6f05ea7d616589c3eac49d2b09fc444b23fc1d4d825d,_cache.size=0
00004 00-1 4:13:58 PM ApplicationInstance[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] sas_2-15-sm1mgtk0q9gr8wktropo] has been created.
00005 00-1 4:13:58 PM ov_action:call is added into the context of app instance : ApplicationInstance[ht
00122 00-1 4:29:22 PM Tropo app dir is c:\tropo_app_home
00123 00-1 4:29:22 PM Application[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] ver(1.0.42178) has been created.
00124 00-1 4:29:22 PM Found hosted Application[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] ver(1.0.42178) [token=1556a3d0acbaee4b809d61d2630170de1ac687735f6d6f05ea7d616589c3eac49d2b09fc444b23fc1d4d825d]
00125 00-1 4:29:22 PM Mgr Cached app=Application[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] ver(1.0.42178) for token=1556a3d0acbaee4b809d61d2630170de1ac687735f6d6f05ea7d616589c3eac49d2b09fc444b23fc1d4d825d,_cache.size=0
00126 00-1 4:29:22 PM ApplicationInstance[http://web1.tunnlr.com:11053/communications/index [click on link for full URL] sas_2-15-sm11zcjx9or3d98tropo] has been created.
00127 00-1 4:29:22 PM ov_action:call is added into the context of app instance : ApplicationInstance[ht
00233 00-1 6:03:20 PM Invalid API Type [type=null, url=http://web1.tunnlr.com:11053/messagings/create [click on link for full URL]
00234 00-1 6:03:20 PM Trying to create application for URL=http://web1.tunnlr.com:11053/messagings/create [click on link for full URL] and type=tropo-web
00235 00-1 6:03:20 PM Tropo app dir is c:\tropo_app_home
00236 00-1 6:03:20 PM Application[http://web1.tunnlr.com:11053/messagings/create [click on link for full URL] ver(1.0.42178) has been created.
00237 00-1 6:03:20 PM Found hosted Application[http://web1.tunnlr.com:11053/messagings/create [click on link for full URL] ver(1.0.42178) [token=4209df9d948c7a4bbeb07a8117c62b5f5614c13dd25919b855b08645dfeb69787685bb8bf3bb58456ee0ac17]
00238 00-1 6:03:20 PM Mgr Cached app=Application[http://web1.tunnlr.com:11053/messagings/create [click on link for full URL] ver(1.0.42178) for token=4209df9d948c7a4bbeb07a8117c62b5f5614c13dd25919b855b08645dfeb69787685bb8bf3bb58456ee0ac17,_cache.siz