============================================= Node1 ================================================================= tport.c:2773 tport_wakeup() tport_wakeup(0x7f4df4120180): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df4120180) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df4120180) msg 0x7f4df4197bd0 from (tcp/192.168.1.33:33478) has 384 bytes, veclen = 1 recv 384 bytes from tcp/[192.168.1.33]:33478 at 15:57:16.907028: ------------------------------------------------------------------------ ACK sip:8417705059@192.168.1.141;transport=TCP SIP/2.0 Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-c573cc07f0d30df6-1---d8754z- Max-Forwards: 70 To: ;tag=vjXprFee0ytjp From: ;tag=5591bb74 Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY. CSeq: 1 ACK Content-Length: 0 ------------------------------------------------------------------------ tport.c:3023 tport_deliver() tport_deliver(0x7f4df4120180): msg 0x7f4df4197bd0 (384 bytes) from tcp/192.168.1.33:33478/sip next=(nil) nta.c:2880 agent_recv_request() nta: received ACK sip:8417705059@192.168.1.141;transport=TCP SIP/2.0 (CSeq 1) nta.c:3019 agent_recv_request() nta: ACK (1) is going to INVITE (1) tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer tport.c:2773 tport_wakeup() tport_wakeup(0x7f4df4120180): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df4120180) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df4120180) msg 0x7f4df4197bd0 from (tcp/192.168.1.33:33478) has 1219 bytes, veclen = 1 recv 1219 bytes from tcp/[192.168.1.33]:33478 at 15:57:16.944288: ------------------------------------------------------------------------ INVITE sip:8417705059@192.168.1.141;transport=TCP SIP/2.0 Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-96e697046a0b865d-1---d8754z- Max-Forwards: 70 Contact: To: From: ;tag=5591bb74 Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY. CSeq: 2 INVITE Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE Content-Type: application/sdp Proxy-Authorization: Digest username="6833949103",realm="192.168.1.141",nonce="8e288682-fbac-4b25-bbf3-f008a677c9bb",uri="sip:8417705059@192.168.1.141;transport=TCP",response="d9aaf0ba3830546c8b665bd6f56bc8e8",cnonce="b63f96e537a98bfc71c99f8b8c09cd84",nc=00000001,qop=auth,algorithm=MD5 Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri User-Agent: Z 3.3.25608 r25552 Allow-Events: presence, kpml Content-Length: 243 v=0 o=Z 0 0 IN IP4 117.247.91.162 s=Z c=IN IP4 117.247.91.162 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv ------------------------------------------------------------------------ tport.c:3023 tport_deliver() tport_deliver(0x7f4df4120180): msg 0x7f4df4197bd0 (1219 bytes) from tcp/192.168.1.33:33478/sip next=(nil) nta.c:2880 agent_recv_request() nta: received INVITE sip:8417705059@192.168.1.141;transport=TCP SIP/2.0 (CSeq 2) nta.c:3248 agent_aliases() nta: canonizing sip:8417705059@192.168.1.141 with contact nta.c:3085 agent_recv_request() nta: INVITE (2) going to a default leg nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: entering nua_stack.c:899 nh_create() nua: nh_create: entering nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:280 soa_clone() soa_clone(static::0x7f4df4196fe0, 0x7f4df4107bf0, 0x7f4df418fad0) called soa.c:403 soa_set_params() soa_set_params(static::0x7f4df411fa40, ...) called nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0x7f4df4056660) soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7f4df411fa40) called soa.c:1171 soa_set_remote_sdp() soa_set_remote_sdp(static::0x7f4df411fa40, (nil), 0x7f4df4194990, 243) called nua_dialog.c:338 nua_dialog_usage_add() nua(0x7f4df418fad0): adding session usage tport.c:3257 tport_tsend() tport_tsend(0x7f4df4120180) tpn = TCP/192.168.1.33:33478 tport.c:3594 tport_vsend() tport_vsend(0x7f4df4120180): 346 bytes of 346 to tcp/192.168.1.33:33478 tport.c:3492 tport_send_msg() tport_vsend returned 346 send 346 bytes to tcp/[192.168.1.33]:33478 at 15:57:16.944614: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-96e697046a0b865d-1---d8754z-;rport=33478 From: ;tag=5591bb74 To: Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY. CSeq: 2 INVITE User-Agent: ASTPP Content-Length: 0 ------------------------------------------------------------------------ tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer nta.c:6791 incoming_reply() nta: sent 100 Trying for INVITE (2) nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_invite 100 Trying nua_session.c:4139 signal_call_state_change() nua(0x7f4df418fad0): call state changed: init -> received, received offer soa.c:1098 soa_get_remote_sdp() soa_get_remote_sdp(static::0x7f4df411fa40, [0x7f4e12d168c8], [0x7f4e12d168d0], [(nil)]) called nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_state 100 Trying tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering 2017-10-09 15:57:16.929881 [DEBUG] sofia.c:2322 Re-attaching to session f4586972-9843-4e70-bbe8-2e65b90004a2 nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:16.929881 [DEBUG] sofia.c:9376 sofia/default/6833949103@192.168.1.141 receiving invite from 192.168.1.33:33478 version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit 2017-10-09 15:57:16.929881 [DEBUG] sofia.c:9543 IP 192.168.1.33 Rejected by acl "default". Falling back to Digest auth. 2017-10-09 15:57:17.009751 [DEBUG] sofia.c:10678 Setting NAT mode based on via port nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:17.009751 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [received][100] 2017-10-09 15:57:17.009751 [DEBUG] sofia.c:6868 Remote SDP: v=0 o=Z 0 0 IN IP4 117.247.91.162 s=Z c=IN IP4 117.247.91.162 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:3090 Set Codec sofia/default/6833949103@192.168.1.141 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-09 15:57:17.009751 [DEBUG] switch_core_codec.c:111 sofia/default/6833949103@192.168.1.141 Original read codec set to PCMA:8 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4681 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-09 15:57:17.009751 [DEBUG] sofia.c:7248 (sofia/default/6833949103@192.168.1.141) State Change CS_NEW -> CS_INIT nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:543 (sofia/default/6833949103@192.168.1.141) Running State Change CS_INIT 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:586 (sofia/default/6833949103@192.168.1.141) State INIT 2017-10-09 15:57:17.009751 [DEBUG] mod_sofia.c:89 sofia/default/6833949103@192.168.1.141 SOFIA INIT 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:40 sofia/default/6833949103@192.168.1.141 Standard INIT 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6833949103@192.168.1.141) State Change CS_INIT -> CS_ROUTING 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:586 (sofia/default/6833949103@192.168.1.141) State INIT going to sleep 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:543 (sofia/default/6833949103@192.168.1.141) Running State Change CS_ROUTING 2017-10-09 15:57:17.009751 [DEBUG] switch_channel.c:2249 (sofia/default/6833949103@192.168.1.141) Callstate Change DOWN -> RINGING 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:602 (sofia/default/6833949103@192.168.1.141) State ROUTING 2017-10-09 15:57:17.009751 [DEBUG] mod_sofia.c:142 sofia/default/6833949103@192.168.1.141 SOFIA ROUTING 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:236 sofia/default/6833949103@192.168.1.141 Standard ROUTING 2017-10-09 15:57:17.009751 [INFO] mod_dialplan_xml.c:637 Processing 6833949103 <6833949103>->8417705059 in context default 2017-10-09 15:57:17.009751 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f4df418a670 Connected. 2017-10-09 15:57:17.009751 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard') 2017-10-09 15:57:17.009751 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Dialed number : 8417705059 2017-10-09 15:57:17.009751 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Caller Id name / number : 6833949103 / 6833949103 2017-10-09 15:57:17.009751 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="8417705059" LIMIT 1 2017-10-09 15:57:17.009751 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8417705059" limit 1 2017-10-09 15:57:17.009751 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call direction : local 2017-10-09 15:57:17.009751 [NOTICE] switch_cpp.cpp:1360 [ASTPP] [Accountcode : 6833949103] 2017-10-09 15:57:17.009751 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6833949103" OR id="6833949103") AND status=0 AND deleted=0 AND (expiry >= '2017-10-09 10:27:17' OR expiry = '0000-00-00 00:00:00') limit 1 2017-10-09 15:57:17.049718 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT * FROM packages as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns ='^8417705059.*' OR patterns ='^841770505.*' OR patterns ='^84177050.*' OR patterns ='^8417705.*' OR patterns ='^841770.*' OR patterns ='^84177.*' OR patterns ='^8417.*' OR patterns ='^841.*' OR patterns ='^84.*' OR patterns ='^8.*' OR patterns ='--') AND status = 0 AND pricelist_id = 1 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Account Information =================== 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] User id : 4 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Account code : 6833949103 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Balance : 100 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Ratecard id : 1 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] ======================================================== 2017-10-09 15:57:17.049718 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Call Max length duration : 100 minutes 2017-10-09 15:57:17.049718 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="8417705059" limit 1 2017-10-09 15:57:17.049718 [WARNING] switch_cpp.cpp:1360 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts 2017-10-09 15:57:17.049718 [WARNING] switch_cpp.cpp:1360 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends 2017-10-09 15:57:17.049718 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Generated XML:
2017-10-09 15:57:17.049718 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f4df418a670 released. Dialplan: sofia/default/6833949103@192.168.1.141 parsing [default->8417705059] continue=false Dialplan: sofia/default/6833949103@192.168.1.141 Regex (PASS) [8417705059] destination_number(8417705059) =~ /8417705059/ break=on-false Dialplan: sofia/default/6833949103@192.168.1.141 Action set(effective_destination_number=8417705059) Dialplan: sofia/default/6833949103@192.168.1.141 Action sched_hangup(+6000 normal_clearing) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(callstart=2017-10-09 10:27:17) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(hangup_after_bridge=true) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(continue_on_fail=true) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(account_id=4) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(parent_id=0) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(entity_id=0) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(call_processed=internal) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(call_direction=local) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(accountname=default) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(origination_rates=ID:0|CODE:8417705059|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:4) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(original_caller_id_name=6833949103) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(original_caller_id_number=6833949103) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(effective_caller_id_name=6833949103) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(effective_caller_id_number=6833949103) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(calltype=LOCAL) Dialplan: sofia/default/6833949103@192.168.1.141 Action set(receiver_accid=2) Dialplan: sofia/default/6833949103@192.168.1.141 Action bridge([leg_timeout=30]user/8417705059@${domain_name}) |--- Dialplan: Processing recursive conditions level:1 [8417705059_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/6833949103@192.168.1.141 Regex (PASS) [8417705059_recur_1] ${cond(${user_data 8417705059@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/6833949103@192.168.1.141 Action export(voicemail_alternate_greet_id=8417705059) |--- Dialplan: sofia/default/6833949103@192.168.1.141 Action answer() |--- Dialplan: sofia/default/6833949103@192.168.1.141 Action voicemail(default $${domain_name} 8417705059) 2017-10-09 15:57:17.069720 [DEBUG] switch_core_state_machine.c:286 (sofia/default/6833949103@192.168.1.141) State Change CS_ROUTING -> CS_EXECUTE 2017-10-09 15:57:17.069720 [DEBUG] switch_core_state_machine.c:602 (sofia/default/6833949103@192.168.1.141) State ROUTING going to sleep 2017-10-09 15:57:17.069720 [DEBUG] switch_core_state_machine.c:543 (sofia/default/6833949103@192.168.1.141) Running State Change CS_EXECUTE 2017-10-09 15:57:17.069720 [DEBUG] switch_core_state_machine.c:609 (sofia/default/6833949103@192.168.1.141) State EXECUTE 2017-10-09 15:57:17.069720 [DEBUG] mod_sofia.c:197 sofia/default/6833949103@192.168.1.141 SOFIA EXECUTE 2017-10-09 15:57:17.069720 [DEBUG] switch_core_state_machine.c:328 sofia/default/6833949103@192.168.1.141 Standard EXECUTE EXECUTE sofia/default/6833949103@192.168.1.141 set(effective_destination_number=8417705059) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [effective_destination_number]=[8417705059] EXECUTE sofia/default/6833949103@192.168.1.141 sched_hangup(+6000 normal_clearing) 2017-10-09 15:57:17.069720 [DEBUG] switch_scheduler.c:249 Added task 3 switch_ivr_schedule_hangup (f4586972-9843-4e70-bbe8-2e65b90004a2) to run at 1507550837 EXECUTE sofia/default/6833949103@192.168.1.141 set(callstart=2017-10-09 10:27:17) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [callstart]=[2017-10-09 10:27:17] EXECUTE sofia/default/6833949103@192.168.1.141 set(hangup_after_bridge=true) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [hangup_after_bridge]=[true] EXECUTE sofia/default/6833949103@192.168.1.141 set(continue_on_fail=true) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [continue_on_fail]=[true] EXECUTE sofia/default/6833949103@192.168.1.141 set(account_id=4) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [account_id]=[4] EXECUTE sofia/default/6833949103@192.168.1.141 set(parent_id=0) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [parent_id]=[0] EXECUTE sofia/default/6833949103@192.168.1.141 set(entity_id=0) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [entity_id]=[0] EXECUTE sofia/default/6833949103@192.168.1.141 set(call_processed=internal) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [call_processed]=[internal] EXECUTE sofia/default/6833949103@192.168.1.141 set(call_direction=local) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [call_direction]=[local] EXECUTE sofia/default/6833949103@192.168.1.141 set(accountname=default) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [accountname]=[default] EXECUTE sofia/default/6833949103@192.168.1.141 set(origination_rates=ID:0|CODE:8417705059|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:4) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [origination_rates]=[ID:0|CODE:8417705059|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:4] EXECUTE sofia/default/6833949103@192.168.1.141 set(original_caller_id_name=6833949103) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [original_caller_id_name]=[6833949103] EXECUTE sofia/default/6833949103@192.168.1.141 set(original_caller_id_number=6833949103) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [original_caller_id_number]=[6833949103] EXECUTE sofia/default/6833949103@192.168.1.141 set(effective_caller_id_name=6833949103) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [effective_caller_id_name]=[6833949103] EXECUTE sofia/default/6833949103@192.168.1.141 set(effective_caller_id_number=6833949103) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [effective_caller_id_number]=[6833949103] EXECUTE sofia/default/6833949103@192.168.1.141 set(calltype=LOCAL) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [calltype]=[LOCAL] EXECUTE sofia/default/6833949103@192.168.1.141 set(receiver_accid=2) 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [receiver_accid]=[2] EXECUTE sofia/default/6833949103@192.168.1.141 bridge([leg_timeout=30]user/8417705059@192.168.1.141) 2017-10-09 15:57:17.069720 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2017-10-09 15:57:17.069720 [DEBUG] switch_ivr_originate.c:2580 Parsing session specific variables 2017-10-09 15:57:17.089753 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables 2017-10-09 15:57:17.089753 [NOTICE] switch_channel.c:1104 New Channel sofia/default/8417705059@192.168.1.156:5063 [d34b13a8-ab25-4674-821e-45bd2ade4fa4] 2017-10-09 15:57:17.089753 [DEBUG] mod_sofia.c:4813 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_NEW -> CS_INIT 2017-10-09 15:57:17.089753 [DEBUG] switch_ivr_originate.c:2874 sofia/default/8417705059@192.168.1.156:5063 Setting leg timeout to 30 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_INIT 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:586 (sofia/default/8417705059@192.168.1.156:5063) State INIT 2017-10-09 15:57:17.089753 [DEBUG] mod_sofia.c:89 sofia/default/8417705059@192.168.1.156:5063 SOFIA INIT 2017-10-09 15:57:17.089753 [WARNING] switch_core_port_allocator.c:79 Rounding odd start port 21501 to 21502 nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering 2017-10-09 15:57:17.089753 [DEBUG] sofia_glue.c:1257 sofia/default/8417705059@192.168.1.156:5063 sending invite version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit Local SDP: v=0 o=FreeSWITCH 1507523329 1507523330 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21508 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv nua.c:633 nua_invite() nua: nua_invite: entering nua_stack.c:569 nua_stack_signal() nua(0x7f4df407f930): recv signal r_invite nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:280 soa_clone() soa_clone(static::0x7f4df4196fe0, 0x7f4df4107bf0, 0x7f4df407f930) called soa.c:403 soa_set_params() soa_set_params(static::0x7f4df41203c0, ...) called soa.c:403 soa_set_params() soa_set_params(static::0x7f4df41203c0, ...) called soa.c:1052 soa_set_user_sdp() soa_set_user_sdp(static::0x7f4df41203c0, (nil), 0x7f4df419a0c1, -1) called soa.c:890 soa_set_capability_sdp() soa_set_capability_sdp(static::0x7f4df41203c0, (nil), 0x7f4df419a0c1, -1) called nua_dialog.c:338 nua_dialog_usage_add() nua(0x7f4df407f930): adding session usage nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0x7f4df410a210) soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7f4df41203c0) called soa.c:1426 soa_generate_offer() soa_generate_offer(static::0x7f4df41203c0, 0) called soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df41203c0, soa_generate_offer): called soa_static.c:1187 offer_answer_step() soa_static(0x7f4df41203c0, soa_generate_offer): generating local description soa_static.c:1215 offer_answer_step() soa_static(0x7f4df41203c0, soa_generate_offer): upgrade with local description soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4e12d14ac0, (nil), ""): called soa_static.c:1444 offer_answer_step() soa_static(0x7f4df41203c0, soa_generate_offer): storing local description soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df41203c0, [(nil)], [0x7f4e12d16bf8], [0x7f4e12d16bf4]) called nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip tport.c:3257 tport_tsend() tport_tsend(0x7f4df40405e0) tpn = */192.168.1.156:5063 tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063 tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7f4df40405e0): not found by name */192.168.1.156:5063 tport.c:3594 tport_vsend() tport_vsend(0x7f4df40405e0): 1116 bytes of 1116 to udp/192.168.1.156:5063 tport.c:3492 tport_send_msg() tport_vsend returned 1116 send 1116 bytes to udp/[192.168.1.156]:5063 at 15:57:17.098357: ------------------------------------------------------------------------ INVITE sip:8417705059@192.168.1.156:5063 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSm5XeFQ9cj70S Max-Forwards: 69 From: "6833949103" ;tag=y4F8U5FNtg7QD To: Call-ID: 43dae518-277f-1236-2190-000c297a0201 CSeq: 113436354 INVITE Contact: User-Agent: ASTPP Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 246 Remote-Party-ID: "6833949103" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1507523329 1507523330 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21508 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 ------------------------------------------------------------------------ nta.c:8304 outgoing_send() nta: sent INVITE (113436354) to */192.168.1.156:5063 tport.c:4160 tport_pend() tport_pend(0x7f4df40405e0): pending 0x7f4df410b590 for udp/192.168.1.141:5060 (already 0) nta.c:1348 set_timeout() nta: timer shortened to 1000 ms nua_session.c:4139 signal_call_state_change() nua(0x7f4df407f930): call state changed: init -> calling, sent offer soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df41203c0, [0x7f4e12d16bd8], [0x7f4e12d16be0], [(nil)]) called nua_stack.c:269 nua_stack_event() nua(0x7f4df407f930): event i_state INVITE sent nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:529 nua_signal() nua(0x7f4df407f930): sent signal r_invite 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:40 sofia/default/8417705059@192.168.1.156:5063 Standard INIT 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_INIT -> CS_ROUTING 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:586 (sofia/default/8417705059@192.168.1.156:5063) State INIT going to sleep 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_ROUTING nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:17.089753 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [calling][0] nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:602 (sofia/default/8417705059@192.168.1.156:5063) State ROUTING 2017-10-09 15:57:17.089753 [DEBUG] mod_sofia.c:142 sofia/default/8417705059@192.168.1.156:5063 SOFIA ROUTING 2017-10-09 15:57:17.089753 [DEBUG] switch_ivr_originate.c:67 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:602 (sofia/default/8417705059@192.168.1.156:5063) State ROUTING going to sleep 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_CONSUME_MEDIA 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:621 (sofia/default/8417705059@192.168.1.156:5063) State CONSUME_MEDIA 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:621 (sofia/default/8417705059@192.168.1.156:5063) State CONSUME_MEDIA going to sleep tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df403a900 from (udp/192.168.1.141:5060) has 329 bytes, veclen = 1 recv 329 bytes from udp/[192.168.1.156]:5063 at 15:57:17.169948: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSm5XeFQ9cj70S From: "6833949103" ;tag=y4F8U5FNtg7QD To: Call-ID: 43dae518-277f-1236-2190-000c297a0201 CSeq: 113436354 INVITE User-Agent: Yealink SIP-T21P 34.72.0.75 Content-Length: 0 ------------------------------------------------------------------------ tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): msg 0x7f4df403a900 (329 bytes) from udp/192.168.1.156:5060/sip next=(nil) nta.c:3299 agent_recv_response() nta: received 100 Trying for INVITE (113436354) nta.c:3366 agent_recv_response() nta: 100 Trying is going to a transaction nta.c:9564 outgoing_estimate_delay() nta_outgoing: RTT is 71.712 ms tport.c:4222 tport_release() tport_release(0x7f4df40405e0): 0x7f4df410b590 by 0x7f4df4192430 with 0x7f4df403a900 (preliminary) tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df403a900 from (udp/192.168.1.141:5060) has 561 bytes, veclen = 1 recv 561 bytes from udp/[192.168.1.156]:5063 at 15:57:17.328669: ------------------------------------------------------------------------ SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSm5XeFQ9cj70S From: "6833949103" ;tag=y4F8U5FNtg7QD To: ;tag=1683219177 Call-ID: 43dae518-277f-1236-2190-000c297a0201 CSeq: 113436354 INVITE Contact: Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE User-Agent: Yealink SIP-T21P 34.72.0.75 Allow-Events: talk,hold,conference,refer,check-sync Content-Length: 0 ------------------------------------------------------------------------ tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): msg 0x7f4df403a900 (561 bytes) from udp/192.168.1.156:5060/sip next=(nil) nta.c:3299 agent_recv_response() nta: received 180 Ringing for INVITE (113436354) nta.c:3366 agent_recv_response() nta: 180 Ringing is going to a transaction tport.c:4222 tport_release() tport_release(0x7f4df40405e0): 0x7f4df410b590 by 0x7f4df4192430 with 0x7f4df403a900 (preliminary) nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event r_invite 180 Ringing nua_session.c:4139 signal_call_state_change() nua(0x7f4df407f930): call state changed: calling -> proceeding nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_state 180 Ringing nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:17.449742 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [proceeding][180] 2017-10-09 15:57:17.449742 [NOTICE] sofia.c:6960 Ring-Ready sofia/default/8417705059@192.168.1.156:5063! 2017-10-09 15:57:17.449742 [DEBUG] switch_channel.c:3343 (sofia/default/8417705059@192.168.1.156:5063) Callstate Change DOWN -> RINGING nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:879 nua_respond() nua: nua_respond: entering nua_stack.c:573 nua_stack_signal() nua(0x7f4df418fad0): recv signal r_respond 180 Ringing nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:403 soa_set_params() soa_set_params(static::0x7f4df411fa40, ...) called nua_session.c:2320 nua_invite_server_respond() nua: nua_invite_server_respond: entering tport.c:3257 tport_tsend() tport_tsend(0x7f4df4120180) tpn = TCP/192.168.1.33:33478 tport.c:3594 tport_vsend() tport_vsend(0x7f4df4120180): 758 bytes of 758 to tcp/192.168.1.33:33478 tport.c:3492 tport_send_msg() tport_vsend returned 758 send 758 bytes to tcp/[192.168.1.33]:33478 at 15:57:17.462880: ------------------------------------------------------------------------ SIP/2.0 180 Ringing Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-96e697046a0b865d-1---d8754z-;rport=33478 From: ;tag=5591bb74 To: ;tag=XUpFtaZHX7g5H Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY. CSeq: 2 INVITE Contact: User-Agent: ASTPP Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Length: 0 ------------------------------------------------------------------------ tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer nta.c:6791 incoming_reply() nta: sent 180 Ringing for INVITE (2) nua_session.c:4139 signal_call_state_change() nua(0x7f4df418fad0): call state changed: received -> early nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_state 180 Ringing nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:529 nua_signal() nua(0x7f4df418fad0): sent signal r_respond 2017-10-09 15:57:17.449742 [NOTICE] mod_sofia.c:2198 Ring-Ready sofia/default/6833949103@192.168.1.141! nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:17.449742 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [early][180] nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:17.449742 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/6833949103@192.168.1.141! nta.c:5825 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil), 0x7f4e12d16c60) nta.c:7188 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout, 0/0 term, 1/2 free nta.c:1296 agent_timer() nta: timer set next to 59364 ms tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df4199650 from (udp/192.168.1.141:5060) has 4 bytes, veclen = 1 tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): bad msg 0x7f4df4199650 (4 bytes) from udp/192.168.1.156:5060/sip next=(nil) tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df4199650 from (udp/192.168.1.141:5060) has 749 bytes, veclen = 1 recv 749 bytes from udp/[192.168.1.156]:5063 at 15:57:23.047306: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSm5XeFQ9cj70S From: "6833949103" ;tag=y4F8U5FNtg7QD To: ;tag=1683219177 Call-ID: 43dae518-277f-1236-2190-000c297a0201 CSeq: 113436354 INVITE Contact: Content-Type: application/sdp Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE User-Agent: Yealink SIP-T21P 34.72.0.75 Content-Length: 213 v=0 o=- 20001 20001 IN IP4 192.168.1.156 s=SDP data c=IN IP4 192.168.1.156 t=0 0 m=audio 11782 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=sendrecv a=ptime:20 a=fmtp:101 0-15 a=rtpmap:101 telephone-event/8000 ------------------------------------------------------------------------ tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): msg 0x7f4df4199650 (749 bytes) from udp/192.168.1.156:5060/sip next=(nil) nta.c:3299 agent_recv_response() nta: received 200 OK for INVITE (113436354) nta.c:3366 agent_recv_response() nta: 200 OK is going to a transaction tport.c:4222 tport_release() tport_release(0x7f4df40405e0): 0x7f4df410b590 by 0x7f4df4192430 with 0x7f4df4199650 nta.c:1348 set_timeout() nta: timer shortened to 32000 ms soa.c:1171 soa_set_remote_sdp() soa_set_remote_sdp(static::0x7f4df41203c0, (nil), 0x7f4df4109c88, 213) called soa.c:1595 soa_process_answer() soa_process_answer(static::0x7f4df41203c0) called soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df41203c0, soa_process_answer): called soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4df403a040, 0x7f4df4218bb0, ""): called soa_static.c:1302 offer_answer_step() soa_static(0x7f4df41203c0, soa_process_answer): upgrade codecs with remote description soa_static.c:1444 offer_answer_step() soa_static(0x7f4df41203c0, soa_process_answer): storing local description soa.c:1730 soa_activate() soa_activate(static::0x7f4df41203c0, (nil)) called nua_session.c:988 nua_session_client_response() nua(0x7f4df407f930): INVITE: processed SDP answer in 200 OK nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event r_invite 200 OK nua_session.c:4139 signal_call_state_change() nua(0x7f4df407f930): call state changed: proceeding -> completing, received answer soa.c:1098 soa_get_remote_sdp() soa_get_remote_sdp(static::0x7f4df41203c0, [0x7f4e12d16648], [0x7f4e12d16650], [(nil)]) called soa.c:616 soa_get_params() soa_get_params(static::0x7f4df41203c0, ...) called nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_state 200 OK nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.089753 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [completing][200] 2017-10-09 15:57:23.089753 [DEBUG] sofia.c:6868 Remote SDP: v=0 o=- 20001 20001 IN IP4 192.168.1.156 s=SDP data c=IN IP4 192.168.1.156 t=0 0 m=audio 11782 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 nua.c:639 nua_ack() nua: nua_ack: entering nua_stack.c:569 nua_stack_signal() nua(0x7f4df407f930): recv signal r_ack nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:403 soa_set_params() soa_set_params(static::0x7f4df41203c0, ...) called soa.c:1730 soa_activate() soa_activate(static::0x7f4df41203c0, (nil)) called nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip tport.c:3257 tport_tsend() tport_tsend(0x7f4df40405e0) tpn = */192.168.1.156:5063 tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063 tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7f4df40405e0): not found by name */192.168.1.156:5063 tport.c:3594 tport_vsend() tport_vsend(0x7f4df40405e0): 390 bytes of 390 to udp/192.168.1.156:5063 tport.c:3492 tport_send_msg() tport_vsend returned 390 send 390 bytes to udp/[192.168.1.156]:5063 at 15:57:23.106142: ------------------------------------------------------------------------ ACK sip:8417705059@192.168.1.156:5063 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKtXypga8caUXKN Max-Forwards: 70 From: "6833949103" ;tag=y4F8U5FNtg7QD To: ;tag=1683219177 Call-ID: 43dae518-277f-1236-2190-000c297a0201 CSeq: 113436354 ACK Contact: Content-Length: 0 ------------------------------------------------------------------------ nta.c:8304 outgoing_send() nta: sent ACK (113436354) to */192.168.1.156:5063 nua_session.c:4139 signal_call_state_change() nua(0x7f4df407f930): call state changed: completing -> ready nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_state 200 ACK sent nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_active 200 Call active nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:529 nua_signal() nua(0x7f4df407f930): sent signal r_ack nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.089753 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [ready][200] 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:3090 Set Codec sofia/default/8417705059@192.168.1.156:5063 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-09 15:57:23.089753 [DEBUG] switch_core_codec.c:111 sofia/default/8417705059@192.168.1.156:5063 Original read codec set to PCMA:8 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:4681 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/8417705059@192.168.1.156:5063] 192.168.1.141 port 21508 -> 192.168.1.156 port 11782 codec: 8 ms: 20 2017-10-09 15:57:23.089753 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:6763 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf send payload to 101 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:6770 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf receive payload to 101 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:6793 sofia/default/8417705059@192.168.1.156:5063 Set rtp dtmf delay to 40 2017-10-09 15:57:23.089753 [NOTICE] sofia.c:7826 Channel [sofia/default/8417705059@192.168.1.156:5063] has been answered 2017-10-09 15:57:23.089753 [DEBUG] switch_channel.c:3770 (sofia/default/8417705059@192.168.1.156:5063) Callstate Change RINGING -> ACTIVE nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.169742 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/6833949103@192.168.1.141] 192.168.1.141 port 21510 -> 117.247.91.162 port 8000 codec: 8 ms: 20 2017-10-09 15:57:23.169742 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms 2017-10-09 15:57:23.189713 [DEBUG] switch_core_media.c:6763 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf send payload to 101 2017-10-09 15:57:23.189713 [DEBUG] switch_core_media.c:6770 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf receive payload to 101 2017-10-09 15:57:23.189713 [DEBUG] switch_core_media.c:6793 sofia/default/6833949103@192.168.1.141 Set rtp dtmf delay to 40 2017-10-09 15:57:23.189713 [DEBUG] mod_sofia.c:814 Local SDP sofia/default/6833949103@192.168.1.141: v=0 o=FreeSWITCH 1507523333 1507523334 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21510 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv nua.c:879 nua_respond() nua: nua_respond: entering nua_stack.c:573 nua_stack_signal() nua(0x7f4df418fad0): recv signal r_respond 200 OK nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:403 soa_set_params() soa_set_params(static::0x7f4df411fa40, ...) called soa.c:1052 soa_set_user_sdp() soa_set_user_sdp(static::0x7f4df411fa40, (nil), 0x7f4df41783c7, -1) called soa.c:890 soa_set_capability_sdp() soa_set_capability_sdp(static::0x7f4df411fa40, (nil), 0x7f4df41783c7, -1) called nua_session.c:2320 nua_invite_server_respond() nua: nua_invite_server_respond: entering soa.c:1515 soa_generate_answer() soa_generate_answer(static::0x7f4df411fa40) called soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df411fa40, soa_generate_answer): called soa_static.c:1187 offer_answer_step() soa_static(0x7f4df411fa40, soa_generate_answer): generating local description soa_static.c:1228 offer_answer_step() soa_static(0x7f4df411fa40, soa_generate_answer): upgrade with remote description soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4e12d14b00, 0x7f4df40282c0, ""): called soa_static.c:1444 offer_answer_step() soa_static(0x7f4df411fa40, soa_generate_answer): storing local description soa.c:1730 soa_activate() soa_activate(static::0x7f4df411fa40, (nil)) called soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df411fa40, [(nil)], [0x7f4e12d16c38], [0x7f4e12d16c34]) called tport.c:3257 tport_tsend() tport_tsend(0x7f4df4120180) tpn = TCP/192.168.1.33:33478 tport.c:3594 tport_vsend() tport_vsend(0x7f4df4120180): 1013 bytes of 1013 to tcp/192.168.1.33:33478 tport.c:3492 tport_send_msg() tport_vsend returned 1013 send 1013 bytes to tcp/[192.168.1.33]:33478 at 15:57:23.191294: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-96e697046a0b865d-1---d8754z-;rport=33478 From: ;tag=5591bb74 To: ;tag=XUpFtaZHX7g5H Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY. CSeq: 2 INVITE Contact: User-Agent: ASTPP Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 222 v=0 o=FreeSWITCH 1507523333 1507523334 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21510 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 ------------------------------------------------------------------------ tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer nta.c:6791 incoming_reply() nta: sent 200 OK for INVITE (2) nta.c:1348 set_timeout() nta: timer shortened to 500 ms nua_session.c:4139 signal_call_state_change() nua(0x7f4df418fad0): call state changed: early -> completed, sent answer soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df411fa40, [0x7f4e12d16ce8], [0x7f4e12d16cf0], [(nil)]) called soa.c:616 soa_get_params() soa_get_params(static::0x7f4df411fa40, ...) called nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_state 200 OK nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:529 nua_signal() nua(0x7f4df418fad0): sent signal r_respond nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.189713 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [completed][200] nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.189713 [NOTICE] switch_ivr_originate.c:3549 Channel [sofia/default/6833949103@192.168.1.141] has been answered 2017-10-09 15:57:23.189713 [DEBUG] switch_channel.c:3770 (sofia/default/6833949103@192.168.1.141) Callstate Change RINGING -> ACTIVE 2017-10-09 15:57:23.189713 [DEBUG] switch_ivr_originate.c:3607 Originate Resulted in Success: [sofia/default/8417705059@192.168.1.156:5063] tport.c:2773 tport_wakeup() tport_wakeup(0x7f4df4120180): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df4120180) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df4120180) msg 0x7f4df410db90 from (tcp/192.168.1.33:33478) has 771 bytes, veclen = 1 recv 771 bytes from tcp/[192.168.1.33]:33478 at 15:57:23.195388: ------------------------------------------------------------------------ ACK sip:8417705059@192.168.1.141:5060;transport=tcp SIP/2.0 Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-1eda82391d06de1b-1---d8754z- Max-Forwards: 70 Contact: To: ;tag=XUpFtaZHX7g5H From: ;tag=5591bb74 Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY. CSeq: 2 ACK Proxy-Authorization: Digest username="6833949103",realm="192.168.1.141",nonce="8e288682-fbac-4b25-bbf3-f008a677c9bb",uri="sip:8417705059@192.168.1.141;transport=TCP",response="d9aaf0ba3830546c8b665bd6f56bc8e8",cnonce="b63f96e537a98bfc71c99f8b8c09cd84",nc=00000001,qop=auth,algorithm=MD5 User-Agent: Z 3.3.25608 r25552 Content-Length: 0 ------------------------------------------------------------------------ tport.c:3023 tport_deliver() tport_deliver(0x7f4df4120180): msg 0x7f4df410db90 (771 bytes) from tcp/192.168.1.33:33478/sip next=(nil) nta.c:2880 agent_recv_request() nta: received ACK sip:8417705059@192.168.1.141:5060;transport=tcp SIP/2.0 (CSeq 2) nta.c:3019 agent_recv_request() nta: ACK (2) is going to INVITE (2) nua_session.c:2569 process_ack_or_cancel() nua: process_ack_or_cancel: entering soa.c:1214 soa_clear_remote_sdp() soa_clear_remote_sdp(static::0x7f4df411fa40) called nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_ack 200 OK nua_session.c:4139 signal_call_state_change() nua(0x7f4df418fad0): call state changed: completed -> ready nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_state 200 OK nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_active 200 Call active nta.c:5744 incoming_free() nta: incoming_free(0x7f4df402d910) tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering 2017-10-09 15:57:23.189713 [DEBUG] switch_ivr_originate.c:2874 sofia/default/8417705059@192.168.1.156:5063 Setting leg timeout to 30 nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.189713 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [ready][200] nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.229714 [DEBUG] switch_ivr_originate.c:3607 Originate Resulted in Success: [sofia/default/8417705059@192.168.1.156:5063] 2017-10-09 15:57:23.249717 [DEBUG] switch_ivr_bridge.c:1594 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2017-10-09 15:57:23.249717 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_EXCHANGE_MEDIA 2017-10-09 15:57:23.249717 [DEBUG] switch_core_state_machine.c:612 (sofia/default/8417705059@192.168.1.156:5063) State EXCHANGE_MEDIA 2017-10-09 15:57:23.249717 [DEBUG] mod_sofia.c:628 SOFIA EXCHANGE_MEDIA nua.c:810 nua_update() nua: nua_update: entering nua_stack.c:569 nua_stack_signal() nua(0x7f4df407f930): recv signal r_update nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:403 soa_set_params() soa_set_params(static::0x7f4df41203c0, ...) called soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7f4df41203c0) called soa.c:1426 soa_generate_offer() soa_generate_offer(static::0x7f4df41203c0, 0) called soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df41203c0, soa_generate_offer): called soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4df403a900, (nil), ""): called soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df41203c0, [(nil)], [0x7f4e12d16c48], [0x7f4e12d16c44]) called nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip tport.c:3257 tport_tsend() tport_tsend(0x7f4df40405e0) tpn = */192.168.1.156:5063 tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063 tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7f4df40405e0): not found by name */192.168.1.156:5063 tport.c:3594 tport_vsend() tport_vsend(0x7f4df40405e0): 920 bytes of 920 to udp/192.168.1.156:5063 tport.c:3492 tport_send_msg() tport_vsend returned 920 send 920 bytes to udp/[192.168.1.156]:5063 at 15:57:23.252573: ------------------------------------------------------------------------ UPDATE sip:8417705059@192.168.1.156:5063 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKU6QFj5rg73K6g Max-Forwards: 70 From: "6833949103" ;tag=y4F8U5FNtg7QD To: ;tag=1683219177 Call-ID: 43dae518-277f-1236-2190-000c297a0201 CSeq: 113436355 UPDATE Contact: User-Agent: ASTPP Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Content-Type: application/sdp Content-Disposition: session Content-Length: 246 P-Asserted-Identity: "6833949103" v=0 o=FreeSWITCH 1507523329 1507523330 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 21508 RTP/AVP 8 101 0 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:0 PCMU/8000 a=ptime:20 ------------------------------------------------------------------------ nta.c:8304 outgoing_send() nta: sent UPDATE (113436355) to */192.168.1.156:5063 tport.c:4160 tport_pend() tport_pend(0x7f4df40405e0): pending 0x7f4df4108890 for udp/192.168.1.141:5060 (already 0) nua_session.c:4145 signal_call_state_change() nua(0x7f4df407f930): ready call updated: calling sent offer soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df41203c0, [0x7f4e12d16c28], [0x7f4e12d16c30], [(nil)]) called nua_stack.c:269 nua_stack_event() nua(0x7f4df407f930): event i_state UPDATE sent nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:529 nua_signal() nua(0x7f4df407f930): sent signal r_update nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.249717 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [calling][0] nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.249717 [DEBUG] switch_rtp.c:6707 Correct audio ip/port confirmed. 2017-10-09 15:57:23.449752 [INFO] switch_rtp.c:6669 Auto Changing audio port from 117.247.91.162:8000 to 192.168.1.33:8000 tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df4189b80 from (udp/192.168.1.141:5060) has 749 bytes, veclen = 1 recv 749 bytes from udp/[192.168.1.156]:5063 at 15:57:23.517629: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKU6QFj5rg73K6g From: "6833949103" ;tag=y4F8U5FNtg7QD To: ;tag=1683219177 Call-ID: 43dae518-277f-1236-2190-000c297a0201 CSeq: 113436355 UPDATE Contact: Content-Type: application/sdp Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE User-Agent: Yealink SIP-T21P 34.72.0.75 Content-Length: 213 v=0 o=- 20001 20002 IN IP4 192.168.1.156 s=SDP data c=IN IP4 192.168.1.156 t=0 0 m=audio 11782 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=sendrecv a=ptime:20 a=fmtp:101 0-15 a=rtpmap:101 telephone-event/8000 ------------------------------------------------------------------------ tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): msg 0x7f4df4189b80 (749 bytes) from udp/192.168.1.156:5060/sip next=(nil) nta.c:3299 agent_recv_response() nta: received 200 OK for UPDATE (113436355) nta.c:3366 agent_recv_response() nta: 200 OK is going to a transaction nta.c:9564 outgoing_estimate_delay() nta_outgoing: RTT is 265.22 ms tport.c:4222 tport_release() tport_release(0x7f4df40405e0): 0x7f4df4108890 by 0x7f4df4178380 with 0x7f4df4189b80 soa.c:1171 soa_set_remote_sdp() soa_set_remote_sdp(static::0x7f4df41203c0, (nil), 0x7f4df418a388, 213) called soa.c:1595 soa_process_answer() soa_process_answer(static::0x7f4df41203c0) called soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df41203c0, soa_process_answer): called soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4df403a900, 0x7f4df4142470, ""): called soa_static.c:1302 offer_answer_step() soa_static(0x7f4df41203c0, soa_process_answer): upgrade codecs with remote description soa.c:1730 soa_activate() soa_activate(static::0x7f4df41203c0, (nil)) called nua_session.c:988 nua_session_client_response() nua(0x7f4df407f930): UPDATE: processed SDP answer in 200 OK nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event r_update 200 OK nua_session.c:4145 signal_call_state_change() nua(0x7f4df407f930): ready call updated: ready received answer soa.c:1098 soa_get_remote_sdp() soa_get_remote_sdp(static::0x7f4df41203c0, [0x7f4e12d166d8], [0x7f4e12d166e0], [(nil)]) called soa.c:616 soa_get_params() soa_get_params(static::0x7f4df41203c0, ...) called nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_state 200 OK nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_active 200 Call active nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:57:23.509714 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [ready][200] 2017-10-09 15:57:23.509714 [DEBUG] sofia.c:6868 Remote SDP: v=0 o=- 20001 20002 IN IP4 192.168.1.156 s=SDP data c=IN IP4 192.168.1.156 t=0 0 m=audio 11782 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2017-10-09 15:57:23.530056 [DEBUG] switch_core_media.c:4355 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2017-10-09 15:57:23.530056 [DEBUG] switch_core_media.c:4410 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2017-10-09 15:57:23.530056 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000 2017-10-09 15:57:23.530056 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000 2017-10-09 15:57:23.530056 [DEBUG] switch_core_media.c:4681 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf send payload to 101 recv payload to 101 2017-10-09 15:57:23.530056 [DEBUG] sofia.c:7669 Processing updated SDP 2017-10-09 15:57:23.530056 [DEBUG] switch_core_media.c:6447 Audio params are unchanged for sofia/default/8417705059@192.168.1.156:5063. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nta.c:1296 agent_timer() nta: timer set next to 4827 ms freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> freeswitch@freeswitch> nta.c:9101 outgoing_timer_dk() nta: timer K fired, terminate UPDATE (113436355) nta.c:8799 outgoing_reclaim_queued() outgoing_reclaim_all((nil), (nil), 0x7f4e12d16d40) nta.c:8929 _nta_outgoing_timer() nta_outgoing_timer: 0/0 resent, 0/1 tout, 1/2 term, 1/3 free nta.c:1296 agent_timer() nta: timer set next to 26529 ms freeswitch@freeswitch> fsc [ fsctl] freeswitch@freeswitch> fsctl cra [ crash] freeswitch@freeswitch> fsctl crash Socket interrupted, bye! root@astpptest2:/home/inextrix# ============================================= Node2 ================================================================= freeswitch@freeswitch> sofia recover Recovered 2 call(s) 2017-10-09 15:58:08.749344 [NOTICE] switch_channel.c:1104 New Channel sofia/default/8417705059@192.168.1.156:5063 [883015e7-fc3f-40bb-9ef8-374c11f0c51f] 2017-10-09 15:58:08.749344 [NOTICE] switch_channel.c:1102 Rename Channel sofia/default/8417705059@192.168.1.156:5063->sofia/default/8417705059@192.168.1.156:5063 [883015e7-fc3f-40bb-9ef8-374c11f0c51f] 2017-10-09 15:58:08.749344 [DEBUG] switch_core_media.c:3057 Set Codec sofia/default/8417705059@192.168.1.156:5063 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-09 15:58:08.749344 [DEBUG] switch_core_codec.c:111 sofia/default/8417705059@192.168.1.156:5063 Original read codec set to PCMA:8 2017-10-09 15:58:08.749344 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/default/8417705059@192.168.1.156:5063] 192.168.1.141 port 24756 -> 192.168.1.156 port 11780 codec: 8 ms: 20 2017-10-09 15:58:08.749344 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms 2017-10-09 15:58:08.749344 [DEBUG] switch_core_media.c:7175 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf send payload to 101 2017-10-09 15:58:08.749344 [DEBUG] switch_core_media.c:7182 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf receive payload to 101 2017-10-09 15:58:08.749344 [DEBUG] switch_core_media.c:7205 sofia/default/8417705059@192.168.1.156:5063 Set rtp dtmf delay to 40 2017-10-09 15:58:08.749344 [DEBUG] switch_core_sqldb.c:3041 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_NEW -> CS_INIT 2017-10-09 15:58:08.749344 [NOTICE] switch_core_sqldb.c:3042 Resurrecting fallen channel sofia/default/8417705059@192.168.1.156:5063 2017-10-09 15:58:08.749344 [NOTICE] switch_channel.c:1104 New Channel sofia/default/6833949103@192.168.1.141 [cf0428a8-0331-445f-99e1-28a1c9e93235] 2017-10-09 15:58:08.749344 [NOTICE] switch_channel.c:1102 Rename Channel sofia/default/6833949103@192.168.1.141->sofia/default/6833949103@192.168.1.141 [cf0428a8-0331-445f-99e1-28a1c9e93235] 2017-10-09 15:58:08.749344 [DEBUG] switch_core_media.c:3057 Set Codec sofia/default/6833949103@192.168.1.141 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2017-10-09 15:58:08.749344 [DEBUG] switch_core_codec.c:111 sofia/default/6833949103@192.168.1.141 Original read codec set to PCMA:8 2017-10-09 15:58:08.749344 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/default/6833949103@192.168.1.141] 192.168.1.141 port 25526 -> 117.247.91.162 port 8000 codec: 8 ms: 20 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_INIT (Cur 2 Tot 2) 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:627 (sofia/default/8417705059@192.168.1.156:5063) State INIT 2017-10-09 15:58:08.749344 [DEBUG] mod_sofia.c:90 sofia/default/8417705059@192.168.1.156:5063 SOFIA INIT nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering 2017-10-09 15:58:08.749344 [DEBUG] sofia_glue.c:1295 sofia/default/8417705059@192.168.1.156:5063 sending invite version: 1.6.18 64bit Local SDP: v=0 o=FreeSWITCH 1507520132 1507520134 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 24756 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/0 a=fmtp:101 0-16 a=ptime:20 a=sendrecv nua.c:633 nua_invite() nua: nua_invite: entering nua_stack.c:569 nua_stack_signal() nua(0x7fe7d00132a0): recv signal r_invite nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:280 soa_clone() soa_clone(static::0x7fe7e0207ac0, 0x7fe7e0201b90, 0x7fe7d00132a0) called soa.c:403 soa_set_params() soa_set_params(static::0x7fe7e0145b00, ...) called soa.c:403 soa_set_params() soa_set_params(static::0x7fe7e0145b00, ...) called soa.c:1052 soa_set_user_sdp() soa_set_user_sdp(static::0x7fe7e0145b00, (nil), 0x7fe7d00410c1, -1) called soa.c:890 soa_set_capability_sdp() soa_set_capability_sdp(static::0x7fe7e0145b00, (nil), 0x7fe7d00410c1, -1) called nua_dialog.c:338 nua_dialog_usage_add() nua(0x7fe7d00132a0): adding session usage nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0x7fe7e015f020) soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7fe7e0145b00) called soa.c:1426 soa_generate_offer() soa_generate_offer(static::0x7fe7e0145b00, 0) called soa_static.c:1148 offer_answer_step() soa_static_offer_answer_action(0x7fe7e0145b00, soa_generate_offer): called soa_static.c:1189 offer_answer_step() soa_static(0x7fe7e0145b00, soa_generate_offer): generating local description soa_static.c:1217 offer_answer_step() soa_static(0x7fe7e0145b00, soa_generate_offer): upgrade with local description soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7fe7e8f88ac0, (nil), ""): called soa_static.c:1446 offer_answer_step() soa_static(0x7fe7e0145b00, soa_generate_offer): storing local description soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7fe7e0145b00, [(nil)], [0x7fe7e8f8abf8], [0x7fe7e8f8abf4]) called nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip tport.c:3257 tport_tsend() tport_tsend(0x7fe7e020a2d0) tpn = UDP/192.168.1.156:5063 tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063 tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7fe7e020a2d0): not found by name UDP/192.168.1.156:5063 tport.c:3594 tport_vsend() tport_vsend(0x7fe7e020a2d0): 1105 bytes of 1105 to udp/192.168.1.156:5063 tport.c:3492 tport_send_msg() tport_vsend returned 1105 nta.c:8304 outgoing_send() nta: sent INVITE (113436380) to UDP/192.168.1.156:5063 tport.c:4160 tport_pend() tport_pend(0x7fe7e020a2d0): pending 0x7fe7e015f6f0 for udp/192.168.1.141:5060 (already 0) nta.c:1350 set_timeout() nta: timer set to 32000 ms nta.c:1348 set_timeout() nta: timer shortened to 1000 ms nua_session.c:4139 signal_call_state_change() nua(0x7fe7d00132a0): call state changed: init -> calling, sent offer soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7fe7e0145b00, [0x7fe7e8f8abd8], [0x7fe7e8f8abe0], [(nil)]) called nua_stack.c:269 nua_stack_event() nua(0x7fe7d00132a0): event i_state INVITE sent nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:529 nua_signal() nua(0x7fe7d00132a0): sent signal r_invite 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:40 sofia/default/8417705059@192.168.1.156:5063 Standard INIT 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:43 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_INIT -> CS_RESET 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:627 (sofia/default/8417705059@192.168.1.156:5063) State INIT going to sleep 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_RESET (Cur 2 Tot 2) nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:58:08.749344 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [calling][0] nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:646 (sofia/default/8417705059@192.168.1.156:5063) State RESET 2017-10-09 15:58:08.749344 [DEBUG] mod_sofia.c:161 sofia/default/8417705059@192.168.1.156:5063 SOFIA RESET 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:188 sofia/default/8417705059@192.168.1.156:5063 Standard RESET 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:646 (sofia/default/8417705059@192.168.1.156:5063) State RESET going to sleep 2017-10-09 15:58:08.749344 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms 2017-10-09 15:58:08.769339 [DEBUG] switch_core_media.c:7175 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf send payload to 101 2017-10-09 15:58:08.769339 [DEBUG] switch_core_media.c:7182 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf receive payload to 101 2017-10-09 15:58:08.769339 [DEBUG] switch_core_media.c:7205 sofia/default/6833949103@192.168.1.141 Set rtp dtmf delay to 40 2017-10-09 15:58:08.769339 [DEBUG] switch_core_sqldb.c:3041 (sofia/default/6833949103@192.168.1.141) State Change CS_NEW -> CS_INIT 2017-10-09 15:58:08.769339 [NOTICE] switch_core_sqldb.c:3042 Resurrecting fallen channel sofia/default/6833949103@192.168.1.141 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6833949103@192.168.1.141) Running State Change CS_INIT (Cur 2 Tot 2) 2017-10-09 15:58:08.769339 [DEBUG] switch_channel.c:2251 (sofia/default/6833949103@192.168.1.141) Callstate Change DOWN -> ACTIVE 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6833949103@192.168.1.141) State INIT 2017-10-09 15:58:08.769339 [DEBUG] mod_sofia.c:90 sofia/default/6833949103@192.168.1.141 SOFIA INIT nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering 2017-10-09 15:58:08.769339 [DEBUG] sofia_glue.c:1264 sip:8417705059@192.168.1.33:33186 Setting proxy route to sofia/default/6833949103@192.168.1.141 2017-10-09 15:58:08.769339 [DEBUG] sofia_glue.c:1295 sofia/default/6833949103@192.168.1.141 sending invite version: 1.6.18 64bit Local SDP: v=0 o=FreeSWITCH 1507519362 1507519364 IN IP4 192.168.1.141 s=FreeSWITCH c=IN IP4 192.168.1.141 t=0 0 m=audio 25526 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/0 a=fmtp:101 0-16 a=ptime:20 a=sendrecv nua.c:633 nua_invite() nua: nua_invite: entering nua_stack.c:569 nua_stack_signal() nua(0x7fe7d004fb30): recv signal r_invite nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:280 soa_clone() soa_clone(static::0x7fe7e0207ac0, 0x7fe7e0201b90, 0x7fe7d004fb30) called soa.c:403 soa_set_params() soa_set_params(static::0x7fe7e011e5c0, ...) called soa.c:403 soa_set_params() soa_set_params(static::0x7fe7e011e5c0, ...) called soa.c:1052 soa_set_user_sdp() soa_set_user_sdp(static::0x7fe7e011e5c0, (nil), 0x7fe7d002e447, -1) called soa.c:890 soa_set_capability_sdp() soa_set_capability_sdp(static::0x7fe7e011e5c0, (nil), 0x7fe7d002e447, -1) called nua_dialog.c:338 nua_dialog_usage_add() nua(0x7fe7d004fb30): adding session usage nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0x7fe7e01ffcd0) soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7fe7e011e5c0) called soa.c:1426 soa_generate_offer() soa_generate_offer(static::0x7fe7e011e5c0, 0) called soa_static.c:1148 offer_answer_step() soa_static_offer_answer_action(0x7fe7e011e5c0, soa_generate_offer): called soa_static.c:1189 offer_answer_step() soa_static(0x7fe7e011e5c0, soa_generate_offer): generating local description soa_static.c:1217 offer_answer_step() soa_static(0x7fe7e011e5c0, soa_generate_offer): upgrade with local description soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7fe7e8f88ac0, (nil), ""): called soa_static.c:1446 offer_answer_step() soa_static(0x7fe7e011e5c0, soa_generate_offer): storing local description soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7fe7e011e5c0, [(nil)], [0x7fe7e8f8abf8], [0x7fe7e8f8abf4]) called nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip tport.c:3257 tport_tsend() tport_tsend(0x7fe7e020a780) tpn = TCP/192.168.1.33:33186 tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.33:33186 tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7fe7e020a780): not found by name TCP/192.168.1.33:33186 tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7fe7e020a780): new secondary tport 0x7fe7e0029390 tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fe7e0029390): Setting TCP_KEEPIDLE to 30 tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fe7e0029390): Setting TCP_KEEPINTVL to 30 tport.c:1032 tport_base_connect() tport_base_connect(0x7fe7e0029390): connecting to tcp/192.168.1.33:33186/sip tport.c:2296 tport_set_secondary_timer() tport(0x7fe7e0029390): reset timer tport.c:3782 tport_queue() tport_queue(0x7fe7e0029390): queueing 0x7fe7e0014c10 for tcp/192.168.1.33:33186 nta.c:8304 outgoing_send() nta: sent INVITE (113436380) to TCP/192.168.1.33:33186 tport.c:4160 tport_pend() tport_pend(0x7fe7e0029390): pending 0x7fe7e0014c10 for tcp/192.168.1.33:33186 (already 0) nua_session.c:4139 signal_call_state_change() nua(0x7fe7d004fb30): call state changed: init -> calling, sent offer soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7fe7e011e5c0, [0x7fe7e8f8abd8], [0x7fe7e8f8abe0], [(nil)]) called nua_stack.c:269 nua_stack_event() nua(0x7fe7d004fb30): event i_state INVITE sent nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:529 nua_signal() nua(0x7fe7d004fb30): sent signal r_invite 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:40 sofia/default/6833949103@192.168.1.141 Standard INIT 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:43 (sofia/default/6833949103@192.168.1.141) State Change CS_INIT -> CS_RESET tport.c:2689 tport_connected() tport_connected(0x7fe7e0029390): events CONNECTED ERR tport.c:4222 tport_release() tport_release(0x7fe7e0029390): 0x7fe7e0014c10 by 0x7fe7e021c700 with (nil) nta.c:8496 outgoing_print_tport_error() nta: INVITE (113436380): Connection refused (111) with tcp/[192.168.1.33]:33186 nua_stack.c:271 nua_stack_event() nua(0x7fe7d004fb30): event r_invite 503 Service Unavailable nua_session.c:4139 signal_call_state_change() nua(0x7fe7d004fb30): call state changed: calling -> init nua_stack.c:271 nua_stack_event() nua(0x7fe7d004fb30): event i_state 503 Service Unavailable nua_stack.c:271 nua_stack_event() nua(0x7fe7d004fb30): event i_terminated 503 Service Unavailable nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x7fe7d004fb30): removing session usage soa.c:356 soa_destroy() soa_destroy(static::0x7fe7e011e5c0) called nta.c:4470 nta_leg_destroy() nta_leg_destroy(0x7fe7e01ffcd0) tport.c:2090 tport_close() tport_close(0x7fe7e0029390): tcp/192.168.1.33:33186/sip nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6833949103@192.168.1.141) State INIT going to sleep 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6833949103@192.168.1.141) Running State Change CS_RESET (Cur 2 Tot 2) nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:58:08.769339 [DEBUG] sofia.c:7048 Channel sofia/default/6833949103@192.168.1.141 entering state [calling][0] nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:58:08.769339 [DEBUG] sofia.c:7048 Channel sofia/default/6833949103@192.168.1.141 entering state [terminated][503] 2017-10-09 15:58:08.769339 [NOTICE] sofia.c:8237 Hangup sofia/default/6833949103@192.168.1.141 [CS_RESET] [NORMAL_TEMPORARY_FAILURE] nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering nua_stack.c:569 nua_stack_signal() nua(0x7fe7d004fb30): recv signal r_destroy nta.c:4470 nta_leg_destroy() nta_leg_destroy((nil)) nua_stack.c:529 nua_signal() nua(0x7fe7d004fb30): sent signal r_destroy nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:646 (sofia/default/6833949103@192.168.1.141) State RESET 2017-10-09 15:58:08.769339 [DEBUG] mod_sofia.c:161 sofia/default/6833949103@192.168.1.141 SOFIA RESET 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:646 (sofia/default/6833949103@192.168.1.141) State RESET going to sleep 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6833949103@192.168.1.141) Running State Change CS_HANGUP (Cur 2 Tot 2) 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:850 (sofia/default/6833949103@192.168.1.141) Callstate Change ACTIVE -> HANGUP 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:852 (sofia/default/6833949103@192.168.1.141) State HANGUP 2017-10-09 15:58:08.769339 [DEBUG] mod_sofia.c:438 Channel sofia/default/6833949103@192.168.1.141 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:60 sofia/default/6833949103@192.168.1.141 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:852 (sofia/default/6833949103@192.168.1.141) State HANGUP going to sleep 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:619 (sofia/default/6833949103@192.168.1.141) State Change CS_HANGUP -> CS_REPORTING 2017-10-09 15:58:08.769339 [CONSOLE] sofia_presence.c:1619 Event Thread Started 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6833949103@192.168.1.141) Running State Change CS_REPORTING (Cur 2 Tot 2) 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:938 (sofia/default/6833949103@192.168.1.141) State REPORTING 2017-10-09 15:58:08.769339 [INFO] mod_json_cdr.c:271 Process [cf0428a8-0331-445f-99e1-28a1c9e93235.cdr.json] tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fe7e020a2d0): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7fe7e020a2d0) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7fe7e020a2d0) msg 0x7fe7e0164400 from (udp/192.168.1.141:5060) has 344 bytes, veclen = 1 tport.c:3023 tport_deliver() tport_deliver(0x7fe7e020a2d0): msg 0x7fe7e0164400 (344 bytes) from udp/192.168.1.156:5060/sip next=(nil) nta.c:3299 agent_recv_response() nta: received 100 Trying for INVITE (113436380) nta.c:3366 agent_recv_response() nta: 100 Trying is going to a transaction nta.c:9564 outgoing_estimate_delay() nta_outgoing: RTT is 107.428 ms tport.c:4222 tport_release() tport_release(0x7fe7e020a2d0): 0x7fe7e015f6f0 by 0x7fe7e0161ce0 with 0x7fe7e0164400 (preliminary) tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fe7e020a2d0): events IN tport.c:2864 tport_recv_event() tport_recv_event(0x7fe7e020a2d0) tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7fe7e020a2d0) msg 0x7fe7e0164400 from (udp/192.168.1.141:5060) has 373 bytes, veclen = 1 tport.c:3023 tport_deliver() tport_deliver(0x7fe7e020a2d0): msg 0x7fe7e0164400 (373 bytes) from udp/192.168.1.156:5060/sip next=(nil) nta.c:3299 agent_recv_response() nta: received 481 Call Leg/Transaction Does Not Exist for INVITE (113436380) nta.c:3366 agent_recv_response() nta: 481 Call Leg/Transaction Does Not Exist is going to a transaction tport.c:4222 tport_release() tport_release(0x7fe7e020a2d0): 0x7fe7e015f6f0 by 0x7fe7e0161ce0 with 0x7fe7e0164400 tport.c:3257 tport_tsend() tport_tsend(0x7fe7e020a2d0) tpn = UDP/192.168.1.156:5063 tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063 tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7fe7e020a2d0): not found by name UDP/192.168.1.156:5063 tport.c:3594 tport_vsend() tport_vsend(0x7fe7e020a2d0): 345 bytes of 345 to udp/192.168.1.156:5063 tport.c:3492 tport_send_msg() tport_vsend returned 345 nta.c:8304 outgoing_send() nta: sent ACK (113436380) to UDP/192.168.1.156:5063 nta.c:8722 outgoing_free() nta: outgoing_free(0x7fe7e0145180) nua_stack.c:271 nua_stack_event() nua(0x7fe7d00132a0): event r_invite 481 Call Leg/Transaction Does Not Exist nua_session.c:4139 signal_call_state_change() nua(0x7fe7d00132a0): call state changed: calling -> terminated nua_stack.c:271 nua_stack_event() nua(0x7fe7d00132a0): event i_state 481 Call Leg/Transaction Does Not Exist nua_stack.c:271 nua_stack_event() nua(0x7fe7d00132a0): event i_terminated 481 Call Leg/Transaction Does Not Exist nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x7fe7d00132a0): removing session usage soa.c:356 soa_destroy() soa_destroy(static::0x7fe7e0145b00) called nta.c:4470 nta_leg_destroy() nta_leg_destroy(0x7fe7e015f020) nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua_stack.c:359 nua_application_event() nua: nua_application_event: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering 2017-10-09 15:58:08.889368 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [terminated][481] 2017-10-09 15:58:08.889368 [NOTICE] sofia.c:8237 Hangup sofia/default/8417705059@192.168.1.156:5063 [CS_RESET] [NORMAL_TEMPORARY_FAILURE] nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering nua_stack.c:569 nua_stack_signal() nua(0x7fe7d00132a0): recv signal r_destroy nta.c:4470 nta_leg_destroy() nta_leg_destroy((nil)) nua_stack.c:529 nua_signal() nua(0x7fe7d00132a0): sent signal r_destroy nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_HANGUP (Cur 2 Tot 2) 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:850 (sofia/default/8417705059@192.168.1.156:5063) Callstate Change DOWN -> HANGUP 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:852 (sofia/default/8417705059@192.168.1.156:5063) State HANGUP 2017-10-09 15:58:08.889368 [DEBUG] mod_sofia.c:432 sofia/default/8417705059@192.168.1.156:5063 Overriding SIP cause 503 with 503 from the other leg 2017-10-09 15:58:08.889368 [DEBUG] mod_sofia.c:438 Channel sofia/default/8417705059@192.168.1.156:5063 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:60 sofia/default/8417705059@192.168.1.156:5063 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:852 (sofia/default/8417705059@192.168.1.156:5063) State HANGUP going to sleep 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:619 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_HANGUP -> CS_REPORTING 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_REPORTING (Cur 2 Tot 2) 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:938 (sofia/default/8417705059@192.168.1.156:5063) State REPORTING 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:174 sofia/default/8417705059@192.168.1.156:5063 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:938 (sofia/default/8417705059@192.168.1.156:5063) State REPORTING going to sleep 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:610 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_REPORTING -> CS_DESTROY 2017-10-09 15:58:08.889368 [DEBUG] switch_core_session.c:1664 Session 1 (sofia/default/8417705059@192.168.1.156:5063) Locked, Waiting on external entities 2017-10-09 15:58:08.889368 [NOTICE] switch_core_session.c:1682 Session 1 (sofia/default/8417705059@192.168.1.156:5063) Ended 2017-10-09 15:58:08.889368 [NOTICE] switch_core_session.c:1686 Close Channel sofia/default/8417705059@192.168.1.156:5063 [CS_DESTROY] 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:741 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_DESTROY (Cur 1 Tot 2) 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:751 (sofia/default/8417705059@192.168.1.156:5063) State DESTROY 2017-10-09 15:58:08.889368 [DEBUG] mod_sofia.c:343 sofia/default/8417705059@192.168.1.156:5063 SOFIA DESTROY 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:181 sofia/default/8417705059@192.168.1.156:5063 Standard DESTROY 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:751 (sofia/default/8417705059@192.168.1.156:5063) State DESTROY going to sleep 2017-10-09 15:58:08.929340 [DEBUG] switch_core_state_machine.c:174 sofia/default/6833949103@192.168.1.141 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2017-10-09 15:58:08.929340 [DEBUG] switch_core_state_machine.c:938 (sofia/default/6833949103@192.168.1.141) State REPORTING going to sleep 2017-10-09 15:58:08.929340 [DEBUG] switch_core_state_machine.c:610 (sofia/default/6833949103@192.168.1.141) State Change CS_REPORTING -> CS_DESTROY 2017-10-09 15:58:08.929340 [DEBUG] switch_core_session.c:1664 Session 2 (sofia/default/6833949103@192.168.1.141) Locked, Waiting on external entities 2017-10-09 15:58:08.929340 [NOTICE] switch_core_session.c:1682 Session 2 (sofia/default/6833949103@192.168.1.141) Ended 2017-10-09 15:58:08.929340 [NOTICE] switch_core_session.c:1686 Close Channel sofia/default/6833949103@192.168.1.141 [CS_DESTROY] 2017-10-09 15:58:08.929340 [DEBUG] switch_core_state_machine.c:741 (sofia/default/6833949103@192.168.1.141) Running State Change CS_DESTROY (Cur 0 Tot 2) 2017-10-09 15:58:08.929340 [DEBUG] switch_core_state_machine.c:751 (sofia/default/6833949103@192.168.1.141) State DESTROY 2017-10-09 15:58:08.929340 [DEBUG] mod_sofia.c:343 sofia/default/6833949103@192.168.1.141 SOFIA DESTROY 2017-10-09 15:58:08.929340 [DEBUG] switch_core_state_machine.c:181 sofia/default/6833949103@192.168.1.141 Standard DESTROY 2017-10-09 15:58:08.929340 [DEBUG] switch_core_state_machine.c:751 (sofia/default/6833949103@192.168.1.141) State DESTROY going to sleep freeswitch@freeswitch> freeswitch@freeswitch> nta.c:1296 agent_timer() nta: timer set next to 31005 ms freeswitch@freeswitch> /exit