From ketank, 7 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and sofia recover call hangup issue
  1.  
  2. ============================================= Node1 =================================================================
  3.  
  4. tport.c:2773 tport_wakeup() tport_wakeup(0x7f4df4120180): events IN
  5. tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df4120180)
  6. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df4120180) msg 0x7f4df4197bd0 from (tcp/192.168.1.33:33478) has 384 bytes, veclen = 1
  7. recv 384 bytes from tcp/[192.168.1.33]:33478 at 15:57:16.907028:
  8.    ------------------------------------------------------------------------
  9.    ACK sip:8417705059@192.168.1.141;transport=TCP SIP/2.0
  10.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-c573cc07f0d30df6-1---d8754z-
  11.    Max-Forwards: 70
  12.    To: <sip:8417705059@192.168.1.141;transport=TCP>;tag=vjXprFee0ytjp
  13.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=5591bb74
  14.    Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY.
  15.    CSeq: 1 ACK
  16.    Content-Length: 0
  17.    
  18.    ------------------------------------------------------------------------
  19. tport.c:3023 tport_deliver() tport_deliver(0x7f4df4120180): msg 0x7f4df4197bd0 (384 bytes) from tcp/192.168.1.33:33478/sip next=(nil)
  20. nta.c:2880 agent_recv_request() nta: received ACK sip:8417705059@192.168.1.141;transport=TCP SIP/2.0 (CSeq 1)
  21. nta.c:3019 agent_recv_request() nta: ACK (1) is going to INVITE (1)
  22. tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer
  23. tport.c:2773 tport_wakeup() tport_wakeup(0x7f4df4120180): events IN
  24. tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df4120180)
  25. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df4120180) msg 0x7f4df4197bd0 from (tcp/192.168.1.33:33478) has 1219 bytes, veclen = 1
  26. recv 1219 bytes from tcp/[192.168.1.33]:33478 at 15:57:16.944288:
  27.    ------------------------------------------------------------------------
  28.    INVITE sip:8417705059@192.168.1.141;transport=TCP SIP/2.0
  29.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-96e697046a0b865d-1---d8754z-
  30.    Max-Forwards: 70
  31.    Contact: <sip:6833949103@117.247.91.162:49554;transport=TCP>
  32.    To: <sip:8417705059@192.168.1.141;transport=TCP>
  33.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=5591bb74
  34.    Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY.
  35.    CSeq: 2 INVITE
  36.   Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  37.    Content-Type: application/sdp
  38.    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
  39.    Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
  40.    User-Agent: Z 3.3.25608 r25552
  41.    Allow-Events: presence, kpml
  42.    Content-Length: 243
  43.    
  44.    v=0
  45.    o=Z 0 0 IN IP4 117.247.91.162
  46.    s=Z
  47.    c=IN IP4 117.247.91.162
  48.    t=0 0
  49.    m=audio 8000 RTP/AVP 3 110 8 0 98 101
  50.    a=rtpmap:110 speex/8000
  51.    a=rtpmap:98 iLBC/8000
  52.    a=fmtp:98 mode=20
  53.    a=rtpmap:101 telephone-event/8000
  54.    a=fmtp:101 0-15
  55.    a=sendrecv
  56.    ------------------------------------------------------------------------
  57. tport.c:3023 tport_deliver() tport_deliver(0x7f4df4120180): msg 0x7f4df4197bd0 (1219 bytes) from tcp/192.168.1.33:33478/sip next=(nil)
  58. nta.c:2880 agent_recv_request() nta: received INVITE sip:8417705059@192.168.1.141;transport=TCP SIP/2.0 (CSeq 2)
  59. nta.c:3248 agent_aliases() nta: canonizing sip:8417705059@192.168.1.141 with contact
  60. nta.c:3085 agent_recv_request() nta: INVITE (2) going to a default leg
  61. nua_server.c:102 nua_stack_process_request() nua: nua_stack_process_request: entering
  62. nua_stack.c:899 nh_create() nua: nh_create: entering
  63. nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
  64. nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
  65. soa.c:280 soa_clone() soa_clone(static::0x7f4df4196fe0, 0x7f4df4107bf0, 0x7f4df418fad0) called
  66. soa.c:403 soa_set_params() soa_set_params(static::0x7f4df411fa40, ...) called
  67. nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0x7f4df4056660)
  68. soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7f4df411fa40) called
  69. soa.c:1171 soa_set_remote_sdp() soa_set_remote_sdp(static::0x7f4df411fa40, (nil), 0x7f4df4194990, 243) called
  70. nua_dialog.c:338 nua_dialog_usage_add() nua(0x7f4df418fad0): adding session usage
  71. tport.c:3257 tport_tsend() tport_tsend(0x7f4df4120180) tpn = TCP/192.168.1.33:33478
  72. tport.c:3594 tport_vsend() tport_vsend(0x7f4df4120180): 346 bytes of 346 to tcp/192.168.1.33:33478
  73. tport.c:3492 tport_send_msg() tport_vsend returned 346
  74. send 346 bytes to tcp/[192.168.1.33]:33478 at 15:57:16.944614:
  75.    ------------------------------------------------------------------------
  76.    SIP/2.0 100 Trying
  77.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-96e697046a0b865d-1---d8754z-;rport=33478
  78.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=5591bb74
  79.    To: <sip:8417705059@192.168.1.141;transport=TCP>
  80.    Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY.
  81.    CSeq: 2 INVITE
  82.    User-Agent: ASTPP
  83.    Content-Length: 0
  84.    
  85.    ------------------------------------------------------------------------
  86. tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer
  87. nta.c:6791 incoming_reply() nta: sent 100 Trying for INVITE (2)
  88. nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_invite 100 Trying
  89. nua_session.c:4139 signal_call_state_change() nua(0x7f4df418fad0): call state changed: init -> received, received offer
  90. soa.c:1098 soa_get_remote_sdp() soa_get_remote_sdp(static::0x7f4df411fa40, [0x7f4e12d168c8], [0x7f4e12d168d0], [(nil)]) called
  91. nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_state 100 Trying
  92. tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer
  93. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  94. nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
  95. 2017-10-09 15:57:16.929881 [DEBUG] sofia.c:2322 Re-attaching to session f4586972-9843-4e70-bbe8-2e65b90004a2
  96. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  97. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  98. 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
  99. 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.
  100. 2017-10-09 15:57:17.009751 [DEBUG] sofia.c:10678 Setting NAT mode based on via port
  101. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  102. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  103. 2017-10-09 15:57:17.009751 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [received][100]
  104. 2017-10-09 15:57:17.009751 [DEBUG] sofia.c:6868 Remote SDP:
  105. v=0
  106. o=Z 0 0 IN IP4 117.247.91.162
  107. s=Z
  108. c=IN IP4 117.247.91.162
  109. t=0 0
  110. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  111. a=rtpmap:110 speex/8000
  112. a=rtpmap:98 iLBC/8000
  113. a=fmtp:98 mode=20
  114. a=rtpmap:101 telephone-event/8000
  115. a=fmtp:101 0-15
  116.  
  117. 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]
  118. 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]
  119. 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]
  120. 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]
  121. 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]
  122. 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
  123. 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]
  124. 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]
  125. 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]
  126. 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
  127. 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]
  128. 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]
  129. 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
  130. 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
  131. 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
  132. 2017-10-09 15:57:17.009751 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000
  133. 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
  134. 2017-10-09 15:57:17.009751 [DEBUG] sofia.c:7248 (sofia/default/6833949103@192.168.1.141) State Change CS_NEW -> CS_INIT
  135. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  136. 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
  137. 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:586 (sofia/default/6833949103@192.168.1.141) State INIT
  138. 2017-10-09 15:57:17.009751 [DEBUG] mod_sofia.c:89 sofia/default/6833949103@192.168.1.141 SOFIA INIT
  139. 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:40 sofia/default/6833949103@192.168.1.141 Standard INIT
  140. 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
  141. 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
  142. 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
  143. 2017-10-09 15:57:17.009751 [DEBUG] switch_channel.c:2249 (sofia/default/6833949103@192.168.1.141) Callstate Change DOWN -> RINGING
  144. 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:602 (sofia/default/6833949103@192.168.1.141) State ROUTING
  145. 2017-10-09 15:57:17.009751 [DEBUG] mod_sofia.c:142 sofia/default/6833949103@192.168.1.141 SOFIA ROUTING
  146. 2017-10-09 15:57:17.009751 [DEBUG] switch_core_state_machine.c:236 sofia/default/6833949103@192.168.1.141 Standard ROUTING
  147. 2017-10-09 15:57:17.009751 [INFO] mod_dialplan_xml.c:637 Processing 6833949103 <6833949103>->8417705059 in context default
  148. 2017-10-09 15:57:17.009751 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f4df418a670 Connected.
  149. 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')
  150. 2017-10-09 15:57:17.009751 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Dialed number : 8417705059
  151. 2017-10-09 15:57:17.009751 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Caller Id name / number  : 6833949103 / 6833949103
  152. 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
  153. 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
  154. 2017-10-09 15:57:17.009751 [INFO] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Call direction : local
  155. 2017-10-09 15:57:17.009751 [NOTICE] switch_cpp.cpp:1360 [ASTPP] [Accountcode : 6833949103]
  156. 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
  157. 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
  158. 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] =============== Account Information ===================
  159. 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] User id : 4
  160. 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Account code : 6833949103
  161. 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Balance : 100
  162. 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  163. 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Ratecard id : 1
  164. 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] ========================================================
  165. 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
  166. 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  167. 2017-10-09 15:57:17.049718 [INFO] switch_cpp.cpp:1360 [ASTPP] Call Max length duration : 100 minutes
  168. 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
  169. 2017-10-09 15:57:17.049718 [WARNING] switch_cpp.cpp:1360 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts
  170. 2017-10-09 15:57:17.049718 [WARNING] switch_cpp.cpp:1360 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends
  171. 2017-10-09 15:57:17.049718 [DEBUG] switch_cpp.cpp:1360 [ASTPP] [Dialplan] Generated XML:
  172. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  173. <document type="freeswitch/xml">
  174. <section name="dialplan" description="ASTPP Dialplan">
  175. <context name="default">
  176. <extension name="8417705059">
  177. <condition field="destination_number" expression="8417705059">
  178. <action application="set" data="effective_destination_number=8417705059"/>
  179. <action application="sched_hangup" data="+6000 normal_clearing"/>
  180. <action application="set" data="callstart=2017-10-09 10:27:17"/>
  181. <action application="set" data="hangup_after_bridge=true"/>
  182. <action application="set" data="continue_on_fail=true"/>
  183. <action application="set" data="account_id=4"/>
  184. <action application="set" data="parent_id=0"/>
  185. <action application="set" data="entity_id=0"/>
  186. <action application="set" data="call_processed=internal"/>
  187. <action application="set" data="call_direction=local"/>
  188. <action application="set" data="accountname=default"/>
  189. <action application="set" data="origination_rates=ID:0|CODE:8417705059|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|ACCID:4"/>
  190. <action application="set" data="original_caller_id_name=6833949103"/>
  191. <action application="set" data="original_caller_id_number=6833949103"/>
  192. <action application="set" data="effective_caller_id_name=6833949103"/>
  193. <action application="set" data="effective_caller_id_number=6833949103"/>
  194. <action application="set" data="calltype=LOCAL"/>
  195. <action application="set" data="receiver_accid=2"/>
  196. <action application="bridge" data="[leg_timeout=30]user/8417705059@${domain_name}"/>
  197. <condition field="${cond(${user_data 8417705059@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  198. <action application="export" data="voicemail_alternate_greet_id=8417705059"/>
  199. <action application="answer"/>
  200. <action application="voicemail" data="default $${domain_name} 8417705059"/>
  201. <anti-action application="hangup" data="${originate_disposition}"/>
  202. </condition>
  203. </condition>
  204. </extension>
  205. </context>
  206. </section>
  207. </document>
  208. 2017-10-09 15:57:17.049718 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f4df418a670 released.
  209. Dialplan: sofia/default/6833949103@192.168.1.141 parsing [default->8417705059] continue=false
  210. Dialplan: sofia/default/6833949103@192.168.1.141 Regex (PASS) [8417705059] destination_number(8417705059) =~ /8417705059/ break=on-false
  211. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(effective_destination_number=8417705059)
  212. Dialplan: sofia/default/6833949103@192.168.1.141 Action sched_hangup(+6000 normal_clearing)
  213. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(callstart=2017-10-09 10:27:17)
  214. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(hangup_after_bridge=true)
  215. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(continue_on_fail=true)
  216. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(account_id=4)
  217. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(parent_id=0)
  218. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(entity_id=0)
  219. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(call_processed=internal)
  220. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(call_direction=local)
  221. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(accountname=default)
  222. 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)
  223. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(original_caller_id_name=6833949103)
  224. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(original_caller_id_number=6833949103)
  225. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(effective_caller_id_name=6833949103)
  226. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(effective_caller_id_number=6833949103)
  227. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(calltype=LOCAL)
  228. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(receiver_accid=2)
  229. Dialplan: sofia/default/6833949103@192.168.1.141 Action bridge([leg_timeout=30]user/8417705059@${domain_name})
  230. |--- Dialplan: Processing recursive conditions level:1 [8417705059_recur_1] require-nested=TRUE
  231. |--- 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
  232. |--- Dialplan: sofia/default/6833949103@192.168.1.141 Action export(voicemail_alternate_greet_id=8417705059)
  233. |--- Dialplan: sofia/default/6833949103@192.168.1.141 Action answer()
  234. |--- Dialplan: sofia/default/6833949103@192.168.1.141 Action voicemail(default $${domain_name} 8417705059)
  235. 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
  236. 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
  237. 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
  238. 2017-10-09 15:57:17.069720 [DEBUG] switch_core_state_machine.c:609 (sofia/default/6833949103@192.168.1.141) State EXECUTE
  239. 2017-10-09 15:57:17.069720 [DEBUG] mod_sofia.c:197 sofia/default/6833949103@192.168.1.141 SOFIA EXECUTE
  240. 2017-10-09 15:57:17.069720 [DEBUG] switch_core_state_machine.c:328 sofia/default/6833949103@192.168.1.141 Standard EXECUTE
  241. EXECUTE sofia/default/6833949103@192.168.1.141 set(effective_destination_number=8417705059)
  242. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [effective_destination_number]=[8417705059]
  243. EXECUTE sofia/default/6833949103@192.168.1.141 sched_hangup(+6000 normal_clearing)
  244. 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
  245. EXECUTE sofia/default/6833949103@192.168.1.141 set(callstart=2017-10-09 10:27:17)
  246. 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]
  247. EXECUTE sofia/default/6833949103@192.168.1.141 set(hangup_after_bridge=true)
  248. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [hangup_after_bridge]=[true]
  249. EXECUTE sofia/default/6833949103@192.168.1.141 set(continue_on_fail=true)
  250. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [continue_on_fail]=[true]
  251. EXECUTE sofia/default/6833949103@192.168.1.141 set(account_id=4)
  252. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [account_id]=[4]
  253. EXECUTE sofia/default/6833949103@192.168.1.141 set(parent_id=0)
  254. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [parent_id]=[0]
  255. EXECUTE sofia/default/6833949103@192.168.1.141 set(entity_id=0)
  256. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [entity_id]=[0]
  257. EXECUTE sofia/default/6833949103@192.168.1.141 set(call_processed=internal)
  258. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [call_processed]=[internal]
  259. EXECUTE sofia/default/6833949103@192.168.1.141 set(call_direction=local)
  260. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [call_direction]=[local]
  261. EXECUTE sofia/default/6833949103@192.168.1.141 set(accountname=default)
  262. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [accountname]=[default]
  263. 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)
  264. 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]
  265. EXECUTE sofia/default/6833949103@192.168.1.141 set(original_caller_id_name=6833949103)
  266. 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]
  267. EXECUTE sofia/default/6833949103@192.168.1.141 set(original_caller_id_number=6833949103)
  268. 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]
  269. EXECUTE sofia/default/6833949103@192.168.1.141 set(effective_caller_id_name=6833949103)
  270. 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]
  271. EXECUTE sofia/default/6833949103@192.168.1.141 set(effective_caller_id_number=6833949103)
  272. 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]
  273. EXECUTE sofia/default/6833949103@192.168.1.141 set(calltype=LOCAL)
  274. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [calltype]=[LOCAL]
  275. EXECUTE sofia/default/6833949103@192.168.1.141 set(receiver_accid=2)
  276. 2017-10-09 15:57:17.069720 [DEBUG] mod_dptools.c:1519 SET sofia/default/6833949103@192.168.1.141 [receiver_accid]=[2]
  277. EXECUTE sofia/default/6833949103@192.168.1.141 bridge([leg_timeout=30]user/8417705059@192.168.1.141)
  278. 2017-10-09 15:57:17.069720 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables
  279. 2017-10-09 15:57:17.069720 [DEBUG] switch_ivr_originate.c:2580 Parsing session specific variables
  280. 2017-10-09 15:57:17.089753 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables
  281. 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]
  282. 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
  283. 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
  284. 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
  285. 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:586 (sofia/default/8417705059@192.168.1.156:5063) State INIT
  286. 2017-10-09 15:57:17.089753 [DEBUG] mod_sofia.c:89 sofia/default/8417705059@192.168.1.156:5063 SOFIA INIT
  287. 2017-10-09 15:57:17.089753 [WARNING] switch_core_port_allocator.c:79 Rounding odd start port 21501 to 21502
  288. nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
  289. nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
  290. 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
  291. Local SDP:
  292. v=0
  293. o=FreeSWITCH 1507523329 1507523330 IN IP4 192.168.1.141
  294. s=FreeSWITCH
  295. c=IN IP4 192.168.1.141
  296. t=0 0
  297. m=audio 21508 RTP/AVP 8 0 101
  298. a=rtpmap:8 PCMA/8000
  299. a=rtpmap:0 PCMU/8000
  300. a=rtpmap:101 telephone-event/8000
  301. a=fmtp:101 0-16
  302. a=ptime:20
  303. a=sendrecv
  304.  
  305. nua.c:633 nua_invite() nua: nua_invite: entering
  306. nua_stack.c:569 nua_stack_signal() nua(0x7f4df407f930): recv signal r_invite
  307. nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
  308. soa.c:280 soa_clone() soa_clone(static::0x7f4df4196fe0, 0x7f4df4107bf0, 0x7f4df407f930) called
  309. soa.c:403 soa_set_params() soa_set_params(static::0x7f4df41203c0, ...) called
  310. soa.c:403 soa_set_params() soa_set_params(static::0x7f4df41203c0, ...) called
  311. soa.c:1052 soa_set_user_sdp() soa_set_user_sdp(static::0x7f4df41203c0, (nil), 0x7f4df419a0c1, -1) called
  312. soa.c:890 soa_set_capability_sdp() soa_set_capability_sdp(static::0x7f4df41203c0, (nil), 0x7f4df419a0c1, -1) called
  313. nua_dialog.c:338 nua_dialog_usage_add() nua(0x7f4df407f930): adding session usage
  314. nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0x7f4df410a210)
  315. soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7f4df41203c0) called
  316. soa.c:1426 soa_generate_offer() soa_generate_offer(static::0x7f4df41203c0, 0) called
  317. soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df41203c0, soa_generate_offer): called
  318. soa_static.c:1187 offer_answer_step() soa_static(0x7f4df41203c0, soa_generate_offer): generating local description
  319. soa_static.c:1215 offer_answer_step() soa_static(0x7f4df41203c0, soa_generate_offer): upgrade with local description
  320. soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4e12d14ac0, (nil), ""): called
  321. soa_static.c:1444 offer_answer_step() soa_static(0x7f4df41203c0, soa_generate_offer): storing local description
  322. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df41203c0, [(nil)], [0x7f4e12d16bf8], [0x7f4e12d16bf4]) called
  323. nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip
  324. tport.c:3257 tport_tsend() tport_tsend(0x7f4df40405e0) tpn = */192.168.1.156:5063
  325. tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063
  326. tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7f4df40405e0): not found by name */192.168.1.156:5063
  327. tport.c:3594 tport_vsend() tport_vsend(0x7f4df40405e0): 1116 bytes of 1116 to udp/192.168.1.156:5063
  328. tport.c:3492 tport_send_msg() tport_vsend returned 1116
  329. send 1116 bytes to udp/[192.168.1.156]:5063 at 15:57:17.098357:
  330.    ------------------------------------------------------------------------
  331.    INVITE sip:8417705059@192.168.1.156:5063 SIP/2.0
  332.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSm5XeFQ9cj70S
  333.    Max-Forwards: 69
  334.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=y4F8U5FNtg7QD
  335.    To: <sip:8417705059@192.168.1.156:5063>
  336.    Call-ID: 43dae518-277f-1236-2190-000c297a0201
  337.    CSeq: 113436354 INVITE
  338.    Contact: <sip:mod_sofia@192.168.1.141:5060>
  339.    User-Agent: ASTPP
  340.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  341.    Supported: path, replaces
  342.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  343.    Content-Type: application/sdp
  344.    Content-Disposition: session
  345.    Content-Length: 246
  346.    Remote-Party-ID: "6833949103" <sip:6833949103@192.168.1.141>;party=calling;screen=yes;privacy=off
  347.    
  348.    v=0
  349.    o=FreeSWITCH 1507523329 1507523330 IN IP4 192.168.1.141
  350.    s=FreeSWITCH
  351.    c=IN IP4 192.168.1.141
  352.    t=0 0
  353.    m=audio 21508 RTP/AVP 8 0 101
  354.    a=rtpmap:8 PCMA/8000
  355.    a=rtpmap:0 PCMU/8000
  356.    a=rtpmap:101 telephone-event/8000
  357.    a=fmtp:101 0-16
  358.    a=ptime:20
  359.    ------------------------------------------------------------------------
  360. nta.c:8304 outgoing_send() nta: sent INVITE (113436354) to */192.168.1.156:5063
  361. tport.c:4160 tport_pend() tport_pend(0x7f4df40405e0): pending 0x7f4df410b590 for udp/192.168.1.141:5060 (already 0)
  362. nta.c:1348 set_timeout() nta: timer shortened to 1000 ms
  363. nua_session.c:4139 signal_call_state_change() nua(0x7f4df407f930): call state changed: init -> calling, sent offer
  364. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df41203c0, [0x7f4e12d16bd8], [0x7f4e12d16be0], [(nil)]) called
  365. nua_stack.c:269 nua_stack_event() nua(0x7f4df407f930): event i_state INVITE sent
  366. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  367. nua_stack.c:529 nua_signal() nua(0x7f4df407f930): sent signal r_invite
  368. 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:40 sofia/default/8417705059@192.168.1.156:5063 Standard INIT
  369. 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
  370. 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
  371. 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
  372. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  373. 2017-10-09 15:57:17.089753 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [calling][0]
  374. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  375. 2017-10-09 15:57:17.089753 [DEBUG] switch_core_state_machine.c:602 (sofia/default/8417705059@192.168.1.156:5063) State ROUTING
  376. 2017-10-09 15:57:17.089753 [DEBUG] mod_sofia.c:142 sofia/default/8417705059@192.168.1.156:5063 SOFIA ROUTING
  377. 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
  378. 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
  379. 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
  380. 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
  381. 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
  382. tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN
  383. tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0)
  384. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df403a900 from (udp/192.168.1.141:5060) has 329 bytes, veclen = 1
  385. recv 329 bytes from udp/[192.168.1.156]:5063 at 15:57:17.169948:
  386.    ------------------------------------------------------------------------
  387.    SIP/2.0 100 Trying
  388.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSm5XeFQ9cj70S
  389.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=y4F8U5FNtg7QD
  390.    To: <sip:8417705059@192.168.1.156:5063>
  391.    Call-ID: 43dae518-277f-1236-2190-000c297a0201
  392.    CSeq: 113436354 INVITE
  393.    User-Agent: Yealink SIP-T21P 34.72.0.75
  394.    Content-Length: 0
  395.    
  396.    ------------------------------------------------------------------------
  397. tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): msg 0x7f4df403a900 (329 bytes) from udp/192.168.1.156:5060/sip next=(nil)
  398. nta.c:3299 agent_recv_response() nta: received 100 Trying for INVITE (113436354)
  399. nta.c:3366 agent_recv_response() nta: 100 Trying is going to a transaction
  400. nta.c:9564 outgoing_estimate_delay() nta_outgoing: RTT is 71.712 ms
  401. tport.c:4222 tport_release() tport_release(0x7f4df40405e0): 0x7f4df410b590 by 0x7f4df4192430 with 0x7f4df403a900 (preliminary)
  402. tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN
  403. tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0)
  404. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df403a900 from (udp/192.168.1.141:5060) has 561 bytes, veclen = 1
  405. recv 561 bytes from udp/[192.168.1.156]:5063 at 15:57:17.328669:
  406.    ------------------------------------------------------------------------
  407.    SIP/2.0 180 Ringing
  408.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSm5XeFQ9cj70S
  409.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=y4F8U5FNtg7QD
  410.    To: <sip:8417705059@192.168.1.156:5063>;tag=1683219177
  411.    Call-ID: 43dae518-277f-1236-2190-000c297a0201
  412.    CSeq: 113436354 INVITE
  413.    Contact: <sip:8417705059@192.168.1.156:5063>
  414.   Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  415.    User-Agent: Yealink SIP-T21P 34.72.0.75
  416.    Allow-Events: talk,hold,conference,refer,check-sync
  417.    Content-Length: 0
  418.    
  419.    ------------------------------------------------------------------------
  420. tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): msg 0x7f4df403a900 (561 bytes) from udp/192.168.1.156:5060/sip next=(nil)
  421. nta.c:3299 agent_recv_response() nta: received 180 Ringing for INVITE (113436354)
  422. nta.c:3366 agent_recv_response() nta: 180 Ringing is going to a transaction
  423. tport.c:4222 tport_release() tport_release(0x7f4df40405e0): 0x7f4df410b590 by 0x7f4df4192430 with 0x7f4df403a900 (preliminary)
  424. nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event r_invite 180 Ringing
  425. nua_session.c:4139 signal_call_state_change() nua(0x7f4df407f930): call state changed: calling -> proceeding
  426. nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_state 180 Ringing
  427. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  428. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  429. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  430. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  431. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  432. 2017-10-09 15:57:17.449742 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [proceeding][180]
  433. 2017-10-09 15:57:17.449742 [NOTICE] sofia.c:6960 Ring-Ready sofia/default/8417705059@192.168.1.156:5063!
  434. 2017-10-09 15:57:17.449742 [DEBUG] switch_channel.c:3343 (sofia/default/8417705059@192.168.1.156:5063) Callstate Change DOWN -> RINGING
  435. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  436. nua.c:879 nua_respond() nua: nua_respond: entering
  437. nua_stack.c:573 nua_stack_signal() nua(0x7f4df418fad0): recv signal r_respond 180 Ringing
  438. nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
  439. soa.c:403 soa_set_params() soa_set_params(static::0x7f4df411fa40, ...) called
  440. nua_session.c:2320 nua_invite_server_respond() nua: nua_invite_server_respond: entering
  441. tport.c:3257 tport_tsend() tport_tsend(0x7f4df4120180) tpn = TCP/192.168.1.33:33478
  442. tport.c:3594 tport_vsend() tport_vsend(0x7f4df4120180): 758 bytes of 758 to tcp/192.168.1.33:33478
  443. tport.c:3492 tport_send_msg() tport_vsend returned 758
  444. send 758 bytes to tcp/[192.168.1.33]:33478 at 15:57:17.462880:
  445.    ------------------------------------------------------------------------
  446.    SIP/2.0 180 Ringing
  447.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-96e697046a0b865d-1---d8754z-;rport=33478
  448.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=5591bb74
  449.    To: <sip:8417705059@192.168.1.141;transport=TCP>;tag=XUpFtaZHX7g5H
  450.    Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY.
  451.    CSeq: 2 INVITE
  452.    Contact: <sip:8417705059@192.168.1.141:5060;transport=tcp>
  453.    User-Agent: ASTPP
  454.    Accept: application/sdp
  455.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  456.    Supported: path, replaces
  457.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  458.    Content-Length: 0
  459.    
  460.    ------------------------------------------------------------------------
  461. tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer
  462. nta.c:6791 incoming_reply() nta: sent 180 Ringing for INVITE (2)
  463. nua_session.c:4139 signal_call_state_change() nua(0x7f4df418fad0): call state changed: received -> early
  464. nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_state 180 Ringing
  465. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  466. nua_stack.c:529 nua_signal() nua(0x7f4df418fad0): sent signal r_respond
  467. 2017-10-09 15:57:17.449742 [NOTICE] mod_sofia.c:2198 Ring-Ready sofia/default/6833949103@192.168.1.141!
  468. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  469. 2017-10-09 15:57:17.449742 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [early][180]
  470. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  471. 2017-10-09 15:57:17.449742 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/6833949103@192.168.1.141!
  472. nta.c:5825 incoming_reclaim_queued() incoming_reclaim_all((nil), (nil), 0x7f4e12d16c60)
  473. nta.c:7188 _nta_incoming_timer() nta_incoming_timer: 0/0 resent, 0/0 tout, 0/0 term, 1/2 free
  474. nta.c:1296 agent_timer() nta: timer set next to 59364 ms
  475. tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN
  476. tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0)
  477. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df4199650 from (udp/192.168.1.141:5060) has 4 bytes, veclen = 1
  478. tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): bad msg 0x7f4df4199650 (4 bytes) from udp/192.168.1.156:5060/sip next=(nil)
  479. tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN
  480. tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0)
  481. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df4199650 from (udp/192.168.1.141:5060) has 749 bytes, veclen = 1
  482. recv 749 bytes from udp/[192.168.1.156]:5063 at 15:57:23.047306:
  483.    ------------------------------------------------------------------------
  484.    SIP/2.0 200 OK
  485.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKSm5XeFQ9cj70S
  486.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=y4F8U5FNtg7QD
  487.    To: <sip:8417705059@192.168.1.156:5063>;tag=1683219177
  488.    Call-ID: 43dae518-277f-1236-2190-000c297a0201
  489.    CSeq: 113436354 INVITE
  490.    Contact: <sip:8417705059@192.168.1.156:5063>
  491.    Content-Type: application/sdp
  492.   Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  493.    User-Agent: Yealink SIP-T21P 34.72.0.75
  494.    Content-Length: 213
  495.    
  496.    v=0
  497.    o=- 20001 20001 IN IP4 192.168.1.156
  498.    s=SDP data
  499.    c=IN IP4 192.168.1.156
  500.    t=0 0
  501.    m=audio 11782 RTP/AVP 8 101
  502.    a=rtpmap:8 PCMA/8000
  503.    a=sendrecv
  504.    a=ptime:20
  505.    a=fmtp:101 0-15
  506.    a=rtpmap:101 telephone-event/8000
  507.    ------------------------------------------------------------------------
  508. tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): msg 0x7f4df4199650 (749 bytes) from udp/192.168.1.156:5060/sip next=(nil)
  509. nta.c:3299 agent_recv_response() nta: received 200 OK for INVITE (113436354)
  510. nta.c:3366 agent_recv_response() nta: 200 OK is going to a transaction
  511. tport.c:4222 tport_release() tport_release(0x7f4df40405e0): 0x7f4df410b590 by 0x7f4df4192430 with 0x7f4df4199650
  512. nta.c:1348 set_timeout() nta: timer shortened to 32000 ms
  513. soa.c:1171 soa_set_remote_sdp() soa_set_remote_sdp(static::0x7f4df41203c0, (nil), 0x7f4df4109c88, 213) called
  514. soa.c:1595 soa_process_answer() soa_process_answer(static::0x7f4df41203c0) called
  515. soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df41203c0, soa_process_answer): called
  516. soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4df403a040, 0x7f4df4218bb0, ""): called
  517. soa_static.c:1302 offer_answer_step() soa_static(0x7f4df41203c0, soa_process_answer): upgrade codecs with remote description
  518. soa_static.c:1444 offer_answer_step() soa_static(0x7f4df41203c0, soa_process_answer): storing local description
  519. soa.c:1730 soa_activate() soa_activate(static::0x7f4df41203c0, (nil)) called
  520. nua_session.c:988 nua_session_client_response() nua(0x7f4df407f930): INVITE: processed SDP answer in 200 OK
  521. nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event r_invite 200 OK
  522. nua_session.c:4139 signal_call_state_change() nua(0x7f4df407f930): call state changed: proceeding -> completing, received answer
  523. soa.c:1098 soa_get_remote_sdp() soa_get_remote_sdp(static::0x7f4df41203c0, [0x7f4e12d16648], [0x7f4e12d16650], [(nil)]) called
  524. soa.c:616 soa_get_params() soa_get_params(static::0x7f4df41203c0, ...) called
  525. nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_state 200 OK
  526. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  527. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  528. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  529. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  530. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  531. 2017-10-09 15:57:23.089753 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [completing][200]
  532. 2017-10-09 15:57:23.089753 [DEBUG] sofia.c:6868 Remote SDP:
  533. v=0
  534. o=- 20001 20001 IN IP4 192.168.1.156
  535. s=SDP data
  536. c=IN IP4 192.168.1.156
  537. t=0 0
  538. m=audio 11782 RTP/AVP 8 101
  539. a=rtpmap:8 PCMA/8000
  540. a=rtpmap:101 telephone-event/8000
  541. a=fmtp:101 0-15
  542. a=ptime:20
  543.  
  544. nua.c:639 nua_ack() nua: nua_ack: entering
  545. nua_stack.c:569 nua_stack_signal() nua(0x7f4df407f930): recv signal r_ack
  546. nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
  547. soa.c:403 soa_set_params() soa_set_params(static::0x7f4df41203c0, ...) called
  548. soa.c:1730 soa_activate() soa_activate(static::0x7f4df41203c0, (nil)) called
  549. nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip
  550. tport.c:3257 tport_tsend() tport_tsend(0x7f4df40405e0) tpn = */192.168.1.156:5063
  551. tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063
  552. tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7f4df40405e0): not found by name */192.168.1.156:5063
  553. tport.c:3594 tport_vsend() tport_vsend(0x7f4df40405e0): 390 bytes of 390 to udp/192.168.1.156:5063
  554. tport.c:3492 tport_send_msg() tport_vsend returned 390
  555. send 390 bytes to udp/[192.168.1.156]:5063 at 15:57:23.106142:
  556.    ------------------------------------------------------------------------
  557.    ACK sip:8417705059@192.168.1.156:5063 SIP/2.0
  558.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKtXypga8caUXKN
  559.    Max-Forwards: 70
  560.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=y4F8U5FNtg7QD
  561.    To: <sip:8417705059@192.168.1.156:5063>;tag=1683219177
  562.    Call-ID: 43dae518-277f-1236-2190-000c297a0201
  563.    CSeq: 113436354 ACK
  564.    Contact: <sip:mod_sofia@192.168.1.141:5060>
  565.    Content-Length: 0
  566.    
  567.    ------------------------------------------------------------------------
  568. nta.c:8304 outgoing_send() nta: sent ACK (113436354) to */192.168.1.156:5063
  569. nua_session.c:4139 signal_call_state_change() nua(0x7f4df407f930): call state changed: completing -> ready
  570. nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_state 200 ACK sent
  571. nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_active 200 Call active
  572. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  573. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  574. nua_stack.c:529 nua_signal() nua(0x7f4df407f930): sent signal r_ack
  575. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  576. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  577. 2017-10-09 15:57:23.089753 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [ready][200]
  578. 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]
  579. 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
  580. 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]
  581. 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
  582. 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
  583. 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
  584. 2017-10-09 15:57:23.089753 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000
  585. 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
  586. 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
  587. 2017-10-09 15:57:23.089753 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  588. 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
  589. 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
  590. 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
  591. 2017-10-09 15:57:23.089753 [NOTICE] sofia.c:7826 Channel [sofia/default/8417705059@192.168.1.156:5063] has been answered
  592. 2017-10-09 15:57:23.089753 [DEBUG] switch_channel.c:3770 (sofia/default/8417705059@192.168.1.156:5063) Callstate Change RINGING -> ACTIVE
  593. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  594. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  595. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  596. 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
  597. 2017-10-09 15:57:23.169742 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  598. 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
  599. 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
  600. 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
  601. 2017-10-09 15:57:23.189713 [DEBUG] mod_sofia.c:814 Local SDP sofia/default/6833949103@192.168.1.141:
  602. v=0
  603. o=FreeSWITCH 1507523333 1507523334 IN IP4 192.168.1.141
  604. s=FreeSWITCH
  605. c=IN IP4 192.168.1.141
  606. t=0 0
  607. m=audio 21510 RTP/AVP 8 101
  608. a=rtpmap:8 PCMA/8000
  609. a=rtpmap:101 telephone-event/8000
  610. a=fmtp:101 0-16
  611. a=ptime:20
  612. a=sendrecv
  613.  
  614. nua.c:879 nua_respond() nua: nua_respond: entering
  615. nua_stack.c:573 nua_stack_signal() nua(0x7f4df418fad0): recv signal r_respond 200 OK
  616. nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
  617. soa.c:403 soa_set_params() soa_set_params(static::0x7f4df411fa40, ...) called
  618. soa.c:1052 soa_set_user_sdp() soa_set_user_sdp(static::0x7f4df411fa40, (nil), 0x7f4df41783c7, -1) called
  619. soa.c:890 soa_set_capability_sdp() soa_set_capability_sdp(static::0x7f4df411fa40, (nil), 0x7f4df41783c7, -1) called
  620. nua_session.c:2320 nua_invite_server_respond() nua: nua_invite_server_respond: entering
  621. soa.c:1515 soa_generate_answer() soa_generate_answer(static::0x7f4df411fa40) called
  622. soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df411fa40, soa_generate_answer): called
  623. soa_static.c:1187 offer_answer_step() soa_static(0x7f4df411fa40, soa_generate_answer): generating local description
  624. soa_static.c:1228 offer_answer_step() soa_static(0x7f4df411fa40, soa_generate_answer): upgrade with remote description
  625. soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4e12d14b00, 0x7f4df40282c0, ""): called
  626. soa_static.c:1444 offer_answer_step() soa_static(0x7f4df411fa40, soa_generate_answer): storing local description
  627. soa.c:1730 soa_activate() soa_activate(static::0x7f4df411fa40, (nil)) called
  628. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df411fa40, [(nil)], [0x7f4e12d16c38], [0x7f4e12d16c34]) called
  629. tport.c:3257 tport_tsend() tport_tsend(0x7f4df4120180) tpn = TCP/192.168.1.33:33478
  630. tport.c:3594 tport_vsend() tport_vsend(0x7f4df4120180): 1013 bytes of 1013 to tcp/192.168.1.33:33478
  631. tport.c:3492 tport_send_msg() tport_vsend returned 1013
  632. send 1013 bytes to tcp/[192.168.1.33]:33478 at 15:57:23.191294:
  633.    ------------------------------------------------------------------------
  634.    SIP/2.0 200 OK
  635.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-96e697046a0b865d-1---d8754z-;rport=33478
  636.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=5591bb74
  637.    To: <sip:8417705059@192.168.1.141;transport=TCP>;tag=XUpFtaZHX7g5H
  638.    Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY.
  639.    CSeq: 2 INVITE
  640.    Contact: <sip:8417705059@192.168.1.141:5060;transport=tcp>
  641.    User-Agent: ASTPP
  642.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  643.    Supported: path, replaces
  644.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  645.    Content-Type: application/sdp
  646.    Content-Disposition: session
  647.    Content-Length: 222
  648.    
  649.    v=0
  650.    o=FreeSWITCH 1507523333 1507523334 IN IP4 192.168.1.141
  651.    s=FreeSWITCH
  652.    c=IN IP4 192.168.1.141
  653.    t=0 0
  654.    m=audio 21510 RTP/AVP 8 101
  655.    a=rtpmap:8 PCMA/8000
  656.    a=rtpmap:101 telephone-event/8000
  657.    a=fmtp:101 0-16
  658.    a=ptime:20
  659.    ------------------------------------------------------------------------
  660. tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer
  661. nta.c:6791 incoming_reply() nta: sent 200 OK for INVITE (2)
  662. nta.c:1348 set_timeout() nta: timer shortened to 500 ms
  663. nua_session.c:4139 signal_call_state_change() nua(0x7f4df418fad0): call state changed: early -> completed, sent answer
  664. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df411fa40, [0x7f4e12d16ce8], [0x7f4e12d16cf0], [(nil)]) called
  665. soa.c:616 soa_get_params() soa_get_params(static::0x7f4df411fa40, ...) called
  666. nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_state 200 OK
  667. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  668. nua_stack.c:529 nua_signal() nua(0x7f4df418fad0): sent signal r_respond
  669. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  670. 2017-10-09 15:57:23.189713 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [completed][200]
  671. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  672. 2017-10-09 15:57:23.189713 [NOTICE] switch_ivr_originate.c:3549 Channel [sofia/default/6833949103@192.168.1.141] has been answered
  673. 2017-10-09 15:57:23.189713 [DEBUG] switch_channel.c:3770 (sofia/default/6833949103@192.168.1.141) Callstate Change RINGING -> ACTIVE
  674. 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]
  675. tport.c:2773 tport_wakeup() tport_wakeup(0x7f4df4120180): events IN
  676. tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df4120180)
  677. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df4120180) msg 0x7f4df410db90 from (tcp/192.168.1.33:33478) has 771 bytes, veclen = 1
  678. recv 771 bytes from tcp/[192.168.1.33]:33478 at 15:57:23.195388:
  679.    ------------------------------------------------------------------------
  680.    ACK sip:8417705059@192.168.1.141:5060;transport=tcp SIP/2.0
  681.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-1eda82391d06de1b-1---d8754z-
  682.    Max-Forwards: 70
  683.    Contact: <sip:6833949103@117.247.91.162:49554;transport=TCP>
  684.    To: <sip:8417705059@192.168.1.141;transport=TCP>;tag=XUpFtaZHX7g5H
  685.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=5591bb74
  686.    Call-ID: OTYxNDIzOTZkNzU4MTM5NThjMTFmOWZhMmRiZjZkNGY.
  687.    CSeq: 2 ACK
  688.    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
  689.    User-Agent: Z 3.3.25608 r25552
  690.    Content-Length: 0
  691.    
  692.    ------------------------------------------------------------------------
  693. tport.c:3023 tport_deliver() tport_deliver(0x7f4df4120180): msg 0x7f4df410db90 (771 bytes) from tcp/192.168.1.33:33478/sip next=(nil)
  694. nta.c:2880 agent_recv_request() nta: received ACK sip:8417705059@192.168.1.141:5060;transport=tcp SIP/2.0 (CSeq 2)
  695. nta.c:3019 agent_recv_request() nta: ACK (2) is going to INVITE (2)
  696. nua_session.c:2569 process_ack_or_cancel() nua: process_ack_or_cancel: entering
  697. soa.c:1214 soa_clear_remote_sdp() soa_clear_remote_sdp(static::0x7f4df411fa40) called
  698. nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_ack 200 OK
  699. nua_session.c:4139 signal_call_state_change() nua(0x7f4df418fad0): call state changed: completed -> ready
  700. nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_state 200 OK
  701. nua_stack.c:271 nua_stack_event() nua(0x7f4df418fad0): event i_active 200 Call active
  702. nta.c:5744 incoming_free() nta: incoming_free(0x7f4df402d910)
  703. tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer
  704. tport.c:2296 tport_set_secondary_timer() tport(0x7f4df4120180): reset timer
  705. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  706. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  707. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  708. 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
  709. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  710. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  711. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  712. 2017-10-09 15:57:23.189713 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [ready][200]
  713. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  714. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  715. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  716. 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]
  717. 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
  718. 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
  719. 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
  720. 2017-10-09 15:57:23.249717 [DEBUG] mod_sofia.c:628 SOFIA EXCHANGE_MEDIA
  721. nua.c:810 nua_update() nua: nua_update: entering
  722. nua_stack.c:569 nua_stack_signal() nua(0x7f4df407f930): recv signal r_update
  723. nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
  724. soa.c:403 soa_set_params() soa_set_params(static::0x7f4df41203c0, ...) called
  725. soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7f4df41203c0) called
  726. soa.c:1426 soa_generate_offer() soa_generate_offer(static::0x7f4df41203c0, 0) called
  727. soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df41203c0, soa_generate_offer): called
  728. soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4df403a900, (nil), ""): called
  729. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df41203c0, [(nil)], [0x7f4e12d16c48], [0x7f4e12d16c44]) called
  730. nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip
  731. tport.c:3257 tport_tsend() tport_tsend(0x7f4df40405e0) tpn = */192.168.1.156:5063
  732. tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063
  733. tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7f4df40405e0): not found by name */192.168.1.156:5063
  734. tport.c:3594 tport_vsend() tport_vsend(0x7f4df40405e0): 920 bytes of 920 to udp/192.168.1.156:5063
  735. tport.c:3492 tport_send_msg() tport_vsend returned 920
  736. send 920 bytes to udp/[192.168.1.156]:5063 at 15:57:23.252573:
  737.    ------------------------------------------------------------------------
  738.    UPDATE sip:8417705059@192.168.1.156:5063 SIP/2.0
  739.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKU6QFj5rg73K6g
  740.    Max-Forwards: 70
  741.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=y4F8U5FNtg7QD
  742.    To: <sip:8417705059@192.168.1.156:5063>;tag=1683219177
  743.    Call-ID: 43dae518-277f-1236-2190-000c297a0201
  744.    CSeq: 113436355 UPDATE
  745.    Contact: <sip:mod_sofia@192.168.1.141:5060>
  746.    User-Agent: ASTPP
  747.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  748.    Supported: path, replaces
  749.    Content-Type: application/sdp
  750.    Content-Disposition: session
  751.    Content-Length: 246
  752.    P-Asserted-Identity: "6833949103" <sip:6833949103@(null)>
  753.    
  754.    v=0
  755.    o=FreeSWITCH 1507523329 1507523330 IN IP4 192.168.1.141
  756.    s=FreeSWITCH
  757.    c=IN IP4 192.168.1.141
  758.    t=0 0
  759.    m=audio 21508 RTP/AVP 8 101 0
  760.    a=rtpmap:8 PCMA/8000
  761.    a=rtpmap:101 telephone-event/8000
  762.    a=fmtp:101 0-16
  763.    a=rtpmap:0 PCMU/8000
  764.    a=ptime:20
  765.    ------------------------------------------------------------------------
  766. nta.c:8304 outgoing_send() nta: sent UPDATE (113436355) to */192.168.1.156:5063
  767. tport.c:4160 tport_pend() tport_pend(0x7f4df40405e0): pending 0x7f4df4108890 for udp/192.168.1.141:5060 (already 0)
  768. nua_session.c:4145 signal_call_state_change() nua(0x7f4df407f930): ready call updated: calling sent offer
  769. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7f4df41203c0, [0x7f4e12d16c28], [0x7f4e12d16c30], [(nil)]) called
  770. nua_stack.c:269 nua_stack_event() nua(0x7f4df407f930): event i_state UPDATE sent
  771. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  772. nua_stack.c:529 nua_signal() nua(0x7f4df407f930): sent signal r_update
  773. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  774. 2017-10-09 15:57:23.249717 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [calling][0]
  775. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  776. 2017-10-09 15:57:23.249717 [DEBUG] switch_rtp.c:6707 Correct audio ip/port confirmed.
  777. 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
  778. tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7f4df40405e0): events IN
  779. tport.c:2864 tport_recv_event() tport_recv_event(0x7f4df40405e0)
  780. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7f4df40405e0) msg 0x7f4df4189b80 from (udp/192.168.1.141:5060) has 749 bytes, veclen = 1
  781. recv 749 bytes from udp/[192.168.1.156]:5063 at 15:57:23.517629:
  782.    ------------------------------------------------------------------------
  783.    SIP/2.0 200 OK
  784.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKU6QFj5rg73K6g
  785.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=y4F8U5FNtg7QD
  786.    To: <sip:8417705059@192.168.1.156:5063>;tag=1683219177
  787.    Call-ID: 43dae518-277f-1236-2190-000c297a0201
  788.    CSeq: 113436355 UPDATE
  789.    Contact: <sip:8417705059@192.168.1.156:5063>
  790.    Content-Type: application/sdp
  791.   Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  792.    User-Agent: Yealink SIP-T21P 34.72.0.75
  793.    Content-Length: 213
  794.    
  795.    v=0
  796.    o=- 20001 20002 IN IP4 192.168.1.156
  797.    s=SDP data
  798.    c=IN IP4 192.168.1.156
  799.    t=0 0
  800.    m=audio 11782 RTP/AVP 8 101
  801.    a=rtpmap:8 PCMA/8000
  802.    a=sendrecv
  803.    a=ptime:20
  804.    a=fmtp:101 0-15
  805.    a=rtpmap:101 telephone-event/8000
  806.    ------------------------------------------------------------------------
  807. tport.c:3023 tport_deliver() tport_deliver(0x7f4df40405e0): msg 0x7f4df4189b80 (749 bytes) from udp/192.168.1.156:5060/sip next=(nil)
  808. nta.c:3299 agent_recv_response() nta: received 200 OK for UPDATE (113436355)
  809. nta.c:3366 agent_recv_response() nta: 200 OK is going to a transaction
  810. nta.c:9564 outgoing_estimate_delay() nta_outgoing: RTT is 265.22 ms
  811. tport.c:4222 tport_release() tport_release(0x7f4df40405e0): 0x7f4df4108890 by 0x7f4df4178380 with 0x7f4df4189b80
  812. soa.c:1171 soa_set_remote_sdp() soa_set_remote_sdp(static::0x7f4df41203c0, (nil), 0x7f4df418a388, 213) called
  813. soa.c:1595 soa_process_answer() soa_process_answer(static::0x7f4df41203c0) called
  814. soa_static.c:1146 offer_answer_step() soa_static_offer_answer_action(0x7f4df41203c0, soa_process_answer): called
  815. soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7f4df403a900, 0x7f4df4142470, ""): called
  816. soa_static.c:1302 offer_answer_step() soa_static(0x7f4df41203c0, soa_process_answer): upgrade codecs with remote description
  817. soa.c:1730 soa_activate() soa_activate(static::0x7f4df41203c0, (nil)) called
  818. nua_session.c:988 nua_session_client_response() nua(0x7f4df407f930): UPDATE: processed SDP answer in 200 OK
  819. nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event r_update 200 OK
  820. nua_session.c:4145 signal_call_state_change() nua(0x7f4df407f930): ready call updated: ready received answer
  821. soa.c:1098 soa_get_remote_sdp() soa_get_remote_sdp(static::0x7f4df41203c0, [0x7f4e12d166d8], [0x7f4e12d166e0], [(nil)]) called
  822. soa.c:616 soa_get_params() soa_get_params(static::0x7f4df41203c0, ...) called
  823. nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_state 200 OK
  824. nua_stack.c:271 nua_stack_event() nua(0x7f4df407f930): event i_active 200 Call active
  825. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  826. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  827. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  828. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  829. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  830. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  831. 2017-10-09 15:57:23.509714 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [ready][200]
  832. 2017-10-09 15:57:23.509714 [DEBUG] sofia.c:6868 Remote SDP:
  833. v=0
  834. o=- 20001 20002 IN IP4 192.168.1.156
  835. s=SDP data
  836. c=IN IP4 192.168.1.156
  837. t=0 0
  838. m=audio 11782 RTP/AVP 8 101
  839. a=rtpmap:8 PCMA/8000
  840. a=rtpmap:101 telephone-event/8000
  841. a=fmtp:101 0-15
  842. a=ptime:20
  843.  
  844. 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]
  845. 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
  846. 2017-10-09 15:57:23.530056 [DEBUG] switch_core_media.c:4271 Set telephone-event payload to 101@8000
  847. 2017-10-09 15:57:23.530056 [DEBUG] switch_core_media.c:4623 Set telephone-event payload to 101@8000
  848. 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
  849. 2017-10-09 15:57:23.530056 [DEBUG] sofia.c:7669 Processing updated SDP
  850. 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.
  851. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  852. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  853. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  854. nta.c:1296 agent_timer() nta: timer set next to 4827 ms
  855. freeswitch@freeswitch>
  856. freeswitch@freeswitch>
  857. freeswitch@freeswitch>
  858. freeswitch@freeswitch>
  859. nta.c:9101 outgoing_timer_dk() nta: timer K fired, terminate UPDATE (113436355)
  860. nta.c:8799 outgoing_reclaim_queued() outgoing_reclaim_all((nil), (nil), 0x7f4e12d16d40)
  861. nta.c:8929 _nta_outgoing_timer() nta_outgoing_timer: 0/0 resent, 0/1 tout, 1/2 term, 1/3 free
  862. nta.c:1296 agent_timer() nta: timer set next to 26529 ms
  863. freeswitch@freeswitch> fsc
  864.  
  865. [               fsctl] 
  866.  
  867.  
  868. freeswitch@freeswitch> fsctl cra
  869.  
  870. [               crash] 
  871.  
  872.  
  873. freeswitch@freeswitch> fsctl crash
  874. Socket interrupted, bye!
  875. root@astpptest2:/home/inextrix#
  876.  
  877.  
  878.  
  879.  
  880. ============================================= Node2 =================================================================
  881.  
  882.  
  883.  
  884. freeswitch@freeswitch> sofia recover
  885. Recovered 2 call(s)
  886.  
  887. 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]
  888. 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]
  889. 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
  890. 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
  891. 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
  892. 2017-10-09 15:58:08.749344 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms
  893. 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
  894. 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
  895. 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
  896. 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
  897. 2017-10-09 15:58:08.749344 [NOTICE] switch_core_sqldb.c:3042 Resurrecting fallen channel sofia/default/8417705059@192.168.1.156:5063
  898. 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]
  899. 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]
  900. 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
  901. 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
  902. 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
  903. 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)
  904. 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:627 (sofia/default/8417705059@192.168.1.156:5063) State INIT
  905. 2017-10-09 15:58:08.749344 [DEBUG] mod_sofia.c:90 sofia/default/8417705059@192.168.1.156:5063 SOFIA INIT
  906. nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
  907. nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
  908. 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
  909. Local SDP:
  910. v=0
  911. o=FreeSWITCH 1507520132 1507520134 IN IP4 192.168.1.141
  912. s=FreeSWITCH
  913. c=IN IP4 192.168.1.141
  914. t=0 0
  915. m=audio 24756 RTP/AVP 8 101
  916. a=rtpmap:8 PCMA/8000
  917. a=rtpmap:101 telephone-event/0
  918. a=fmtp:101 0-16
  919. a=ptime:20
  920. a=sendrecv
  921.  
  922. nua.c:633 nua_invite() nua: nua_invite: entering
  923. nua_stack.c:569 nua_stack_signal() nua(0x7fe7d00132a0): recv signal r_invite
  924. nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
  925. soa.c:280 soa_clone() soa_clone(static::0x7fe7e0207ac0, 0x7fe7e0201b90, 0x7fe7d00132a0) called
  926. soa.c:403 soa_set_params() soa_set_params(static::0x7fe7e0145b00, ...) called
  927. soa.c:403 soa_set_params() soa_set_params(static::0x7fe7e0145b00, ...) called
  928. soa.c:1052 soa_set_user_sdp() soa_set_user_sdp(static::0x7fe7e0145b00, (nil), 0x7fe7d00410c1, -1) called
  929. soa.c:890 soa_set_capability_sdp() soa_set_capability_sdp(static::0x7fe7e0145b00, (nil), 0x7fe7d00410c1, -1) called
  930. nua_dialog.c:338 nua_dialog_usage_add() nua(0x7fe7d00132a0): adding session usage
  931. nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0x7fe7e015f020)
  932. soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7fe7e0145b00) called
  933. soa.c:1426 soa_generate_offer() soa_generate_offer(static::0x7fe7e0145b00, 0) called
  934. soa_static.c:1148 offer_answer_step() soa_static_offer_answer_action(0x7fe7e0145b00, soa_generate_offer): called
  935. soa_static.c:1189 offer_answer_step() soa_static(0x7fe7e0145b00, soa_generate_offer): generating local description
  936. soa_static.c:1217 offer_answer_step() soa_static(0x7fe7e0145b00, soa_generate_offer): upgrade with local description
  937. soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7fe7e8f88ac0, (nil), ""): called
  938. soa_static.c:1446 offer_answer_step() soa_static(0x7fe7e0145b00, soa_generate_offer): storing local description
  939. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7fe7e0145b00, [(nil)], [0x7fe7e8f8abf8], [0x7fe7e8f8abf4]) called
  940. nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip
  941. tport.c:3257 tport_tsend() tport_tsend(0x7fe7e020a2d0) tpn = UDP/192.168.1.156:5063
  942. tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063
  943. tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7fe7e020a2d0): not found by name UDP/192.168.1.156:5063
  944. tport.c:3594 tport_vsend() tport_vsend(0x7fe7e020a2d0): 1105 bytes of 1105 to udp/192.168.1.156:5063
  945. tport.c:3492 tport_send_msg() tport_vsend returned 1105
  946. nta.c:8304 outgoing_send() nta: sent INVITE (113436380) to UDP/192.168.1.156:5063
  947. tport.c:4160 tport_pend() tport_pend(0x7fe7e020a2d0): pending 0x7fe7e015f6f0 for udp/192.168.1.141:5060 (already 0)
  948. nta.c:1350 set_timeout() nta: timer set to 32000 ms
  949. nta.c:1348 set_timeout() nta: timer shortened to 1000 ms
  950. nua_session.c:4139 signal_call_state_change() nua(0x7fe7d00132a0): call state changed: init -> calling, sent offer
  951. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7fe7e0145b00, [0x7fe7e8f8abd8], [0x7fe7e8f8abe0], [(nil)]) called
  952. nua_stack.c:269 nua_stack_event() nua(0x7fe7d00132a0): event i_state INVITE sent
  953. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  954. nua_stack.c:529 nua_signal() nua(0x7fe7d00132a0): sent signal r_invite
  955. 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:40 sofia/default/8417705059@192.168.1.156:5063 Standard INIT
  956. 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
  957. 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
  958. 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)
  959. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  960. 2017-10-09 15:58:08.749344 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [calling][0]
  961. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  962. 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:646 (sofia/default/8417705059@192.168.1.156:5063) State RESET
  963. 2017-10-09 15:58:08.749344 [DEBUG] mod_sofia.c:161 sofia/default/8417705059@192.168.1.156:5063 SOFIA RESET
  964. 2017-10-09 15:58:08.749344 [DEBUG] switch_core_state_machine.c:188 sofia/default/8417705059@192.168.1.156:5063 Standard RESET
  965. 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
  966. 2017-10-09 15:58:08.749344 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms
  967. 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
  968. 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
  969. 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
  970. 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
  971. 2017-10-09 15:58:08.769339 [NOTICE] switch_core_sqldb.c:3042 Resurrecting fallen channel sofia/default/6833949103@192.168.1.141
  972. 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)
  973. 2017-10-09 15:58:08.769339 [DEBUG] switch_channel.c:2251 (sofia/default/6833949103@192.168.1.141) Callstate Change DOWN -> ACTIVE
  974. 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6833949103@192.168.1.141) State INIT
  975. 2017-10-09 15:58:08.769339 [DEBUG] mod_sofia.c:90 sofia/default/6833949103@192.168.1.141 SOFIA INIT
  976. nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
  977. nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
  978. 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
  979. 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
  980. Local SDP:
  981. v=0
  982. o=FreeSWITCH 1507519362 1507519364 IN IP4 192.168.1.141
  983. s=FreeSWITCH
  984. c=IN IP4 192.168.1.141
  985. t=0 0
  986. m=audio 25526 RTP/AVP 8 101
  987. a=rtpmap:8 PCMA/8000
  988. a=rtpmap:101 telephone-event/0
  989. a=fmtp:101 0-16
  990. a=ptime:20
  991. a=sendrecv
  992.  
  993. nua.c:633 nua_invite() nua: nua_invite: entering
  994. nua_stack.c:569 nua_stack_signal() nua(0x7fe7d004fb30): recv signal r_invite
  995. nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering
  996. soa.c:280 soa_clone() soa_clone(static::0x7fe7e0207ac0, 0x7fe7e0201b90, 0x7fe7d004fb30) called
  997. soa.c:403 soa_set_params() soa_set_params(static::0x7fe7e011e5c0, ...) called
  998. soa.c:403 soa_set_params() soa_set_params(static::0x7fe7e011e5c0, ...) called
  999. soa.c:1052 soa_set_user_sdp() soa_set_user_sdp(static::0x7fe7e011e5c0, (nil), 0x7fe7d002e447, -1) called
  1000. soa.c:890 soa_set_capability_sdp() soa_set_capability_sdp(static::0x7fe7e011e5c0, (nil), 0x7fe7d002e447, -1) called
  1001. nua_dialog.c:338 nua_dialog_usage_add() nua(0x7fe7d004fb30): adding session usage
  1002. nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(0x7fe7e01ffcd0)
  1003. soa.c:1302 soa_init_offer_answer() soa_init_offer_answer(static::0x7fe7e011e5c0) called
  1004. soa.c:1426 soa_generate_offer() soa_generate_offer(static::0x7fe7e011e5c0, 0) called
  1005. soa_static.c:1148 offer_answer_step() soa_static_offer_answer_action(0x7fe7e011e5c0, soa_generate_offer): called
  1006. soa_static.c:1189 offer_answer_step() soa_static(0x7fe7e011e5c0, soa_generate_offer): generating local description
  1007. soa_static.c:1217 offer_answer_step() soa_static(0x7fe7e011e5c0, soa_generate_offer): upgrade with local description
  1008. soa_static.c:1029 soa_sdp_mode_set() soa_sdp_mode_set(0x7fe7e8f88ac0, (nil), ""): called
  1009. soa_static.c:1446 offer_answer_step() soa_static(0x7fe7e011e5c0, soa_generate_offer): storing local description
  1010. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7fe7e011e5c0, [(nil)], [0x7fe7e8f8abf8], [0x7fe7e8f8abf4]) called
  1011. nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip
  1012. tport.c:3257 tport_tsend() tport_tsend(0x7fe7e020a780) tpn = TCP/192.168.1.33:33186
  1013. tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.33:33186
  1014. tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7fe7e020a780): not found by name TCP/192.168.1.33:33186
  1015. tport.c:862 tport_alloc_secondary() tport_alloc_secondary(0x7fe7e020a780): new secondary tport 0x7fe7e0029390
  1016. tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fe7e0029390): Setting TCP_KEEPIDLE to 30
  1017. tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(0x7fe7e0029390): Setting TCP_KEEPINTVL to 30
  1018. tport.c:1032 tport_base_connect() tport_base_connect(0x7fe7e0029390): connecting to tcp/192.168.1.33:33186/sip
  1019. tport.c:2296 tport_set_secondary_timer() tport(0x7fe7e0029390): reset timer
  1020. tport.c:3782 tport_queue() tport_queue(0x7fe7e0029390): queueing 0x7fe7e0014c10 for tcp/192.168.1.33:33186
  1021. nta.c:8304 outgoing_send() nta: sent INVITE (113436380) to TCP/192.168.1.33:33186
  1022. tport.c:4160 tport_pend() tport_pend(0x7fe7e0029390): pending 0x7fe7e0014c10 for tcp/192.168.1.33:33186 (already 0)
  1023. nua_session.c:4139 signal_call_state_change() nua(0x7fe7d004fb30): call state changed: init -> calling, sent offer
  1024. soa.c:1270 soa_get_local_sdp() soa_get_local_sdp(static::0x7fe7e011e5c0, [0x7fe7e8f8abd8], [0x7fe7e8f8abe0], [(nil)]) called
  1025. nua_stack.c:269 nua_stack_event() nua(0x7fe7d004fb30): event i_state INVITE sent
  1026. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  1027. nua_stack.c:529 nua_signal() nua(0x7fe7d004fb30): sent signal r_invite
  1028. 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:40 sofia/default/6833949103@192.168.1.141 Standard INIT
  1029. 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
  1030. tport.c:2689 tport_connected() tport_connected(0x7fe7e0029390): events CONNECTED ERR
  1031. tport.c:4222 tport_release() tport_release(0x7fe7e0029390): 0x7fe7e0014c10 by 0x7fe7e021c700 with (nil)
  1032. nta.c:8496 outgoing_print_tport_error() nta: INVITE (113436380): Connection refused (111) with tcp/[192.168.1.33]:33186
  1033. nua_stack.c:271 nua_stack_event() nua(0x7fe7d004fb30): event r_invite 503 Service Unavailable
  1034. nua_session.c:4139 signal_call_state_change() nua(0x7fe7d004fb30): call state changed: calling -> init
  1035. nua_stack.c:271 nua_stack_event() nua(0x7fe7d004fb30): event i_state 503 Service Unavailable
  1036. nua_stack.c:271 nua_stack_event() nua(0x7fe7d004fb30): event i_terminated 503 Service Unavailable
  1037. nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x7fe7d004fb30): removing session usage
  1038. soa.c:356 soa_destroy() soa_destroy(static::0x7fe7e011e5c0) called
  1039. nta.c:4470 nta_leg_destroy() nta_leg_destroy(0x7fe7e01ffcd0)
  1040. tport.c:2090 tport_close() tport_close(0x7fe7e0029390): tcp/192.168.1.33:33186/sip
  1041. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  1042. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  1043. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  1044. 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
  1045. 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)
  1046. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1047. 2017-10-09 15:58:08.769339 [DEBUG] sofia.c:7048 Channel sofia/default/6833949103@192.168.1.141 entering state [calling][0]
  1048. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1049. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1050. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1051. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1052. 2017-10-09 15:58:08.769339 [DEBUG] sofia.c:7048 Channel sofia/default/6833949103@192.168.1.141 entering state [terminated][503]
  1053. 2017-10-09 15:58:08.769339 [NOTICE] sofia.c:8237 Hangup sofia/default/6833949103@192.168.1.141 [CS_RESET] [NORMAL_TEMPORARY_FAILURE]
  1054. nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
  1055. nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
  1056. nua_stack.c:569 nua_stack_signal() nua(0x7fe7d004fb30): recv signal r_destroy
  1057. nta.c:4470 nta_leg_destroy() nta_leg_destroy((nil))
  1058. nua_stack.c:529 nua_signal() nua(0x7fe7d004fb30): sent signal r_destroy
  1059. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1060. nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
  1061. nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
  1062. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1063. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1064. nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
  1065. 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:646 (sofia/default/6833949103@192.168.1.141) State RESET
  1066. 2017-10-09 15:58:08.769339 [DEBUG] mod_sofia.c:161 sofia/default/6833949103@192.168.1.141 SOFIA RESET
  1067. 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
  1068. 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)
  1069. 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
  1070. 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:852 (sofia/default/6833949103@192.168.1.141) State HANGUP
  1071. 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
  1072. 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
  1073. 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
  1074. 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
  1075. 2017-10-09 15:58:08.769339 [CONSOLE] sofia_presence.c:1619 Event Thread Started
  1076. 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)
  1077. 2017-10-09 15:58:08.769339 [DEBUG] switch_core_state_machine.c:938 (sofia/default/6833949103@192.168.1.141) State REPORTING
  1078. 2017-10-09 15:58:08.769339 [INFO] mod_json_cdr.c:271 Process [cf0428a8-0331-445f-99e1-28a1c9e93235.cdr.json]
  1079. tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fe7e020a2d0): events IN
  1080. tport.c:2864 tport_recv_event() tport_recv_event(0x7fe7e020a2d0)
  1081. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7fe7e020a2d0) msg 0x7fe7e0164400 from (udp/192.168.1.141:5060) has 344 bytes, veclen = 1
  1082. tport.c:3023 tport_deliver() tport_deliver(0x7fe7e020a2d0): msg 0x7fe7e0164400 (344 bytes) from udp/192.168.1.156:5060/sip next=(nil)
  1083. nta.c:3299 agent_recv_response() nta: received 100 Trying for INVITE (113436380)
  1084. nta.c:3366 agent_recv_response() nta: 100 Trying is going to a transaction
  1085. nta.c:9564 outgoing_estimate_delay() nta_outgoing: RTT is 107.428 ms
  1086. tport.c:4222 tport_release() tport_release(0x7fe7e020a2d0): 0x7fe7e015f6f0 by 0x7fe7e0161ce0 with 0x7fe7e0164400 (preliminary)
  1087. tport.c:2749 tport_wakeup_pri() tport_wakeup_pri(0x7fe7e020a2d0): events IN
  1088. tport.c:2864 tport_recv_event() tport_recv_event(0x7fe7e020a2d0)
  1089. tport.c:3205 tport_recv_iovec() tport_recv_iovec(0x7fe7e020a2d0) msg 0x7fe7e0164400 from (udp/192.168.1.141:5060) has 373 bytes, veclen = 1
  1090. tport.c:3023 tport_deliver() tport_deliver(0x7fe7e020a2d0): msg 0x7fe7e0164400 (373 bytes) from udp/192.168.1.156:5060/sip next=(nil)
  1091. nta.c:3299 agent_recv_response() nta: received 481 Call Leg/Transaction Does Not Exist for INVITE (113436380)
  1092. nta.c:3366 agent_recv_response() nta: 481 Call Leg/Transaction Does Not Exist is going to a transaction
  1093. tport.c:4222 tport_release() tport_release(0x7fe7e020a2d0): 0x7fe7e015f6f0 by 0x7fe7e0161ce0 with 0x7fe7e0164400
  1094. tport.c:3257 tport_tsend() tport_tsend(0x7fe7e020a2d0) tpn = UDP/192.168.1.156:5063
  1095. tport.c:4046 tport_resolve() tport_resolve addrinfo = 192.168.1.156:5063
  1096. tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(0x7fe7e020a2d0): not found by name UDP/192.168.1.156:5063
  1097. tport.c:3594 tport_vsend() tport_vsend(0x7fe7e020a2d0): 345 bytes of 345 to udp/192.168.1.156:5063
  1098. tport.c:3492 tport_send_msg() tport_vsend returned 345
  1099. nta.c:8304 outgoing_send() nta: sent ACK (113436380) to UDP/192.168.1.156:5063
  1100. nta.c:8722 outgoing_free() nta: outgoing_free(0x7fe7e0145180)
  1101. nua_stack.c:271 nua_stack_event() nua(0x7fe7d00132a0): event r_invite 481 Call Leg/Transaction Does Not Exist
  1102. nua_session.c:4139 signal_call_state_change() nua(0x7fe7d00132a0): call state changed: calling -> terminated
  1103. nua_stack.c:271 nua_stack_event() nua(0x7fe7d00132a0): event i_state 481 Call Leg/Transaction Does Not Exist
  1104. nua_stack.c:271 nua_stack_event() nua(0x7fe7d00132a0): event i_terminated 481 Call Leg/Transaction Does Not Exist
  1105. nua_dialog.c:397 nua_dialog_usage_remove_at() nua(0x7fe7d00132a0): removing session usage
  1106. soa.c:356 soa_destroy() soa_destroy(static::0x7fe7e0145b00) called
  1107. nta.c:4470 nta_leg_destroy() nta_leg_destroy(0x7fe7e015f020)
  1108. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  1109. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  1110. nua_stack.c:359 nua_application_event() nua: nua_application_event: entering
  1111. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1112. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1113. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1114. 2017-10-09 15:58:08.889368 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [terminated][481]
  1115. 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]
  1116. nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
  1117. nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
  1118. nua_stack.c:569 nua_stack_signal() nua(0x7fe7d00132a0): recv signal r_destroy
  1119. nta.c:4470 nta_leg_destroy() nta_leg_destroy((nil))
  1120. nua_stack.c:529 nua_signal() nua(0x7fe7d00132a0): sent signal r_destroy
  1121. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1122. nua.c:342 nua_handle_bind() nua: nua_handle_bind: entering
  1123. nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
  1124. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1125. nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering
  1126. nua.c:921 nua_handle_destroy() nua: nua_handle_destroy: entering
  1127. 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)
  1128. 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
  1129. 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:852 (sofia/default/8417705059@192.168.1.156:5063) State HANGUP
  1130. 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
  1131. 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
  1132. 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
  1133. 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
  1134. 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
  1135. 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)
  1136. 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:938 (sofia/default/8417705059@192.168.1.156:5063) State REPORTING
  1137. 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
  1138. 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
  1139. 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
  1140. 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
  1141. 2017-10-09 15:58:08.889368 [NOTICE] switch_core_session.c:1682 Session 1 (sofia/default/8417705059@192.168.1.156:5063) Ended
  1142. 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]
  1143. 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)
  1144. 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:751 (sofia/default/8417705059@192.168.1.156:5063) State DESTROY
  1145. 2017-10-09 15:58:08.889368 [DEBUG] mod_sofia.c:343 sofia/default/8417705059@192.168.1.156:5063 SOFIA DESTROY
  1146. 2017-10-09 15:58:08.889368 [DEBUG] switch_core_state_machine.c:181 sofia/default/8417705059@192.168.1.156:5063 Standard DESTROY
  1147. 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
  1148. 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
  1149. 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
  1150. 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
  1151. 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
  1152. 2017-10-09 15:58:08.929340 [NOTICE] switch_core_session.c:1682 Session 2 (sofia/default/6833949103@192.168.1.141) Ended
  1153. 2017-10-09 15:58:08.929340 [NOTICE] switch_core_session.c:1686 Close Channel sofia/default/6833949103@192.168.1.141 [CS_DESTROY]
  1154. 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)
  1155. 2017-10-09 15:58:08.929340 [DEBUG] switch_core_state_machine.c:751 (sofia/default/6833949103@192.168.1.141) State DESTROY
  1156. 2017-10-09 15:58:08.929340 [DEBUG] mod_sofia.c:343 sofia/default/6833949103@192.168.1.141 SOFIA DESTROY
  1157. 2017-10-09 15:58:08.929340 [DEBUG] switch_core_state_machine.c:181 sofia/default/6833949103@192.168.1.141 Standard DESTROY
  1158. 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
  1159. freeswitch@freeswitch>
  1160. freeswitch@freeswitch>
  1161. nta.c:1296 agent_timer() nta: timer set next to 31005 ms
  1162. freeswitch@freeswitch> /exit
  1163.