problem while doing outbound call from lua script
Hi. I am doing outbound call using below lua script obSession = freeswitch.Session("sofia/gateway/voipms/14165555555"); if obSession:ready() then obSession:execute("sched_hangup","+60 alloted_timeout"); freeswitch.bridge(session,obSession); else local obCause = obSession:hangupCause() freeswitch.consoleLog("info", "obSession:hangupCause() = " .. obCause ) if ( obCause == "USER_BUSY" ) then elseif ( obCause == "NO_ANSWER" ) then -- Call them back in an hour elseif ( obCause == "ORIGINATOR_CANCEL" ) then -- May need to check for network congestion or problems else -- Log these issues end end After call established (phone is ringing not answered) , immediately its get getting disconnected after that. Since, I could not able to use patebin ( Its asking user name and password again and again , no success ) I am giving my fs_cli logs here, I am very sorry for this. thanks in advance, 2010-07-28 20:20:49.635709 [WARNING] ozmod_sangoma_boost.c:1663 RX EVENT: CALL_START:(80) [w1g1] CSid=0 Seq=27 Cn=[N/A] Cd=[1100] Ci=[9677012480] Rdnis=[] 2010-07-28 20:20:49.635709 [DEBUG] ozmod_sangoma_boost.c:880 Changing state on 1:1 from DOWN to RING 2010-07-28 20:20:49.635709 [DEBUG] ozmod_sangoma_boost.c:1174 1:1 STATE [RING] 2010-07-28 20:20:49.635709 [DEBUG] mod_openzap.c:1934 got clear channel sig [START] 2010-07-28 20:20:49.635709 [DEBUG] mod_openzap.c:403 Set codec PCMA 20ms 2010-07-28 20:20:49.635709 [DEBUG] mod_openzap.c:1439 Connect inbound channel OpenZAP/1:1/1100 2010-07-28 20:20:49.635709 [NOTICE] switch_channel.c:776 New Channel OpenZAP/1:1/1100 [bf53c91a-4990-41ad-bbe8-c5240c3e0629] 2010-07-28 20:20:49.635709 [DEBUG] mod_openzap.c:1450 (OpenZAP/1:1/1100) State Change CS_NEW -> CS_INIT 2010-07-28 20:20:49.635709 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:1/1100 [BREAK] 2010-07-28 20:20:49.635709 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:1/1100) Running State Change CS_INIT 2010-07-28 20:20:49.635709 [DEBUG] switch_core_state_machine.c:338 (OpenZAP/1:1/1100) State INIT 2010-07-28 20:20:49.635709 [DEBUG] mod_openzap.c:431 (OpenZAP/1:1/1100) State Change CS_INIT -> CS_ROUTING 2010-07-28 20:20:49.635709 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:1/1100 [BREAK] 2010-07-28 20:20:49.635709 [DEBUG] switch_core_state_machine.c:338 (OpenZAP/1:1/1100) State INIT going to sleep 2010-07-28 20:20:49.635709 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:1/1100) Running State Change CS_ROUTING 2010-07-28 20:20:49.635709 [DEBUG] switch_channel.c:1471 (OpenZAP/1:1/1100) Callstate Change DOWN -> RINGING 2010-07-28 20:20:49.635709 [DEBUG] switch_core_state_machine.c:341 (OpenZAP/1:1/1100) State ROUTING 2010-07-28 20:20:49.635709 [DEBUG] mod_openzap.c:454 OpenZAP/1:1/1100 CHANNEL ROUTING 2010-07-28 20:20:49.635709 [DEBUG] switch_core_state_machine.c:77 OpenZAP/1:1/1100 Standard ROUTING 2010-07-28 20:20:49.635709 [INFO] mod_dialplan_xml.c:331 Processing 9677012480->1100 in context default Dialplan: OpenZAP/1:1/1100 parsing [default->unloop] continue=false Dialplan: OpenZAP/1:1/1100 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->tod_example] continue=true Dialplan: OpenZAP/1:1/1100 Date/Time Match (FAIL) [tod_example] break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->holiday_example] continue=true Dialplan: OpenZAP/1:1/1100 Date/Time Match (FAIL) [holiday_example] break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->global-intercept] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [global-intercept] destination_number(1100) =~ /^886$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->outgoing] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [outgoing] destination_number(1100) =~ /^(\d)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->priout] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [priout] destination_number(1100) =~ /^(09677012480)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->mano_priout] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [mano_priout] destination_number(1100) =~ /^(09677088546)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->mano_priout] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [mano_priout] destination_number(1100) =~ /^(08056106393)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->group-intercept] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [group-intercept] destination_number(1100) =~ /^\*8$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->intercept-ext] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [intercept-ext] destination_number(1100) =~ /^\*\*(\d+)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->redial] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [redial] destination_number(1100) =~ /^(redial|870)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->global] continue=true Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [global] ${call_debug}(false) =~ /^true$/ break=never Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [global] ${sip_has_crypto}() =~ /^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$/ break=never Dialplan: OpenZAP/1:1/1100 Absolute Condition [global] Dialplan: OpenZAP/1:1/1100 Action hash(insert/${domain_name}- spymap/${caller_id_number}/${uuid}) Dialplan: OpenZAP/1:1/1100 Action hash(insert/${domain_name}- last_dial/${caller_id_number}/${destination_number}) Dialplan: OpenZAP/1:1/1100 Action hash(insert/${domain_name}-last_dial/global/${uuid}) Dialplan: OpenZAP/1:1/1100 parsing [default->snom-demo-2] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [snom-demo-2] destination_number(1100) =~ /^9001$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->snom-demo-1] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [snom-demo-1] destination_number(1100) =~ /^9000$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->eavesdrop] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [eavesdrop] destination_number(1100) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->eavesdrop] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [eavesdrop] destination_number(1100) =~ /^779$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->call_return] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [call_return] destination_number(1100) =~ /^\*69$|^869$|^lcr$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->del-group] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [del-group] destination_number(1100) =~ /^80(\d{2})$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->add-group] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [add-group] destination_number(1100) =~ /^81(\d{2})$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->call-group-simo] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [call-group-simo] destination_number(1100) =~ /^82(\d{2})$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->call-group-order] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [call-group-order] destination_number(1100) =~ /^83(\d{2})$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->extension-intercom] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [extension-intercom] destination_number(1100) =~ /^8(10[01][0-9])$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->Local_Extension] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [Local_Extension] destination_number(1100) =~ /^(10[01][0-9])$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->Local_Extension_Skinny] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [Local_Extension_Skinny] destination_number(1100) =~ /^(20[01][0-9])$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->group_dial_sales] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [group_dial_sales] destination_number(1100) =~ /^2000$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->group_dial_support] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [group_dial_support] destination_number(1100) =~ /^2001$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->group_dial_billing] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [group_dial_billing] destination_number(1100) =~ /^2002$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->operator] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [operator] destination_number(1100) =~ /^(operator|0)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->vmain] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [vmain] destination_number(1100) =~ /^vmain$|^4000$|^\*98$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->sip_uri] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [sip_uri] destination_number(1100) =~ /^sip:(.*)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->nb_conferences] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [nb_conferences] destination_number(1100) =~ /^(30\d{2})$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->wb_conferences] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [wb_conferences] destination_number(1100) =~ /^(31\d{2})$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->uwb_conferences] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [uwb_conferences] destination_number(1100) =~ /^(32\d{2})$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->cdquality_conferences] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [cdquality_conferences] destination_number(1100) =~ /^(33\d{2})$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->freeswitch_public_conf_via_sip] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [freeswitch_public_conf_via_sip] destination_number(1100) =~ /^9(888|8888|1616|3232)$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->mad_boss_intercom] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [mad_boss_intercom] destination_number(1100) =~ /^0911$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->mad_boss_intercom] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [mad_boss_intercom] destination_number(1100) =~ /^0912$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->mad_boss] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [mad_boss] destination_number(1100) =~ /^0913$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->ivr_demo] continue=false Dialplan: OpenZAP/1:1/1100 Regex (FAIL) [ivr_demo] destination_number(1100) =~ /^5000$/ break=on-false Dialplan: OpenZAP/1:1/1100 parsing [default->ivr_demo1] continue=false Dialplan: OpenZAP/1:1/1100 Regex (PASS) [ivr_demo1] destination_number(1100) =~ /^1100$/ break=on-false Dialplan: OpenZAP/1:1/1100 Action answer() Dialplan: OpenZAP/1:1/1100 Action sleep(2000) Dialplan: OpenZAP/1:1/1100 Action ivr(demo_ivr) 2010-07-28 20:20:49.638711 [DEBUG] switch_core_state_machine.c:119 (OpenZAP/1:1/1100) State Change CS_ROUTING -> CS_EXECUTE 2010-07-28 20:20:49.638711 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:1/1100 [BREAK] 2010-07-28 20:20:49.638711 [DEBUG] switch_core_state_machine.c:341 (OpenZAP/1:1/1100) State ROUTING going to sleep 2010-07-28 20:20:49.638711 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:1/1100) Running State Change CS_EXECUTE 2010-07-28 20:20:49.638711 [DEBUG] switch_core_state_machine.c:348 (OpenZAP/1:1/1100) State EXECUTE 2010-07-28 20:20:49.638711 [DEBUG] mod_openzap.c:471 OpenZAP/1:1/1100 CHANNEL EXECUTE 2010-07-28 20:20:49.638711 [DEBUG] switch_core_state_machine.c:157 OpenZAP/1:1/1100 Standard EXECUTE EXECUTE OpenZAP/1:1/1100 hash(insert/192.168.1.110- spymap/9677012480/bf53c91a-4990-41ad-bbe8-c5240c3e0629) EXECUTE OpenZAP/1:1/1100 hash(insert/192.168.1.110- last_dial/9677012480/1100) EXECUTE OpenZAP/1:1/1100 hash(insert/192.168.1.110- last_dial/global/bf53c91a-4990-41ad-bbe8-c5240c3e0629) EXECUTE OpenZAP/1:1/1100 answer() 2010-07-28 20:20:49.647713 [DEBUG] ozmod_sangoma_boost.c:1174 1:1 STATE [PROGRESS] 2010-07-28 20:20:49.647713 [WARNING] sangoma_boost_client.c:221 TX EVENT (N): CALL_START_ACK:(81) [w1g1] Rc=0 CSid=0 Seq=19 2010-07-28 20:20:49.659707 [DEBUG] ozmod_sangoma_boost.c:1174 1:1 STATE [PROGRESS_MEDIA] 2010-07-28 20:20:49.668706 [DEBUG] ozmod_sangoma_boost.c:1174 1:1 STATE [UP] 2010-07-28 20:20:49.668706 [WARNING] sangoma_boost_client.c:221 TX EVENT (N): CALL_ANSWERED:(84) [w1g1] Rc=0 CSid=0 Seq=20 2010-07-28 20:20:49.674705 [DEBUG] switch_core_session.c:647 Send signal OpenZAP/1:1/1100 [BREAK] 2010-07-28 20:20:49.674705 [DEBUG] switch_channel.c:2494 (OpenZAP/1:1/1100) Callstate Change RINGING -> ACTIVE 2010-07-28 20:20:49.674705 [NOTICE] mod_dptools.c:746 Channel [OpenZAP/1:1/1100] has been answered EXECUTE OpenZAP/1:1/1100 sleep(2000) EXECUTE OpenZAP/1:1/1100 ivr(demo_ivr) 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:646 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:646 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:646 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:646 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:646 switch_ivr_menu_stack_xml_add binding 'menu-back' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:646 switch_ivr_menu_stack_xml_add binding 'menu-top' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:777 building menu 'demo_ivr' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:838 binding menu action 'menu-exec-app' to '1' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:838 binding menu action 'menu-exec-app' to '2' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:838 binding menu action 'menu-exec-app' to '3' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:838 binding menu action 'menu-exec-app' to '4' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:838 binding menu action 'menu-exec-app' to '5' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:777 building menu 'demo_ivr_submenu' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:838 binding menu action 'menu-top' to '*' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:838 binding menu action 'menu-sub' to '6' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:838 binding menu action 'menu-exec-app' to '/^(10[01][0-9])$/' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:838 binding menu action 'menu-top' to '9' 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_menu.c:414 Executing IVR menu demo_ivr 2010-07-28 20:20:51.695202 [DEBUG] switch_ivr_play_say.c:63 No language specified - Using [en] 2010-07-28 20:20:51.700652 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-welcome_to_freeswitch.wav] (en:en) 2010-07-28 20:20:51.700652 [DEBUG] switch_ivr_play_say.c:1161 Codec Activated L16@8000hz 1 channels 20ms 2010-07-28 20:20:54.315269 [DEBUG] switch_ivr_play_say.c:1468 done playing file 2010-07-28 20:20:54.435262 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-this_ivr_will_let_you_test_features.wav] (en:en) 2010-07-28 20:20:54.435262 [DEBUG] switch_ivr_play_say.c:1161 Codec Activated L16@8000hz 1 channels 20ms 2010-07-28 20:20:58.415015 [DEBUG] switch_ivr_play_say.c:1468 done playing file 2010-07-28 20:20:58.535008 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-you_may_exit_by_hanging_up.wav] (en:en) 2010-07-28 20:20:58.535008 [DEBUG] switch_ivr_play_say.c:1161 Codec Activated L16@8000hz 1 channels 20ms 2010-07-28 20:21:01.134853 [DEBUG] switch_ivr_play_say.c:1468 done playing file 2010-07-28 20:21:01.254845 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-enter_ext_pound.wav] (en:en) 2010-07-28 20:21:01.254845 [DEBUG] switch_ivr_play_say.c:1161 Codec Activated L16@8000hz 1 channels 20ms 2010-07-28 20:21:03.952622 [DEBUG] switch_ivr_play_say.c:1468 done playing file 2010-07-28 20:21:04.054610 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[silence_stream://1500] (en:en) 2010-07-28 20:21:04.054610 [DEBUG] switch_ivr_play_say.c:1161 Codec Activated L16@8000hz 1 channels 20ms 2010-07-28 20:21:05.554544 [DEBUG] switch_ivr_play_say.c:1468 done playing file 2010-07-28 20:21:05.674516 [DEBUG] switch_ivr_play_say.c:244 Handle play-file:[ivr/ivr-to_call_the_freeswitch_conference.wav] (en:en) 2010-07-28 20:21:05.674516 [DEBUG] switch_ivr_play_say.c:1161 Codec Activated L16@8000hz 1 channels 20ms 2010-07-28 20:21:06.415471 [WARNING] ozmod_sangoma_boost.c:1663 RX EVENT (N): CALL_STOPPED:(85) [w1g1] Rc=16 CSid=0 Seq=28 2010-07-28 20:21:06.415471 [DEBUG] ozmod_sangoma_boost.c:717 Changing state on 1:1 from UP to TERMINATING 2010-07-28 20:21:06.415471 [DEBUG] ozmod_sangoma_boost.c:1174 1:1 STATE [TERMINATING] 2010-07-28 20:21:06.415471 [DEBUG] mod_openzap.c:1934 got clear channel sig [STOP] 2010-07-28 20:21:06.415471 [DEBUG] switch_channel.c:2261 (OpenZAP/1:1/1100) Callstate Change ACTIVE -> HANGUP 2010-07-28 20:21:06.415471 [NOTICE] mod_openzap.c:1955 Hangup OpenZAP/1:1/1100 [CS_EXECUTE] [NORMAL_CLEARING] 2010-07-28 20:21:06.415471 [DEBUG] switch_channel.c:2277 Send signal OpenZAP/1:1/1100 [KILL] 2010-07-28 20:21:06.415471 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:1/1100 [BREAK] 2010-07-28 20:21:06.433472 [DEBUG] switch_ivr_play_say.c:1468 done playing file 2010-07-28 20:21:06.536534 [DEBUG] switch_ivr_menu.c:329 waiting for 4/4 digits t/o 2000 2010-07-28 20:21:06.536534 [DEBUG] switch_ivr_menu.c:376 digits '' 2010-07-28 20:21:06.536534 [DEBUG] switch_ivr_menu.c:566 IVR menu 'demo_ivr' no input detected 2010-07-28 20:21:07.536473 [DEBUG] switch_ivr_menu.c:580 exit-sound 'voicemail/vm-goodbye.wav' 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:348 (OpenZAP/1:1/1100) State EXECUTE going to sleep 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:1/1100) Running State Change CS_HANGUP 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:500 (OpenZAP/1:1/1100) State HANGUP 2010-07-28 20:21:07.536473 [DEBUG] mod_openzap.c:540 Changing state on 1:1 from TERMINATING to HANGUP 2010-07-28 20:21:07.536473 [DEBUG] mod_openzap.c:556 OpenZAP/1:1/1100 CHANNEL HANGUP 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:46 OpenZAP/1:1/1100 Standard HANGUP, cause: NORMAL_CLEARING 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:500 (OpenZAP/1:1/1100) State HANGUP going to sleep 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:333 (OpenZAP/1:1/1100) State Change CS_HANGUP -> CS_REPORTING 2010-07-28 20:21:07.536473 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:1/1100 [BREAK] 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:314 (OpenZAP/1:1/1100) Running State Change CS_REPORTING 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:591 (OpenZAP/1:1/1100) State REPORTING 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:53 OpenZAP/1:1/1100 Standard REPORTING, cause: NORMAL_CLEARING 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:591 (OpenZAP/1:1/1100) State REPORTING going to sleep 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:327 (OpenZAP/1:1/1100) State Change CS_REPORTING -> CS_DESTROY 2010-07-28 20:21:07.536473 [DEBUG] switch_core_session.c:1027 Send signal OpenZAP/1:1/1100 [BREAK] 2010-07-28 20:21:07.536473 [DEBUG] switch_core_session.c:1175 Session 20 (OpenZAP/1:1/1100) Locked, Waiting on external entities 2010-07-28 20:21:07.536473 [NOTICE] switch_core_session.c:1193 Session 20 (OpenZAP/1:1/1100) Ended 2010-07-28 20:21:07.536473 [NOTICE] switch_core_session.c:1195 Close Channel OpenZAP/1:1/1100 [CS_DESTROY] 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:427 (OpenZAP/1:1/1100) Callstate Change HANGUP -> DOWN 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:430 (OpenZAP/1:1/1100) Running State Change CS_DESTROY 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:440 (OpenZAP/1:1/1100) State DESTROY 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:60 OpenZAP/1:1/1100 Standard DESTROY 2010-07-28 20:21:07.536473 [DEBUG] switch_core_state_machine.c:440 (OpenZAP/1:1/1100) State DESTROY going to sleep 2010-07-28 20:21:07.538567 [DEBUG] ozmod_sangoma_boost.c:1174 1:1 STATE [HANGUP] 2010-07-28 20:21:07.538567 [DEBUG] ozmod_sangoma_boost.c:1322 Changing state on 1:1 from HANGUP to HANGUP_COMPLETE 2010-07-28 20:21:07.547613 [DEBUG] ozmod_sangoma_boost.c:1174 1:1 STATE [HANGUP_COMPLETE] 2010-07-28 20:21:07.547613 [DEBUG] ozmod_sangoma_boost.c:1314 Changing state on 1:1 from HANGUP_COMPLETE to DOWN 2010-07-28 20:21:07.559612 [DEBUG] ozmod_sangoma_boost.c:1174 1:1 STATE [DOWN] 2010-07-28 20:21:07.559612 [WARNING] sangoma_boost_client.c:221 TX EVENT (N): CALL_STOPPED_ACK:(86) [w1g1] Rc=0 CSid=0 Seq=21 2010-07-28 20:21:07.559612 [DEBUG] zap_io.c:1388 channel done 1:1 2010-07-28 20:21:59.046681 [DEBUG] switch_nat.c:500 mapped public port 5060 protocol UDP to localport 5060 2010-07-28 20:21:59.903631 [DEBUG] switch_nat.c:500 mapped public port 5060 protocol TCP to localport 5060 2010-07-28 20:22:00.770577 [DEBUG] switch_nat.c:500 mapped public port 5080 protocol UDP to localport 5080 2010-07-28 20:22:01.679524 [DEBUG] switch_nat.c:500 mapped public port 5080 protocol TCP to localport 5080 2010-07-28 20:22:02.615467 [DEBUG] switch_nat.c:500 mapped public port 32368 protocol UDP to localport 32368 2010-07-28 20:22:02.615467 [WARNING] switch_scheduler.c:114 Task was executed late by 4 seconds 2 heartbeat (core) 2010-07-28 20:22:02.615467 [WARNING] switch_scheduler.c:114 Task was executed late by 4 seconds 3 limit_hash_cleanup (mod_hash) 2010-07-28 20:22:20.271160 [DEBUG] switch_nat.c:299 got UPnP keep alive packet: NOTIFY * HTTP/1.1 Host: 239.255.255.250:1900 NT:urn:schemas-upnp-org:service:WANIPConnection:1 NTS: ssdp:alive USN:uuid:33333333-0000-c0a8-0101-efefefefefef::urn:schemas-upnp-org:service: WANIPConnection:1 Location:http://192.168.1.1:80/DeviceDescription.xml<http://192.168.1.1/DeviceDescription.xml> Cache-Control:max-age=480 Server:Allegro-Software-RomUpnp/4.07 UPnP/1.0 IGD/1.00 -- Regards Venkatesan OV.
On Wed, Jul 28, 2010 at 8:09 AM, ovvenkat <ovvenkatesan@gmail.com> wrote:
Hi.
I am doing outbound call using below lua script
obSession = freeswitch.Session("sofia/gateway/voipms/14165555555");
if obSession:ready() then obSession:execute("sched_hangup","+60 alloted_timeout"); freeswitch.bridge(session,obSession);
else
local obCause = obSession:hangupCause()
freeswitch.consoleLog("info", "obSession:hangupCause() = " .. obCause )
if ( obCause == "USER_BUSY" ) then
elseif ( obCause == "NO_ANSWER" ) then -- Call them back in an hour elseif ( obCause == "ORIGINATOR_CANCEL" ) then
-- May need to check for network congestion or problems
else -- Log these issues end end
After call established (phone is ringing not answered) , immediately its get getting disconnected after that. Since, I could not able to use patebin ( Its asking user name and password again and again , no success )
Haha, you fail! The username and password are displayed in the dialog. :) Also, I like the name of your variable ("obsession") :P Where is this Lua script actually getting called from? I don't see any reference to it in the call trace you supplied. -MC
Hi Mic, Sorry for my mistake. Created fresh logs and here is the link of the pastebin. http://pastebin.freeswitch.org/13547 Regards, Venkat. On Thu, Jul 29, 2010 at 1:38 AM, Michael Collins <msc@freeswitch.org> wrote:
On Wed, Jul 28, 2010 at 8:09 AM, ovvenkat <ovvenkatesan@gmail.com> wrote:
Hi.
I am doing outbound call using below lua script
obSession = freeswitch.Session("sofia/gateway/voipms/14165555555");
if obSession:ready() then obSession:execute("sched_hangup","+60 alloted_timeout"); freeswitch.bridge(session,obSession);
else
local obCause = obSession:hangupCause()
freeswitch.consoleLog("info", "obSession:hangupCause() = " .. obCause )
if ( obCause == "USER_BUSY" ) then
elseif ( obCause == "NO_ANSWER" ) then -- Call them back in an hour elseif ( obCause == "ORIGINATOR_CANCEL" ) then
-- May need to check for network congestion or problems
else -- Log these issues end end
After call established (phone is ringing not answered) , immediately its get getting disconnected after that. Since, I could not able to use patebin ( Its asking user name and password again and again , no success )
Haha, you fail! The username and password are displayed in the dialog. :) Also, I like the name of your variable ("obsession") :P
Where is this Lua script actually getting called from? I don't see any reference to it in the call trace you supplied. -MC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- If you have come to help me, you are wasting your time. If you have come to because your liberation is bound up in mine, we can work together. Regards Venkatesan OV.
On Thu, Jul 29, 2010 at 1:38 AM, Michael Collins <msc@freeswitch.org> wrote:
On Wed, Jul 28, 2010 at 8:09 AM, ovvenkat <ovvenkatesan@gmail.com> wrote:
Hi.
I am doing outbound call using below lua script
obSession = freeswitch.Session("sofia/gateway/voipms/14165555555");
if obSession:ready() then obSession:execute("sched_hangup","+60 alloted_timeout"); freeswitch.bridge(session,obSession);
else
local obCause = obSession:hangupCause()
freeswitch.consoleLog("info", "obSession:hangupCause() = " .. obCause )
if ( obCause == "USER_BUSY" ) then
elseif ( obCause == "NO_ANSWER" ) then -- Call them back in an hour elseif ( obCause == "ORIGINATOR_CANCEL" ) then
-- May need to check for network congestion or problems
else -- Log these issues end end
After call established (phone is ringing not answered) , immediately its get getting disconnected after that. Since, I could not able to use patebin ( Its asking user name and password again and again , no success )
Haha, you fail! The username and password are displayed in the dialog. :) Also, I like the name of your variable ("obsession") :P
Where is this Lua script actually getting called from? I don't see any reference to it in the call trace you supplied. -MC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Mic, Sorry for my mistake. Created fresh logs and here is the link of the pastebin. http://pastebin.freeswitch.org/13547 Regards, Venkat. Any one plz help me to solve my problem plz :) Regards, Venkat.
participants (2)
-
Michael Collins
-
ovvenkat