From ketank, 6 Years ago, written in FreeSWITCH.
- view diff
Embed
  1.  
  2.  
  3. ============================================= Node1 =================================================================
  4.  
  5.  
  6. ----------------------------------------------------------------------
  7. recv 1219 bytes from tcp/[192.168.1.33]:33186 at 15:52:01.601465:
  8.    ------------------------------------------------------------------------
  9.    INVITE 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-57e6419951e09c35-1---d8754z-
  11.    Max-Forwards: 70
  12.    Contact: <sip:6833949103@117.247.91.162:49554;transport=TCP>
  13.    To: <sip:8417705059@192.168.1.141;transport=TCP>
  14.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=86fca756
  15.    Call-ID: OWNmZTE4NWM5ZDhmOGMyYmUyNGFmYTM1YWNhNjIzZmM.
  16.    CSeq: 2 INVITE
  17.   Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  18.    Content-Type: application/sdp
  19.    Proxy-Authorization: Digest username="6833949103",realm="192.168.1.141",nonce="89cd5559-dd65-44eb-bfea-90976d29269a",uri="sip:8417705059@192.168.1.141;transport=TCP",response="764a08a50938d4c45c8c0fda34e4b90e",cnonce="40fd867eaf2d4f968b20dface02b876d",nc=00000001,qop=auth,algorithm=MD5
  20.    Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
  21.    User-Agent: Z 3.3.25608 r25552
  22.    Allow-Events: presence, kpml
  23.    Content-Length: 243
  24.    
  25.    v=0
  26.    o=Z 0 0 IN IP4 117.247.91.162
  27.    s=Z
  28.    c=IN IP4 117.247.91.162
  29.    t=0 0
  30.    m=audio 8000 RTP/AVP 3 110 8 0 98 101
  31.    a=rtpmap:110 speex/8000
  32.    a=rtpmap:98 iLBC/8000
  33.    a=fmtp:98 mode=20
  34.    a=rtpmap:101 telephone-event/8000
  35.    a=fmtp:101 0-15
  36.    a=sendrecv
  37.    ------------------------------------------------------------------------
  38. send 346 bytes to tcp/[192.168.1.33]:33186 at 15:52:01.601791:
  39.    ------------------------------------------------------------------------
  40.    SIP/2.0 100 Trying
  41.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-57e6419951e09c35-1---d8754z-;rport=33186
  42.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=86fca756
  43.    To: <sip:8417705059@192.168.1.141;transport=TCP>
  44.    Call-ID: OWNmZTE4NWM5ZDhmOGMyYmUyNGFmYTM1YWNhNjIzZmM.
  45.    CSeq: 2 INVITE
  46.    User-Agent: ASTPP
  47.    Content-Length: 0
  48.    
  49.    ------------------------------------------------------------------------
  50. 2017-10-09 15:52:01.591545 [DEBUG] sofia.c:2442 Re-attaching to session cf0428a8-0331-445f-99e1-28a1c9e93235
  51. 2017-10-09 15:52:01.611522 [DEBUG] sofia.c:9837 sofia/default/6833949103@192.168.1.141 receiving invite from 192.168.1.33:33186 version: 1.6.18  64bit
  52. 2017-10-09 15:52:01.611522 [DEBUG] sofia.c:10008 IP 192.168.1.33 Rejected by acl "default". Falling back to Digest auth.
  53. 2017-10-09 15:52:01.891526 [DEBUG] sofia.c:11132 Setting NAT mode based on via port
  54. 2017-10-09 15:52:01.891526 [DEBUG] sofia.c:7048 Channel sofia/default/6833949103@192.168.1.141 entering state [received][100]
  55. 2017-10-09 15:52:01.891526 [DEBUG] sofia.c:7058 Remote SDP:
  56. v=0
  57. o=Z 0 0 IN IP4 117.247.91.162
  58. s=Z
  59. c=IN IP4 117.247.91.162
  60. t=0 0
  61. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  62. a=rtpmap:110 speex/8000
  63. a=rtpmap:98 iLBC/8000
  64. a=fmtp:98 mode=20
  65. a=rtpmap:101 telephone-event/8000
  66. a=fmtp:101 0-15
  67.  
  68. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  69. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  70. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  71. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  72. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  73. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  74. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  75. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  76. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  77. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  78. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  79. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  80. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000
  81. 2017-10-09 15:52:01.891526 [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
  82. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_codec.c:111 sofia/default/6833949103@192.168.1.141 Original read codec set to PCMA:8
  83. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000
  84. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_media.c:4763 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf send payload to 101 recv payload to 101
  85. 2017-10-09 15:52:01.891526 [DEBUG] sofia.c:7471 (sofia/default/6833949103@192.168.1.141) State Change CS_NEW -> CS_INIT
  86. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6833949103@192.168.1.141) Running State Change CS_INIT (Cur 1 Tot 11)
  87. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6833949103@192.168.1.141) State INIT
  88. 2017-10-09 15:52:01.891526 [DEBUG] mod_sofia.c:90 sofia/default/6833949103@192.168.1.141 SOFIA INIT
  89. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_state_machine.c:40 sofia/default/6833949103@192.168.1.141 Standard INIT
  90. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_state_machine.c:48 (sofia/default/6833949103@192.168.1.141) State Change CS_INIT -> CS_ROUTING
  91. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_state_machine.c:627 (sofia/default/6833949103@192.168.1.141) State INIT going to sleep
  92. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6833949103@192.168.1.141) Running State Change CS_ROUTING (Cur 1 Tot 11)
  93. 2017-10-09 15:52:01.891526 [DEBUG] switch_channel.c:2249 (sofia/default/6833949103@192.168.1.141) Callstate Change DOWN -> RINGING
  94. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6833949103@192.168.1.141) State ROUTING
  95. 2017-10-09 15:52:01.891526 [DEBUG] mod_sofia.c:143 sofia/default/6833949103@192.168.1.141 SOFIA ROUTING
  96. 2017-10-09 15:52:01.891526 [DEBUG] switch_core_state_machine.c:236 sofia/default/6833949103@192.168.1.141 Standard ROUTING
  97. 2017-10-09 15:52:01.891526 [INFO] mod_dialplan_xml.c:637 Processing 6833949103 <6833949103>->8417705059 in context default
  98. 2017-10-09 15:52:01.891526 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f2004044460 Connected.
  99. 2017-10-09 15:52:01.891526 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM system WHERE group_title IN ('global','opensips','callingcard')
  100. 2017-10-09 15:52:01.911521 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 8417705059
  101. 2017-10-09 15:52:01.911521 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 6833949103 / 6833949103
  102. 2017-10-09 15:52:01.911521 [DEBUG] switch_cpp.cpp:1365 [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
  103. 2017-10-09 15:52:01.911521 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,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 username="8417705059" limit 1
  104. 2017-10-09 15:52:01.911521 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : local
  105. 2017-10-09 15:52:01.911521 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 6833949103]
  106. 2017-10-09 15:52:01.911521 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "6833949103" OR id="6833949103") AND status=0 AND deleted=0 AND (expiry >= '2017-10-09 10:22:01' OR expiry = '0000-00-00 00:00:00') limit 1
  107. 2017-10-09 15:52:01.931528 [DEBUG] switch_cpp.cpp:1365 [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
  108. 2017-10-09 15:52:01.931528 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  109. 2017-10-09 15:52:01.931528 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 4
  110. 2017-10-09 15:52:01.931528 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 6833949103
  111. 2017-10-09 15:52:01.931528 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 100
  112. 2017-10-09 15:52:01.931528 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  113. 2017-10-09 15:52:01.931528 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 1
  114. 2017-10-09 15:52:01.931528 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  115. 2017-10-09 15:52:01.931528 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  116. 2017-10-09 15:52:01.931528 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
  117. 2017-10-09 15:52:01.931528 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 100 minutes
  118. 2017-10-09 15:52:01.931528 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,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 username="8417705059" limit 1
  119. 2017-10-09 15:52:01.931528 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts
  120. 2017-10-09 15:52:01.931528 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends
  121. 2017-10-09 15:52:01.931528 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  122. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  123. <document type="freeswitch/xml">
  124. <section name="dialplan" description="ASTPP Dialplan">
  125. <context name="default">
  126. <extension name="att_xfer">
  127. <condition field="destination_number" expression="^att_xfer$">
  128. <action application="read" data="1 10 'tone_stream://%(10000,0,350,440)' digits 20000 #"/>
  129. <action application="transfer" data="-bleg ${digits}"/>
  130. </condition>
  131. </extension>
  132. <extension name="8417705059">
  133. <condition field="destination_number" expression="8417705059">
  134. <action application="set" data="effective_destination_number=8417705059"/>
  135. <action application="sched_hangup" data="+6000 normal_clearing"/>
  136. <action application="set" data="callstart=2017-10-09 10:22:01"/>
  137. <action application="set" data="hangup_after_bridge=true"/>
  138. <action application="set" data="continue_on_fail=true"/>
  139. <action application="set" data="account_id=4"/>
  140. <action application="set" data="parent_id=0"/>
  141. <action application="set" data="entity_id=0"/>
  142. <action application="set" data="call_processed=internal"/>
  143. <action application="set" data="call_direction=local"/>
  144. <action application="set" data="accountname=default"/>
  145. <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"/>
  146. <action application="set" data="original_caller_id_name=6833949103"/>
  147. <action application="set" data="original_caller_id_number=6833949103"/>
  148. <action application="set" data="effective_caller_id_name=6833949103"/>
  149. <action application="set" data="effective_caller_id_number=6833949103"/>
  150. <action application="set" data="calltype=LOCAL"/>
  151. <action application="set" data="receiver_accid=2"/>
  152. <action application="bind_meta_app" data="2 ab ab execute_extension::att_xfer XML default"/>
  153. <action application="bridge" data="[leg_timeout=30]user/8417705059@${domain_name}"/>
  154. <condition field="${cond(${user_data 8417705059@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  155. <action application="export" data="voicemail_alternate_greet_id=8417705059"/>
  156. <action application="answer"/>
  157. <action application="voicemail" data="default $${domain_name} 8417705059"/>
  158. <anti-action application="hangup" data="${originate_disposition}"/>
  159. </condition>
  160. </condition>
  161. </extension>
  162. </context>
  163. </section>
  164. </document>
  165. 2017-10-09 15:52:01.931528 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f2004044460 released.
  166. Dialplan: sofia/default/6833949103@192.168.1.141 parsing [default->att_xfer] continue=false
  167. Dialplan: sofia/default/6833949103@192.168.1.141 Regex (FAIL) [att_xfer] destination_number(8417705059) =~ /^att_xfer$/ break=on-false
  168. Dialplan: sofia/default/6833949103@192.168.1.141 parsing [default->8417705059] continue=false
  169. Dialplan: sofia/default/6833949103@192.168.1.141 Regex (PASS) [8417705059] destination_number(8417705059) =~ /8417705059/ break=on-false
  170. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(effective_destination_number=8417705059)
  171. Dialplan: sofia/default/6833949103@192.168.1.141 Action sched_hangup(+6000 normal_clearing)
  172. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(callstart=2017-10-09 10:22:01)
  173. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(hangup_after_bridge=true)
  174. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(continue_on_fail=true)
  175. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(account_id=4)
  176. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(parent_id=0)
  177. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(entity_id=0)
  178. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(call_processed=internal)
  179. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(call_direction=local)
  180. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(accountname=default)
  181. 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)
  182. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(original_caller_id_name=6833949103)
  183. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(original_caller_id_number=6833949103)
  184. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(effective_caller_id_name=6833949103)
  185. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(effective_caller_id_number=6833949103)
  186. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(calltype=LOCAL)
  187. Dialplan: sofia/default/6833949103@192.168.1.141 Action set(receiver_accid=2)
  188. Dialplan: sofia/default/6833949103@192.168.1.141 Action bind_meta_app(2 ab ab execute_extension::att_xfer XML default)
  189. Dialplan: sofia/default/6833949103@192.168.1.141 Action bridge([leg_timeout=30]user/8417705059@${domain_name})
  190. |--- Dialplan: Processing recursive conditions level:1 [8417705059_recur_1] require-nested=TRUE
  191. |--- 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
  192. |--- Dialplan: sofia/default/6833949103@192.168.1.141 Action export(voicemail_alternate_greet_id=8417705059)
  193. |--- Dialplan: sofia/default/6833949103@192.168.1.141 Action answer()
  194. |--- Dialplan: sofia/default/6833949103@192.168.1.141 Action voicemail(default $${domain_name} 8417705059)
  195. 2017-10-09 15:52:01.931528 [DEBUG] switch_core_state_machine.c:286 (sofia/default/6833949103@192.168.1.141) State Change CS_ROUTING -> CS_EXECUTE
  196. 2017-10-09 15:52:01.931528 [DEBUG] switch_core_state_machine.c:643 (sofia/default/6833949103@192.168.1.141) State ROUTING going to sleep
  197. 2017-10-09 15:52:01.931528 [DEBUG] switch_core_state_machine.c:584 (sofia/default/6833949103@192.168.1.141) Running State Change CS_EXECUTE (Cur 1 Tot 11)
  198. 2017-10-09 15:52:01.931528 [DEBUG] switch_core_state_machine.c:650 (sofia/default/6833949103@192.168.1.141) State EXECUTE
  199. 2017-10-09 15:52:01.931528 [DEBUG] mod_sofia.c:198 sofia/default/6833949103@192.168.1.141 SOFIA EXECUTE
  200. 2017-10-09 15:52:01.931528 [DEBUG] switch_core_state_machine.c:328 sofia/default/6833949103@192.168.1.141 Standard EXECUTE
  201. EXECUTE sofia/default/6833949103@192.168.1.141 set(effective_destination_number=8417705059)
  202. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [effective_destination_number]=[8417705059]
  203. EXECUTE sofia/default/6833949103@192.168.1.141 sched_hangup(+6000 normal_clearing)
  204. 2017-10-09 15:52:01.931528 [DEBUG] switch_scheduler.c:249 Added task 6 switch_ivr_schedule_hangup (cf0428a8-0331-445f-99e1-28a1c9e93235) to run at 1507550521
  205. EXECUTE sofia/default/6833949103@192.168.1.141 set(callstart=2017-10-09 10:22:01)
  206. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [callstart]=[2017-10-09 10:22:01]
  207. EXECUTE sofia/default/6833949103@192.168.1.141 set(hangup_after_bridge=true)
  208. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [hangup_after_bridge]=[true]
  209. EXECUTE sofia/default/6833949103@192.168.1.141 set(continue_on_fail=true)
  210. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [continue_on_fail]=[true]
  211. EXECUTE sofia/default/6833949103@192.168.1.141 set(account_id=4)
  212. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [account_id]=[4]
  213. EXECUTE sofia/default/6833949103@192.168.1.141 set(parent_id=0)
  214. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [parent_id]=[0]
  215. EXECUTE sofia/default/6833949103@192.168.1.141 set(entity_id=0)
  216. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [entity_id]=[0]
  217. EXECUTE sofia/default/6833949103@192.168.1.141 set(call_processed=internal)
  218. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [call_processed]=[internal]
  219. EXECUTE sofia/default/6833949103@192.168.1.141 set(call_direction=local)
  220. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [call_direction]=[local]
  221. EXECUTE sofia/default/6833949103@192.168.1.141 set(accountname=default)
  222. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [accountname]=[default]
  223. 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)
  224. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 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]
  225. EXECUTE sofia/default/6833949103@192.168.1.141 set(original_caller_id_name=6833949103)
  226. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [original_caller_id_name]=[6833949103]
  227. EXECUTE sofia/default/6833949103@192.168.1.141 set(original_caller_id_number=6833949103)
  228. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [original_caller_id_number]=[6833949103]
  229. EXECUTE sofia/default/6833949103@192.168.1.141 set(effective_caller_id_name=6833949103)
  230. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [effective_caller_id_name]=[6833949103]
  231. EXECUTE sofia/default/6833949103@192.168.1.141 set(effective_caller_id_number=6833949103)
  232. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [effective_caller_id_number]=[6833949103]
  233. EXECUTE sofia/default/6833949103@192.168.1.141 set(calltype=LOCAL)
  234. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [calltype]=[LOCAL]
  235. EXECUTE sofia/default/6833949103@192.168.1.141 set(receiver_accid=2)
  236. 2017-10-09 15:52:01.931528 [DEBUG] mod_dptools.c:1530 SET sofia/default/6833949103@192.168.1.141 [receiver_accid]=[2]
  237. EXECUTE sofia/default/6833949103@192.168.1.141 bind_meta_app(2 ab ab execute_extension::att_xfer XML default)
  238. 2017-10-09 15:52:01.931528 [ERR] mod_dptools.c:747 Cannot bind execute to multiple legs
  239. 2017-10-09 15:52:01.931528 [INFO] switch_ivr_async.c:4165 Bound A-Leg: *2 execute_extension::att_xfer XML default
  240. 2017-10-09 15:52:01.931528 [INFO] switch_ivr_async.c:4173 Bound B-Leg: *2 execute_extension::att_xfer XML default
  241. EXECUTE sofia/default/6833949103@192.168.1.141 bridge([leg_timeout=30]user/8417705059@192.168.1.141)
  242. 2017-10-09 15:52:01.931528 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  243. 2017-10-09 15:52:01.931528 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  244. 2017-10-09 15:52:02.311527 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  245. 2017-10-09 15:52:02.311527 [NOTICE] switch_channel.c:1104 New Channel sofia/default/8417705059@192.168.1.156:5063 [883015e7-fc3f-40bb-9ef8-374c11f0c51f]
  246. 2017-10-09 15:52:02.311527 [DEBUG] mod_sofia.c:4819 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_NEW -> CS_INIT
  247. 2017-10-09 15:52:02.311527 [DEBUG] switch_ivr_originate.c:2963 sofia/default/8417705059@192.168.1.156:5063 Setting leg timeout to 30
  248. 2017-10-09 15:52:02.311527 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_INIT (Cur 2 Tot 12)
  249. 2017-10-09 15:52:02.311527 [DEBUG] switch_core_state_machine.c:627 (sofia/default/8417705059@192.168.1.156:5063) State INIT
  250. 2017-10-09 15:52:02.311527 [DEBUG] mod_sofia.c:90 sofia/default/8417705059@192.168.1.156:5063 SOFIA INIT
  251. 2017-10-09 15:52:02.331522 [DEBUG] sofia_glue.c:1295 sofia/default/8417705059@192.168.1.156:5063 sending invite version: 1.6.18  64bit
  252. Local SDP:
  253. v=0
  254. o=FreeSWITCH 1507519766 1507519767 IN IP4 192.168.1.141
  255. s=FreeSWITCH
  256. c=IN IP4 192.168.1.141
  257. t=0 0
  258. m=audio 24756 RTP/AVP 8 101
  259. a=rtpmap:8 PCMA/8000
  260. a=rtpmap:101 telephone-event/8000
  261. a=fmtp:101 0-16
  262. a=ptime:20
  263. a=sendrecv
  264.  
  265. send 1092 bytes to udp/[192.168.1.156]:5063 at 15:52:02.331846:
  266.    ------------------------------------------------------------------------
  267.    INVITE sip:8417705059@192.168.1.156:5063 SIP/2.0
  268.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKy4FcNgpyvaH0p
  269.    Max-Forwards: 69
  270.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=6XmtKvg1US51D
  271.    To: <sip:8417705059@192.168.1.156:5063>
  272.    Call-ID: 883d6032-277e-1236-688f-000c29f46286
  273.    CSeq: 113436197 INVITE
  274.    Contact: <sip:mod_sofia@192.168.1.141:5060>
  275.    User-Agent: ASTPP
  276.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  277.    Supported: path, replaces
  278.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  279.    Content-Type: application/sdp
  280.    Content-Disposition: session
  281.    Content-Length: 222
  282.    Remote-Party-ID: "6833949103" <sip:6833949103@192.168.1.141>;party=calling;screen=yes;privacy=off
  283.    
  284.    v=0
  285.    o=FreeSWITCH 1507519766 1507519767 IN IP4 192.168.1.141
  286.    s=FreeSWITCH
  287.    c=IN IP4 192.168.1.141
  288.    t=0 0
  289.    m=audio 24756 RTP/AVP 8 101
  290.    a=rtpmap:8 PCMA/8000
  291.    a=rtpmap:101 telephone-event/8000
  292.    a=fmtp:101 0-16
  293.    a=ptime:20
  294.    ------------------------------------------------------------------------
  295. 2017-10-09 15:52:02.331522 [DEBUG] switch_core_state_machine.c:40 sofia/default/8417705059@192.168.1.156:5063 Standard INIT
  296. 2017-10-09 15:52:02.331522 [DEBUG] switch_core_state_machine.c:48 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_INIT -> CS_ROUTING
  297. 2017-10-09 15:52:02.331522 [DEBUG] switch_core_state_machine.c:627 (sofia/default/8417705059@192.168.1.156:5063) State INIT going to sleep
  298. 2017-10-09 15:52:02.331522 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_ROUTING (Cur 2 Tot 12)
  299. 2017-10-09 15:52:02.331522 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [calling][0]
  300. 2017-10-09 15:52:02.331522 [DEBUG] switch_core_state_machine.c:643 (sofia/default/8417705059@192.168.1.156:5063) State ROUTING
  301. 2017-10-09 15:52:02.331522 [DEBUG] mod_sofia.c:143 sofia/default/8417705059@192.168.1.156:5063 SOFIA ROUTING
  302. 2017-10-09 15:52:02.331522 [DEBUG] switch_ivr_originate.c:67 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  303. 2017-10-09 15:52:02.331522 [DEBUG] switch_core_state_machine.c:643 (sofia/default/8417705059@192.168.1.156:5063) State ROUTING going to sleep
  304. 2017-10-09 15:52:02.331522 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 12)
  305. 2017-10-09 15:52:02.331522 [DEBUG] switch_core_state_machine.c:662 (sofia/default/8417705059@192.168.1.156:5063) State CONSUME_MEDIA
  306. 2017-10-09 15:52:02.331522 [DEBUG] switch_core_state_machine.c:662 (sofia/default/8417705059@192.168.1.156:5063) State CONSUME_MEDIA going to sleep
  307. recv 329 bytes from udp/[192.168.1.156]:5063 at 15:52:02.417203:
  308.    ------------------------------------------------------------------------
  309.    SIP/2.0 100 Trying
  310.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKy4FcNgpyvaH0p
  311.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=6XmtKvg1US51D
  312.    To: <sip:8417705059@192.168.1.156:5063>
  313.    Call-ID: 883d6032-277e-1236-688f-000c29f46286
  314.    CSeq: 113436197 INVITE
  315.    User-Agent: Yealink SIP-T21P 34.72.0.75
  316.    Content-Length: 0
  317.    
  318.    ------------------------------------------------------------------------
  319. recv 561 bytes from udp/[192.168.1.156]:5063 at 15:52:02.552645:
  320.    ------------------------------------------------------------------------
  321.    SIP/2.0 180 Ringing
  322.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKy4FcNgpyvaH0p
  323.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=6XmtKvg1US51D
  324.    To: <sip:8417705059@192.168.1.156:5063>;tag=1840720146
  325.    Call-ID: 883d6032-277e-1236-688f-000c29f46286
  326.    CSeq: 113436197 INVITE
  327.    Contact: <sip:8417705059@192.168.1.156:5063>
  328.   Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  329.    User-Agent: Yealink SIP-T21P 34.72.0.75
  330.    Allow-Events: talk,hold,conference,refer,check-sync
  331.    Content-Length: 0
  332.    
  333.    ------------------------------------------------------------------------
  334. 2017-10-09 15:52:03.111530 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [proceeding][180]
  335. 2017-10-09 15:52:03.111530 [NOTICE] sofia.c:7156 Ring-Ready sofia/default/8417705059@192.168.1.156:5063!
  336. 2017-10-09 15:52:03.111530 [DEBUG] switch_channel.c:3346 (sofia/default/8417705059@192.168.1.156:5063) Callstate Change DOWN -> RINGING
  337. send 758 bytes to tcp/[192.168.1.33]:33186 at 15:52:03.136050:
  338.    ------------------------------------------------------------------------
  339.    SIP/2.0 180 Ringing
  340.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-57e6419951e09c35-1---d8754z-;rport=33186
  341.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=86fca756
  342.    To: <sip:8417705059@192.168.1.141;transport=TCP>;tag=5mU1H1ZXygFFj
  343.    Call-ID: OWNmZTE4NWM5ZDhmOGMyYmUyNGFmYTM1YWNhNjIzZmM.
  344.    CSeq: 2 INVITE
  345.    Contact: <sip:8417705059@192.168.1.141:5060;transport=tcp>
  346.    User-Agent: ASTPP
  347.    Accept: application/sdp
  348.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  349.    Supported: path, replaces
  350.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  351.    Content-Length: 0
  352.    
  353.    ------------------------------------------------------------------------
  354. 2017-10-09 15:52:03.131528 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/6833949103@192.168.1.141!
  355. 2017-10-09 15:52:03.131528 [DEBUG] sofia.c:7048 Channel sofia/default/6833949103@192.168.1.141 entering state [early][180]
  356. 2017-10-09 15:52:03.131528 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/6833949103@192.168.1.141!
  357. recv 749 bytes from udp/[192.168.1.156]:5063 at 15:52:07.446533:
  358.    ------------------------------------------------------------------------
  359.    SIP/2.0 200 OK
  360.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKy4FcNgpyvaH0p
  361.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=6XmtKvg1US51D
  362.    To: <sip:8417705059@192.168.1.156:5063>;tag=1840720146
  363.    Call-ID: 883d6032-277e-1236-688f-000c29f46286
  364.    CSeq: 113436197 INVITE
  365.    Contact: <sip:8417705059@192.168.1.156:5063>
  366.    Content-Type: application/sdp
  367.   Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  368.    User-Agent: Yealink SIP-T21P 34.72.0.75
  369.    Content-Length: 213
  370.    
  371.    v=0
  372.    o=- 20000 20000 IN IP4 192.168.1.156
  373.    s=SDP data
  374.    c=IN IP4 192.168.1.156
  375.    t=0 0
  376.    m=audio 11780 RTP/AVP 8 101
  377.    a=rtpmap:8 PCMA/8000
  378.    a=sendrecv
  379.    a=ptime:20
  380.    a=fmtp:101 0-15
  381.    a=rtpmap:101 telephone-event/8000
  382.    ------------------------------------------------------------------------
  383. 2017-10-09 15:52:07.631527 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [completing][200]
  384. 2017-10-09 15:52:07.631527 [DEBUG] sofia.c:7058 Remote SDP:
  385. v=0
  386. o=- 20000 20000 IN IP4 192.168.1.156
  387. s=SDP data
  388. c=IN IP4 192.168.1.156
  389. t=0 0
  390. m=audio 11780 RTP/AVP 8 101
  391. a=rtpmap:8 PCMA/8000
  392. a=rtpmap:101 telephone-event/8000
  393. a=fmtp:101 0-15
  394. a=ptime:20
  395.  
  396. send 390 bytes to udp/[192.168.1.156]:5063 at 15:52:07.645456:
  397.    ------------------------------------------------------------------------
  398.    ACK sip:8417705059@192.168.1.156:5063 SIP/2.0
  399.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKZD94pB71SK7jj
  400.    Max-Forwards: 70
  401.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=6XmtKvg1US51D
  402.    To: <sip:8417705059@192.168.1.156:5063>;tag=1840720146
  403.    Call-ID: 883d6032-277e-1236-688f-000c29f46286
  404.    CSeq: 113436197 ACK
  405.    Contact: <sip:mod_sofia@192.168.1.141:5060>
  406.    Content-Length: 0
  407.    
  408.    ------------------------------------------------------------------------
  409. 2017-10-09 15:52:07.631527 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [ready][200]
  410. 2017-10-09 15:52:07.651529 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  411. 2017-10-09 15:52:07.651529 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  412. 2017-10-09 15:52:07.651529 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000
  413. 2017-10-09 15:52:07.651529 [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
  414. 2017-10-09 15:52:07.651529 [DEBUG] switch_core_codec.c:111 sofia/default/8417705059@192.168.1.156:5063 Original read codec set to PCMA:8
  415. 2017-10-09 15:52:07.651529 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000
  416. 2017-10-09 15:52:07.651529 [DEBUG] switch_core_media.c:4763 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf send payload to 101 recv payload to 101
  417. 2017-10-09 15:52:07.651529 [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
  418. 2017-10-09 15:52:07.651529 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms
  419. 2017-10-09 15:52:07.651529 [DEBUG] switch_core_media.c:7175 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf send payload to 101
  420. 2017-10-09 15:52:07.651529 [DEBUG] switch_core_media.c:7182 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf receive payload to 101
  421. 2017-10-09 15:52:07.651529 [DEBUG] switch_core_media.c:7205 sofia/default/8417705059@192.168.1.156:5063 Set rtp dtmf delay to 40
  422. 2017-10-09 15:52:07.651529 [NOTICE] sofia.c:8182 Channel [sofia/default/8417705059@192.168.1.156:5063] has been answered
  423. 2017-10-09 15:52:07.651529 [DEBUG] switch_channel.c:3773 (sofia/default/8417705059@192.168.1.156:5063) Callstate Change RINGING -> ACTIVE
  424. 2017-10-09 15:52:07.851524 [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
  425. 2017-10-09 15:52:07.851524 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms
  426. 2017-10-09 15:52:07.851524 [DEBUG] switch_core_media.c:7175 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf send payload to 101
  427. 2017-10-09 15:52:07.851524 [DEBUG] switch_core_media.c:7182 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf receive payload to 101
  428. 2017-10-09 15:52:07.851524 [DEBUG] switch_core_media.c:7205 sofia/default/6833949103@192.168.1.141 Set rtp dtmf delay to 40
  429. 2017-10-09 15:52:07.851524 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/6833949103@192.168.1.141:
  430. v=0
  431. o=FreeSWITCH 1507519001 1507519002 IN IP4 192.168.1.141
  432. s=FreeSWITCH
  433. c=IN IP4 192.168.1.141
  434. t=0 0
  435. m=audio 25526 RTP/AVP 8 101
  436. a=rtpmap:8 PCMA/8000
  437. a=rtpmap:101 telephone-event/8000
  438. a=fmtp:101 0-16
  439. a=ptime:20
  440. a=sendrecv
  441.  
  442. send 1013 bytes to tcp/[192.168.1.33]:33186 at 15:52:07.862675:
  443.    ------------------------------------------------------------------------
  444.    SIP/2.0 200 OK
  445.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-57e6419951e09c35-1---d8754z-;rport=33186
  446.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=86fca756
  447.    To: <sip:8417705059@192.168.1.141;transport=TCP>;tag=5mU1H1ZXygFFj
  448.    Call-ID: OWNmZTE4NWM5ZDhmOGMyYmUyNGFmYTM1YWNhNjIzZmM.
  449.    CSeq: 2 INVITE
  450.    Contact: <sip:8417705059@192.168.1.141:5060;transport=tcp>
  451.    User-Agent: ASTPP
  452.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  453.    Supported: path, replaces
  454.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  455.    Content-Type: application/sdp
  456.    Content-Disposition: session
  457.    Content-Length: 222
  458.    
  459.    v=0
  460.    o=FreeSWITCH 1507519001 1507519002 IN IP4 192.168.1.141
  461.    s=FreeSWITCH
  462.    c=IN IP4 192.168.1.141
  463.    t=0 0
  464.    m=audio 25526 RTP/AVP 8 101
  465.    a=rtpmap:8 PCMA/8000
  466.    a=rtpmap:101 telephone-event/8000
  467.    a=fmtp:101 0-16
  468.    a=ptime:20
  469.    ------------------------------------------------------------------------
  470. 2017-10-09 15:52:07.851524 [DEBUG] sofia.c:7048 Channel sofia/default/6833949103@192.168.1.141 entering state [completed][200]
  471. 2017-10-09 15:52:07.851524 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/6833949103@192.168.1.141] has been answered
  472. 2017-10-09 15:52:07.851524 [DEBUG] switch_channel.c:3773 (sofia/default/6833949103@192.168.1.141) Callstate Change RINGING -> ACTIVE
  473. 2017-10-09 15:52:07.851524 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/8417705059@192.168.1.156:5063]
  474. 2017-10-09 15:52:07.851524 [DEBUG] switch_ivr_originate.c:2963 sofia/default/8417705059@192.168.1.156:5063 Setting leg timeout to 30
  475. 2017-10-09 15:52:07.851524 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/8417705059@192.168.1.156:5063]
  476. recv 771 bytes from tcp/[192.168.1.33]:33186 at 15:52:07.867755:
  477.    ------------------------------------------------------------------------
  478.    ACK sip:8417705059@192.168.1.141:5060;transport=tcp SIP/2.0
  479.    Via: SIP/2.0/TCP 192.168.1.33:49554;branch=z9hG4bK-d8754z-7326a5c5aafe8dbb-1---d8754z-
  480.    Max-Forwards: 70
  481.    Contact: <sip:6833949103@117.247.91.162:49554;transport=TCP>
  482.    To: <sip:8417705059@192.168.1.141;transport=TCP>;tag=5mU1H1ZXygFFj
  483.    From: <sip:6833949103@192.168.1.141;transport=TCP>;tag=86fca756
  484.    Call-ID: OWNmZTE4NWM5ZDhmOGMyYmUyNGFmYTM1YWNhNjIzZmM.
  485.    CSeq: 2 ACK
  486.    Proxy-Authorization: Digest username="6833949103",realm="192.168.1.141",nonce="89cd5559-dd65-44eb-bfea-90976d29269a",uri="sip:8417705059@192.168.1.141;transport=TCP",response="764a08a50938d4c45c8c0fda34e4b90e",cnonce="40fd867eaf2d4f968b20dface02b876d",nc=00000001,qop=auth,algorithm=MD5
  487.    User-Agent: Z 3.3.25608 r25552
  488.    Content-Length: 0
  489.    
  490.    ------------------------------------------------------------------------
  491. 2017-10-09 15:52:07.851524 [DEBUG] sofia.c:7048 Channel sofia/default/6833949103@192.168.1.141 entering state [ready][200]
  492. 2017-10-09 15:52:08.211530 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  493. 2017-10-09 15:52:08.211530 [DEBUG] switch_core_state_machine.c:584 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 12)
  494. 2017-10-09 15:52:08.211530 [DEBUG] switch_core_state_machine.c:653 (sofia/default/8417705059@192.168.1.156:5063) State EXCHANGE_MEDIA
  495. 2017-10-09 15:52:08.211530 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  496. send 903 bytes to udp/[192.168.1.156]:5063 at 15:52:08.230160:
  497.    ------------------------------------------------------------------------
  498.    UPDATE sip:8417705059@192.168.1.156:5063 SIP/2.0
  499.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bK1ZUpt188K5KrS
  500.    Max-Forwards: 70
  501.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=6XmtKvg1US51D
  502.    To: <sip:8417705059@192.168.1.156:5063>;tag=1840720146
  503.    Call-ID: 883d6032-277e-1236-688f-000c29f46286
  504.    CSeq: 113436198 UPDATE
  505.    Contact: <sip:mod_sofia@192.168.1.141:5060>
  506.    User-Agent: ASTPP
  507.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  508.    Supported: path, replaces
  509.    Content-Type: application/sdp
  510.    Content-Disposition: session
  511.    Content-Length: 222
  512.    P-Asserted-Identity: "6833949103" <sip:6833949103@192.168.1.141>
  513.    
  514.    v=0
  515.    o=FreeSWITCH 1507519766 1507519767 IN IP4 192.168.1.141
  516.    s=FreeSWITCH
  517.    c=IN IP4 192.168.1.141
  518.    t=0 0
  519.    m=audio 24756 RTP/AVP 8 101
  520.    a=rtpmap:8 PCMA/8000
  521.    a=rtpmap:101 telephone-event/8000
  522.    a=fmtp:101 0-16
  523.    a=ptime:20
  524.    ------------------------------------------------------------------------
  525. 2017-10-09 15:52:08.211530 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [calling][0]
  526. 2017-10-09 15:52:08.251521 [DEBUG] switch_rtp.c:7254 Correct audio ip/port confirmed.
  527. 2017-10-09 15:52:08.451524 [INFO] switch_rtp.c:7214 Auto Changing audio port from 117.247.91.162:8000 to 192.168.1.33:8000
  528. recv 749 bytes from udp/[192.168.1.156]:5063 at 15:52:08.581472:
  529.    ------------------------------------------------------------------------
  530.    SIP/2.0 200 OK
  531.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bK1ZUpt188K5KrS
  532.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=6XmtKvg1US51D
  533.    To: <sip:8417705059@192.168.1.156:5063>;tag=1840720146
  534.    Call-ID: 883d6032-277e-1236-688f-000c29f46286
  535.    CSeq: 113436198 UPDATE
  536.    Contact: <sip:8417705059@192.168.1.156:5063>
  537.    Content-Type: application/sdp
  538.   Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
  539.    User-Agent: Yealink SIP-T21P 34.72.0.75
  540.    Content-Length: 213
  541.    
  542.    v=0
  543.    o=- 20000 20001 IN IP4 192.168.1.156
  544.    s=SDP data
  545.    c=IN IP4 192.168.1.156
  546.    t=0 0
  547.    m=audio 11780 RTP/AVP 8 101
  548.    a=rtpmap:8 PCMA/8000
  549.    a=sendrecv
  550.    a=ptime:20
  551.    a=fmtp:101 0-15
  552.    a=rtpmap:101 telephone-event/8000
  553.    ------------------------------------------------------------------------
  554. 2017-10-09 15:52:08.591526 [DEBUG] sofia.c:7048 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [ready][200]
  555. 2017-10-09 15:52:08.591526 [DEBUG] sofia.c:7058 Remote SDP:
  556. v=0
  557. o=- 20000 20001 IN IP4 192.168.1.156
  558. s=SDP data
  559. c=IN IP4 192.168.1.156
  560. t=0 0
  561. m=audio 11780 RTP/AVP 8 101
  562. a=rtpmap:8 PCMA/8000
  563. a=rtpmap:101 telephone-event/8000
  564. a=fmtp:101 0-15
  565. a=ptime:20
  566.  
  567. 2017-10-09 15:52:08.591526 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  568. 2017-10-09 15:52:08.591526 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  569. 2017-10-09 15:52:08.591526 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000
  570. 2017-10-09 15:52:08.591526 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000
  571. 2017-10-09 15:52:08.591526 [DEBUG] switch_core_media.c:4763 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf send payload to 101 recv payload to 101
  572. 2017-10-09 15:52:08.591526 [DEBUG] sofia.c:8025 Processing updated SDP
  573. 2017-10-09 15:52:08.591526 [DEBUG] switch_core_media.c:6857 Audio params are unchanged for sofia/default/8417705059@192.168.1.156:5063.
  574. freeswitch@freeswitch> fsc
  575.  
  576. [               fsctl] 
  577.  
  578.  
  579. freeswitch@freeswitch> fsctl ras
  580.  
  581.  
  582.  
  583.  
  584. freeswitch@freeswitch> fsctl cras
  585.  
  586. [               crash] 
  587.  
  588.  
  589. freeswitch@freeswitch> fsctl crash
  590. Socket interrupted, bye!
  591.  
  592.  
  593. ============================================= Node2 =================================================================
  594.  
  595.  
  596. freeswitch@freeswitch> sofia recover
  597. Recovered 2 call(s)
  598.  
  599. 2017-10-09 15:53:07.189750 [NOTICE] switch_channel.c:1104 New Channel sofia/default/8417705059@192.168.1.156:5063 [0c8db0ee-4093-46b6-8f5c-859ae9f7b4af]
  600. 2017-10-09 15:53:07.189750 [NOTICE] switch_channel.c:1102 Rename Channel sofia/default/8417705059@192.168.1.156:5063->sofia/default/8417705059@192.168.1.156:5063 [0c8db0ee-4093-46b6-8f5c-859ae9f7b4af]
  601. 2017-10-09 15:53:07.189750 [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
  602. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_codec.c:111 sofia/default/8417705059@192.168.1.156:5063 Original read codec set to PCMA:8
  603. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/8417705059@192.168.1.156:5063] 192.168.1.141 port 21504 -> 192.168.1.156 port 11782 codec: 8 ms: 20
  604. 2017-10-09 15:53:07.189750 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  605. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_media.c:6763 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf send payload to 101
  606. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_media.c:6770 sofia/default/8417705059@192.168.1.156:5063 Set 2833 dtmf receive payload to 101
  607. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_media.c:6793 sofia/default/8417705059@192.168.1.156:5063 Set rtp dtmf delay to 40
  608. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_sqldb.c:3026 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_NEW -> CS_INIT
  609. 2017-10-09 15:53:07.189750 [NOTICE] switch_core_sqldb.c:3027 Resurrecting fallen channel sofia/default/8417705059@192.168.1.156:5063
  610. 2017-10-09 15:53:07.189750 [NOTICE] switch_channel.c:1104 New Channel sofia/default/6833949103@192.168.1.141 [9623dd28-254e-45e0-b03f-74b794cbe67d]
  611. 2017-10-09 15:53:07.189750 [NOTICE] switch_channel.c:1102 Rename Channel sofia/default/6833949103@192.168.1.141->sofia/default/6833949103@192.168.1.141 [9623dd28-254e-45e0-b03f-74b794cbe67d]
  612. 2017-10-09 15:53:07.189750 [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
  613. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_codec.c:111 sofia/default/6833949103@192.168.1.141 Original read codec set to PCMA:8
  614. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_media.c:6464 AUDIO RTP [sofia/default/6833949103@192.168.1.141] 192.168.1.141 port 21506 -> 49.213.47.233 port 8000 codec: 8 ms: 20
  615. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_INIT
  616. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_state_machine.c:586 (sofia/default/8417705059@192.168.1.156:5063) State INIT
  617. 2017-10-09 15:53:07.189750 [DEBUG] mod_sofia.c:89 sofia/default/8417705059@192.168.1.156:5063 SOFIA INIT
  618. 2017-10-09 15:53:07.189750 [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
  619. Local SDP:
  620. v=0
  621. o=FreeSWITCH 1507523083 1507523085 IN IP4 192.168.1.141
  622. s=FreeSWITCH
  623. c=IN IP4 192.168.1.141
  624. t=0 0
  625. m=audio 21504 RTP/AVP 8 101
  626. a=rtpmap:8 PCMA/8000
  627. a=rtpmap:101 telephone-event/0
  628. a=fmtp:101 0-16
  629. a=ptime:20
  630. a=sendrecv
  631.  
  632. send 1104 bytes to udp/[192.168.1.156]:5063 at 15:53:07.228523:
  633.    ------------------------------------------------------------------------
  634.    INVITE sip:8417705059@192.168.1.156:5063 SIP/2.0
  635.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKQ2jcBSN2j0tUj
  636.    Max-Forwards: 69
  637.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=19XeBpDj8yBKm
  638.    To: <sip:8417705059@192.168.1.156:5063>;tag=956626359
  639.    Call-ID: 161c7e65-277c-1236-78b4-000c297a0201
  640.    CSeq: 113436229 INVITE
  641.    Contact: <sip:8417705059@192.168.1.141:5060>
  642.    User-Agent: ASTPP
  643.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  644.    Supported: path, replaces
  645.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  646.    Content-Type: application/sdp
  647.    Content-Disposition: session
  648.    Content-Length: 219
  649.    Remote-Party-ID: "6833949103" <sip:6833949103@192.168.1.141>;party=calling;screen=yes;privacy=off
  650.    
  651.    v=0
  652.    o=FreeSWITCH 1507523083 1507523085 IN IP4 192.168.1.141
  653.    s=FreeSWITCH
  654.    c=IN IP4 192.168.1.141
  655.    t=0 0
  656.    m=audio 21504 RTP/AVP 8 101
  657.    a=rtpmap:8 PCMA/8000
  658.    a=rtpmap:101 telephone-event/0
  659.    a=fmtp:101 0-16
  660.    a=ptime:20
  661.    ------------------------------------------------------------------------
  662. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_state_machine.c:40 sofia/default/8417705059@192.168.1.156:5063 Standard INIT
  663. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_state_machine.c:43 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_INIT -> CS_RESET
  664. 2017-10-09 15:53:07.189750 [DEBUG] switch_core_state_machine.c:586 (sofia/default/8417705059@192.168.1.156:5063) State INIT going to sleep
  665. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_RESET
  666. 2017-10-09 15:53:07.229719 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [calling][0]
  667. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:605 (sofia/default/8417705059@192.168.1.156:5063) State RESET
  668. 2017-10-09 15:53:07.229719 [DEBUG] mod_sofia.c:160 sofia/default/8417705059@192.168.1.156:5063 SOFIA RESET
  669. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:188 sofia/default/8417705059@192.168.1.156:5063 Standard RESET
  670. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:605 (sofia/default/8417705059@192.168.1.156:5063) State RESET going to sleep
  671. 2017-10-09 15:53:07.229719 [DEBUG] switch_rtp.c:3832 Starting timer [soft] 160 bytes per 20ms
  672. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_media.c:6763 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf send payload to 101
  673. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_media.c:6770 sofia/default/6833949103@192.168.1.141 Set 2833 dtmf receive payload to 101
  674. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_media.c:6793 sofia/default/6833949103@192.168.1.141 Set rtp dtmf delay to 40
  675. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_sqldb.c:3026 (sofia/default/6833949103@192.168.1.141) State Change CS_NEW -> CS_INIT
  676. 2017-10-09 15:53:07.229719 [NOTICE] switch_core_sqldb.c:3027 Resurrecting fallen channel sofia/default/6833949103@192.168.1.141
  677. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:543 (sofia/default/6833949103@192.168.1.141) Running State Change CS_INIT
  678. 2017-10-09 15:53:07.229719 [DEBUG] switch_channel.c:2251 (sofia/default/6833949103@192.168.1.141) Callstate Change DOWN -> ACTIVE
  679. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:586 (sofia/default/6833949103@192.168.1.141) State INIT
  680. 2017-10-09 15:53:07.229719 [DEBUG] mod_sofia.c:89 sofia/default/6833949103@192.168.1.141 SOFIA INIT
  681. 2017-10-09 15:53:07.229719 [DEBUG] sofia_glue.c:1228 sip:8417705059@192.168.1.33:33160 Setting proxy route to sofia/default/6833949103@192.168.1.141
  682. 2017-10-09 15:53:07.229719 [DEBUG] sofia_glue.c:1257 sofia/default/6833949103@192.168.1.141 sending invite version: 1.6.8 git 99de0ad 2016-05-05 15:38:32Z 64bit
  683. Local SDP:
  684. v=0
  685. o=FreeSWITCH 1507523081 1507523083 IN IP4 192.168.1.141
  686. s=FreeSWITCH
  687. c=IN IP4 192.168.1.141
  688. t=0 0
  689. m=audio 21506 RTP/AVP 8 101
  690. a=rtpmap:8 PCMA/8000
  691. a=rtpmap:101 telephone-event/0
  692. a=fmtp:101 0-16
  693. a=ptime:20
  694. a=sendrecv
  695.  
  696. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:40 sofia/default/6833949103@192.168.1.141 Standard INIT
  697. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:43 (sofia/default/6833949103@192.168.1.141) State Change CS_INIT -> CS_RESET
  698. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:586 (sofia/default/6833949103@192.168.1.141) State INIT going to sleep
  699. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:543 (sofia/default/6833949103@192.168.1.141) Running State Change CS_RESET
  700. 2017-10-09 15:53:07.229719 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [calling][0]
  701. 2017-10-09 15:53:07.229719 [DEBUG] sofia.c:6858 Channel sofia/default/6833949103@192.168.1.141 entering state [terminated][503]
  702. 2017-10-09 15:53:07.229719 [NOTICE] sofia.c:7881 Hangup sofia/default/6833949103@192.168.1.141 [CS_RESET] [NORMAL_TEMPORARY_FAILURE]
  703. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:605 (sofia/default/6833949103@192.168.1.141) State RESET
  704. 2017-10-09 15:53:07.229719 [DEBUG] mod_sofia.c:160 sofia/default/6833949103@192.168.1.141 SOFIA RESET
  705. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:605 (sofia/default/6833949103@192.168.1.141) State RESET going to sleep
  706. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:543 (sofia/default/6833949103@192.168.1.141) Running State Change CS_HANGUP
  707. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:809 (sofia/default/6833949103@192.168.1.141) Callstate Change ACTIVE -> HANGUP
  708. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:811 (sofia/default/6833949103@192.168.1.141) State HANGUP
  709. 2017-10-09 15:53:07.229719 [DEBUG] mod_sofia.c:437 Channel sofia/default/6833949103@192.168.1.141 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  710. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:60 sofia/default/6833949103@192.168.1.141 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  711. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:811 (sofia/default/6833949103@192.168.1.141) State HANGUP going to sleep
  712. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:578 (sofia/default/6833949103@192.168.1.141) State Change CS_HANGUP -> CS_REPORTING
  713. 2017-10-09 15:53:07.229719 [CONSOLE] sofia_presence.c:1618 Event Thread Started
  714. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:543 (sofia/default/6833949103@192.168.1.141) Running State Change CS_REPORTING
  715. 2017-10-09 15:53:07.229719 [DEBUG] switch_core_state_machine.c:897 (sofia/default/6833949103@192.168.1.141) State REPORTING
  716. 2017-10-09 15:53:07.229719 [INFO] mod_json_cdr.c:271 Process [9623dd28-254e-45e0-b03f-74b794cbe67d.cdr.json]
  717. recv 343 bytes from udp/[192.168.1.156]:5063 at 15:53:07.333134:
  718.    ------------------------------------------------------------------------
  719.    SIP/2.0 100 Trying
  720.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKQ2jcBSN2j0tUj
  721.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=19XeBpDj8yBKm
  722.    To: <sip:8417705059@192.168.1.156:5063>;tag=956626359
  723.    Call-ID: 161c7e65-277c-1236-78b4-000c297a0201
  724.    CSeq: 113436229 INVITE
  725.    User-Agent: Yealink SIP-T21P 34.72.0.75
  726.    Content-Length: 0
  727.    
  728.    ------------------------------------------------------------------------
  729. recv 372 bytes from udp/[192.168.1.156]:5063 at 15:53:07.363632:
  730.    ------------------------------------------------------------------------
  731.    SIP/2.0 481 Call Leg/Transaction Does Not Exist
  732.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKQ2jcBSN2j0tUj
  733.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=19XeBpDj8yBKm
  734.    To: <sip:8417705059@192.168.1.156:5063>;tag=956626359
  735.    Call-ID: 161c7e65-277c-1236-78b4-000c297a0201
  736.    CSeq: 113436229 INVITE
  737.    User-Agent: Yealink SIP-T21P 34.72.0.75
  738.    Content-Length: 0
  739.    
  740.    ------------------------------------------------------------------------
  741. send 344 bytes to udp/[192.168.1.156]:5063 at 15:53:07.363766:
  742.    ------------------------------------------------------------------------
  743.    ACK sip:8417705059@192.168.1.156:5063 SIP/2.0
  744.    Via: SIP/2.0/UDP 192.168.1.141;rport;branch=z9hG4bKQ2jcBSN2j0tUj
  745.    Max-Forwards: 69
  746.    From: "6833949103" <sip:6833949103@192.168.1.141>;tag=19XeBpDj8yBKm
  747.    To: <sip:8417705059@192.168.1.156:5063>;tag=956626359
  748.    Call-ID: 161c7e65-277c-1236-78b4-000c297a0201
  749.    CSeq: 113436229 ACK
  750.    Content-Length: 0
  751.    
  752.    ------------------------------------------------------------------------
  753. 2017-10-09 15:53:07.329769 [DEBUG] sofia.c:6858 Channel sofia/default/8417705059@192.168.1.156:5063 entering state [terminated][481]
  754. 2017-10-09 15:53:07.329769 [NOTICE] sofia.c:7881 Hangup sofia/default/8417705059@192.168.1.156:5063 [CS_RESET] [NORMAL_TEMPORARY_FAILURE]
  755. 2017-10-09 15:53:07.329769 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_HANGUP
  756. 2017-10-09 15:53:07.329769 [DEBUG] switch_core_state_machine.c:809 (sofia/default/8417705059@192.168.1.156:5063) Callstate Change DOWN -> HANGUP
  757. 2017-10-09 15:53:07.329769 [DEBUG] switch_core_state_machine.c:811 (sofia/default/8417705059@192.168.1.156:5063) State HANGUP
  758. 2017-10-09 15:53:07.329769 [DEBUG] mod_sofia.c:431 sofia/default/8417705059@192.168.1.156:5063 Overriding SIP cause 503 with 503 from the other leg
  759. 2017-10-09 15:53:07.329769 [DEBUG] mod_sofia.c:437 Channel sofia/default/8417705059@192.168.1.156:5063 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  760. 2017-10-09 15:53:07.329769 [DEBUG] switch_core_state_machine.c:60 sofia/default/8417705059@192.168.1.156:5063 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  761. 2017-10-09 15:53:07.329769 [DEBUG] switch_core_state_machine.c:811 (sofia/default/8417705059@192.168.1.156:5063) State HANGUP going to sleep
  762. 2017-10-09 15:53:07.329769 [DEBUG] switch_core_state_machine.c:578 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_HANGUP -> CS_REPORTING
  763. 2017-10-09 15:53:07.329769 [DEBUG] switch_core_state_machine.c:543 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_REPORTING
  764. 2017-10-09 15:53:07.329769 [DEBUG] switch_core_state_machine.c:897 (sofia/default/8417705059@192.168.1.156:5063) State REPORTING
  765. 2017-10-09 15:53:07.329769 [INFO] mod_json_cdr.c:271 Process [0c8db0ee-4093-46b6-8f5c-859ae9f7b4af.cdr.json]
  766. 2017-10-09 15:53:07.449731 [DEBUG] switch_core_state_machine.c:174 sofia/default/6833949103@192.168.1.141 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  767. 2017-10-09 15:53:07.449731 [DEBUG] switch_core_state_machine.c:897 (sofia/default/6833949103@192.168.1.141) State REPORTING going to sleep
  768. 2017-10-09 15:53:07.449731 [DEBUG] switch_core_state_machine.c:569 (sofia/default/6833949103@192.168.1.141) State Change CS_REPORTING -> CS_DESTROY
  769. 2017-10-09 15:53:07.449731 [DEBUG] switch_core_session.c:1646 Session 2 (sofia/default/6833949103@192.168.1.141) Locked, Waiting on external entities
  770. 2017-10-09 15:53:07.449731 [NOTICE] switch_core_session.c:1664 Session 2 (sofia/default/6833949103@192.168.1.141) Ended
  771. 2017-10-09 15:53:07.449731 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/6833949103@192.168.1.141 [CS_DESTROY]
  772. 2017-10-09 15:53:07.449731 [DEBUG] switch_core_state_machine.c:700 (sofia/default/6833949103@192.168.1.141) Running State Change CS_DESTROY
  773. 2017-10-09 15:53:07.449731 [DEBUG] switch_core_state_machine.c:710 (sofia/default/6833949103@192.168.1.141) State DESTROY
  774. 2017-10-09 15:53:07.449731 [DEBUG] mod_sofia.c:342 sofia/default/6833949103@192.168.1.141 SOFIA DESTROY
  775. 2017-10-09 15:53:07.449731 [DEBUG] switch_core_state_machine.c:181 sofia/default/6833949103@192.168.1.141 Standard DESTROY
  776. 2017-10-09 15:53:07.449731 [DEBUG] switch_core_state_machine.c:710 (sofia/default/6833949103@192.168.1.141) State DESTROY going to sleep
  777. 2017-10-09 15:53:07.509744 [DEBUG] switch_core_state_machine.c:174 sofia/default/8417705059@192.168.1.156:5063 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  778. 2017-10-09 15:53:07.509744 [DEBUG] switch_core_state_machine.c:897 (sofia/default/8417705059@192.168.1.156:5063) State REPORTING going to sleep
  779. 2017-10-09 15:53:07.509744 [DEBUG] switch_core_state_machine.c:569 (sofia/default/8417705059@192.168.1.156:5063) State Change CS_REPORTING -> CS_DESTROY
  780. 2017-10-09 15:53:07.509744 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/default/8417705059@192.168.1.156:5063) Locked, Waiting on external entities
  781. 2017-10-09 15:53:07.509744 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/default/8417705059@192.168.1.156:5063) Ended
  782. 2017-10-09 15:53:07.509744 [NOTICE] switch_core_session.c:1668 Close Channel sofia/default/8417705059@192.168.1.156:5063 [CS_DESTROY]
  783. 2017-10-09 15:53:07.509744 [DEBUG] switch_core_state_machine.c:700 (sofia/default/8417705059@192.168.1.156:5063) Running State Change CS_DESTROY
  784. 2017-10-09 15:53:07.509744 [DEBUG] switch_core_state_machine.c:710 (sofia/default/8417705059@192.168.1.156:5063) State DESTROY
  785. 2017-10-09 15:53:07.509744 [DEBUG] mod_sofia.c:342 sofia/default/8417705059@192.168.1.156:5063 SOFIA DESTROY
  786. 2017-10-09 15:53:07.509744 [DEBUG] switch_core_state_machine.c:181 sofia/default/8417705059@192.168.1.156:5063 Standard DESTROY
  787. 2017-10-09 15:53:07.509744 [DEBUG] switch_core_state_machine.c:710 (sofia/default/8417705059@192.168.1.156:5063) State DESTROY going to sleep
  788. freeswitch@freeswitch> /exit
  789.