1

Can't send SMS -- voice app works

Hi, My test app is very simple, but I don't receive the text. http://hosting.tropo.com/54225/www/Test2.py is the script: message("Test text, {"to":"tel:+14085551212", "network":"SMS"}) The debug logfile looks like this: 00-1 11:35:14 PM Trying to create application for URL=http://hosting.tropo.com/54225/www/Test2.py and type=jython 00001 00-1 11:35:14 PM Tropo app dir is c:\tropo_app_home 00002 00-1 11:35:15 PM Application[http://hosting.tropo.com/54225/www/Test2.py:cus] ver(1.0.46794) has been created. 00003 00-1 11:35:15 PM Found hosted Application[http://hosting.tropo.com/54225/www/Test2.py:cus] ver(1.0.46794) [token=ab4ba93fb9f844479dc62681d4b5778f776606fe67c0dc746443a481796da46bd5d06b1c92e39e45a63abbb4] 00004 00-1 11:35:15 PM Mgr Cached app=Application[http://hosting.tropo.com/54225/www/Test2.py:cus] ver(1.0.46794) for token=ab4ba93fb9f844479dc62681d4b5778f776606fe67c0dc746443a481796da46bd5d06b1c92e39e45a63abbb4,_cache.size=0 00005 00-1 11:35:15 PM Thread http/0.0.0.0/8080-t-50 acquired engine of type jython, activeEngines = 3 00006 00-1 11:35:15 PM Thread http/0.0.0.0/8080-t-50 got engine to compile script 00007 00-1 11:35:15 PM message("Test text", {"to":"tel:+14085551212", "network":"SMS"}) # line 703 00008 00-1 11:35:15 PM Thread http/0.0.0.0/8080-t-50 returning engine after compiling script 00009 00-1 11:35:15 PM Thread http/0.0.0.0/8080-t-50 returned engine of type jython, activeEngines = 2 00010 00-1 11:35:15 PM token:ab4ba93fb9f844479dc62681d4b5778f776606fe67c0dc746443a481796da46bd5d06b1c92e39e45a63abbb4 is added into the context of app instance : ApplicationInstance[http://hosting.tropo.com/54225/www/Test2.py, sas_2-14-smzqxiz2g5ycv4tropo] 00011 00-1 11:35:15 PM action:create is added into the context of app instance : ApplicationInstance[http://hosting.tropo.com/54225/www/Test2.py, sas_2-14-smzqxiz2g5ycv4tropo] 00012 00-1 11:35:15 PM ApplicationInstance[http://hosting.tropo.com/54225/www/Test2.py, sas_2-14-smzqxiz2g5ycv4tropo] has been created. 00013 00-1 11:35:15 PM com.voxeo.tropo.core.SimpleCallFactory@87e711 is added into the context of app instance : ApplicationInstance[http://hosting.tropo.com/54225/www/Test2.py, sas_2-14-smzqxiz2g5ycv4tropo] 00014 00-1 11:35:15 PM ApplicationInstance[http://hosting.tropo.com/54225/www/Test2.py, sas_2-14-smzqxiz2g5ycv4tropo] starts execution on Thread Tropo-Thread-4b514985d7bab81a96edb4535f342597 00015 00-1 11:35:15 PM Thread Tropo-Thread-4b514985d7bab81a96edb4535f342597 acquired engine of type jython, activeEngines = 3 00016 00-1 11:35:15 PM ApplicationInstance[http://hosting.tropo.com/54225/www/Test2.py, sas_2-14-smzqxiz2g5ycv4tropo] replaced script engine [com.sun.script.jython.JythonScriptEngine@238fab] --> [com.sun.script.jython.JythonScriptEngine@238fab] in field 00017 00-1 11:35:15 PM >>call([Ljava.lang.String;@762c9c, sip:Tropo@10.6.69.201, null, SMS, null, false, 30000, , audio/wav, POST, {}) 00018 00-1 11:35:15 PM >>call(tel:+14085551212, SMS, sip:Tropo@10.6.69.201) 00019 00-1 11:35:15 PM SimpleOutgoingCall[sip:Tropo@10.6.69.201/null->tel:+14085551212/null] state is changed: NEW->ANSWERED 00020 00-1 11:35:15 PM Call 00179c4af83dab79f22c72fff6128f04 state changed from NEW to ANSWERED on thread Tropo-Thread-4b514985d7bab81a96edb4535f342597 00021 00-1 11:35:15 PM SimpleOutgoingCall[sip:Tropo@10.6.69.201/null->tel:+14085551212/null] created CDR: {"call":{"SipSessionID":"unknown","SessionID":"4b514985d7bab81a96edb4535f342597","CallID":"00179c4af83dab79f22c72fff6128f04","ParentSessionID":"none","ParentCallID":"none","DateCreated":"Wed, 1 Dec 2010 23:35:15 +0000","DateUpdated":"Wed, 1 Dec 2010 23:35:15 +0000","AccountID":"54225","Called":"tel:+14085551212","Caller":"sip:Tropo@10.6.69.201","PhoneNumberSid":"unknown","Disposition":"Success","Status":"Success","StartTime":"Wed, 1 Dec 2010 23:35:15 +0000","EndTime":"Wed, 31 Dec 1969 23:59:59 +0000","Duration":"-1","Flags":"out","RecordingDuration":"0","Network":"SMS","Channel":"TEXT","ApplicationId":"124879","ApplicationType":"jython","ServiceId":"326961","StartUrl":"http:\/\/hosting.tropo.com\/54225\/www\/Test2.py"}} 00022 00-1 11:35:15 PM currentCall is assigned to outgoing SimpleOutgoingCall[sip:Tropo@10.6.69.201/null->tel:+14085551212/null] 00023 00-1 11:35:15 PM SimpleOutgoingCall[sip:Tropo@10.6.69.201/null->tel:+14085551212/null]->prompt("Test text",true,"","",0.3,any,30000) 00024 00-1 11:35:15 PM SimpleOutgoingCall[sip:Tropo@10.6.69.201/null->tel:+14085551212/null] buildRecognitionProperties: {Sensitivity-Level=50, IMified-User=tel:+14085551212, IMified-Borgein-Key=23a4496e2bdd9919027f95bb2923e797, Recognizer-Start-Timers=false, N-Best-List-Length=1, IMified-Bot-Key=9C0425E7-410A-4C34-8196F95CCD6D0926, No-Input-Timeout=30000, Vendor-Specific-Parameters=Voxeo-Resource="im.ASR.324f78c749da436fad7249ded88e272d.staging;textencoding=UTF-8;enforceinputmodes=false;type=im;plugin=vxsremrcp;enforcehotword=false;xmlencoding=UTF-8;grammarformat=application/grammar+jsgf;";Voxeo-Virtual-Platform=staging;Voxeo-Log-Control=enable, IMified-Network=SMS, IMified-From=sip:Tropo@10.6.69.201, Voxeo-Input-Mode=dtmf voice, Dtmf-Term-Timeout=0, Confidence-Threshold=30, Speed-Vs-Accuracy=50} 00025 00-1 11:35:15 PM ->waitForListener() 00026 00-1 11:35:15 PM on Tropo-Thread-4b514985d7bab81a96edb4535f342597-RTCListener running 00027 00-1 11:35:15 PM Listener received result: com.voxeo.sipmethod.mrcp.client.MrcpTtsResult@1bec70d 00028 00-1 11:35:15 PM ->notifyListener(), listener is com.voxeo.tropo.util.MrcpTtsListener@369dda 00029 00-1 11:35:15 PM listener's event is null 00030 00-1 11:35:15 PM class com.voxeo.tropo.util.MrcpTtsListener$1 on Tropo-Thread-4b514985d7bab81a96edb4535f342597-RTCListener complete 00031 00-1 11:35:15 PM listener.wait() completed 00032 00-1 11:35:15 PM tel:+14085551212/null]->hangup(), headers ={} 00034 00-1 11:35:15 PM SimpleOutgoingCall[sip:Tropo@10.6.69.201/null->tel:+1405551212/null] state is changed: ANSWERED->DISCONNECTED 00035 00-1 11:35:15 PM Call 00179c4af83dab79f22c72fff6128f04 state changed from ANSWERED to DISCONNECTED on thread Tropo-Thread-4b514985d7bab81a96edb4535f342597 00036 00-1 11:35:15 PM Stopping MRCP 00037 00-1 11:35:15 PM Stopping TTS 00038 00-1 11:35:15 PM TTS stopped 00039 00-1 11:35:15 PM Stopping ASR 00040 00-1 11:35:15 PM ASR stopped 00041 00-1 11:35:15 PM MRCP stopped 00042 00-1 11:35:15 PM Logging CDR {"call":{"SipSessionID":"unknown","SessionID":"4b514985d7bab81a96edb4535f342597","CallID":"00179c4af83dab79f22c72fff6128f04","ParentSessionID":"none","ParentCallID":"none","DateCreated":"Wed, 1 Dec 2010 23:35:15 +0000","DateUpdated":"Wed, 1 Dec 2010 23:35:15 +0000","AccountID":"54225","Called":"tel:+14085551212","Caller":"sip:Tropo@10.6.69.201","PhoneNumberSid":"unknown","Disposition":"Success","Status":"Success","StartTime":"Wed, 1 Dec 2010 23:35:15 +0000","EndTime":"Wed, 1 Dec 2010 23:35:15 +0000","Duration":"407","Flags":"out","RecordingDuration":"0","Network":"SMS","Channel":"TEXT","ApplicationId":"124879","ApplicationType":"jython","ServiceId":"326961","StartUrl":"http:\/\/hosting.tropo.com\/54225\/www\/Test2.py"}} 00043 00-1 11:35:15 PM Disconnect processed 00044 00-1 11:35:15 PM ApplicationInstance[http://hosting.tropo.com/54225/www/Test2.py, sas_2-14-smzqxiz2g5ycv4tropo] ends execution on Thread Tropo-Thread-4b514985d7bab81a96edb4535f342597 00045 00-1 11:35:15 PM Thread Tropo-Thread-4b514985d7bab81a96edb4535f342597 returned engine of type jython, activeEngines = 2 00046 00-1 11:35:15 PM Sending CDR [callId=00179c4af83dab79f22c72fff6128f04, text={"call":{"SipSessionID":"unknown","SessionID":"4b514985d7bab81a96edb4535f342597","CallID":"00179c4af83dab79f22c72fff6128f04","ParentSessionID":"none","ParentCallID":"none","DateCreated":"Wed, 1 Dec 2010 23:35:15 +0000","DateUpdated":"Wed, 1 Dec 2010 23:35:15 +0000","AccountID":"54225","Called":"tel:+14085551212","Caller":"sip:Tropo@10.6.69.201","PhoneNumberSid":"unknown","Disposition":"Success","Status":"Success","StartTime":"Wed, 1 Dec 2010 23:35:15 +0000","EndTime":"Wed, 1 Dec 2010 23:35:15 +0000","Duration":"407","Flags":"out","RecordingDuration":"0","Network":"SMS","Channel":"TEXT","ApplicationId":"124879","ApplicationType":"jython","ServiceId":"326961","StartUrl":"http:\/\/hosting.tropo.com\/54225\/www\/Test2.py"}}] 00047 00-1 11:35:15 PM Instance 4b514985d7bab81a96edb4535f342597 removed 00048 00-1 11:35:15 PM Sent CDR [callId=00179c4af83dab79f22c72fff6128f04]

10 comments

Please sign in to leave a comment.