From Bauer, 6 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Calling to sip:0@213.226.61.66
  1.   ------------------------------------------------------------------------
  2.    INVITE sip:0987605070@212.116.15.35;transport=TCP SIP/2.0
  3.    Via: SIP/2.0/TCP 212.116.18.21:49781;branch=z9hG4bK-524287-1---ad151446fad3810b;rport
  4.    Max-Forwards: 70
  5.    Contact: <sip:120@212.116.18.21:49781;transport=TCP>
  6.    To: <sip:0987605070@212.116.15.35;transport=TCP>
  7.    From: "120"<sip:120@212.116.15.35;transport=TCP>;tag=0a3f3128
  8.    Call-ID: 2HQYdtSsIrXNxxisCF4CYw..
  9.    CSeq: 1 INVITE
  10.   Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  11.    Content-Type: application/sdp
  12.    User-Agent: Zoiper rv2.8.40
  13.    Allow-Events: presence, kpml, talk
  14.    Content-Length: 238
  15.  
  16.    v=0
  17.    o=Z 0 0 IN IP4 10.9.11.110
  18.    s=Z
  19.    c=IN IP4 10.9.11.110
  20.    t=0 0
  21.    m=audio 59128 RTP/AVP 3 110 97 8 0 101
  22.    a=rtpmap:110 speex/8000
  23.    a=rtpmap:97 iLBC/8000
  24.    a=fmtp:97 mode=20
  25.    a=rtpmap:101 telephone-event/8000
  26.    a=fmtp:101 0-16
  27.    a=sendrecv
  28.    ------------------------------------------------------------------------
  29. send 325 bytes to tcp/[212.116.18.21]:49781 at 17:03:38.370967:
  30.    ------------------------------------------------------------------------
  31.    SIP/2.0 100 Trying
  32.    Via: SIP/2.0/TCP 212.116.18.21:49781;branch=z9hG4bK-524287-1---ad151446fad3810b;rport=49781
  33.    From: "120"<sip:120@212.116.15.35;transport=TCP>;tag=0a3f3128
  34.    To: <sip:0987605070@212.116.15.35;transport=TCP>
  35.    Call-ID: 2HQYdtSsIrXNxxisCF4CYw..
  36.    CSeq: 1 INVITE
  37.    User-Agent: FreeSWITCH
  38.    Content-Length: 0
  39.  
  40.    ------------------------------------------------------------------------
  41. 2018-02-23 17:03:38.370779 [NOTICE] switch_channel.c:1104 New Channel sofia/Internal/120@212.116.15.35 [73762910-de4a-43cf-bc98-fc5bc49e8022]
  42. 2018-02-23 17:03:38.370779 [DEBUG] switch_core_state_machine.c:584 (sofia/Internal/120@212.116.15.35) Running State Change CS_NEW (Cur 1 Tot 23)
  43. 2018-02-23 17:03:38.370779 [DEBUG] sofia.c:9873 sofia/Internal/120@212.116.15.35 receiving invite from 212.116.18.21:49781 version: 1.6.20 -37-987c9b9 64bit
  44. 2018-02-23 17:03:38.370779 [DEBUG] sofia.c:10044 IP 212.116.18.21 Rejected by acl "domains". Falling back to Digest auth.
  45. 2018-02-23 17:03:38.370779 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'Internal' for [0987605070@212.116.15.35] from ip 212.116.18.21
  46. 2018-02-23 17:03:38.370779 [DEBUG] switch_core_state_machine.c:603 (sofia/Internal/120@212.116.15.35) State NEW
  47. send 830 bytes to tcp/[212.116.18.21]:49781 at 17:03:38.388231:
  48.    ------------------------------------------------------------------------
  49.    SIP/2.0 407 Proxy Authentication Required
  50.    Via: SIP/2.0/TCP 212.116.18.21:49781;branch=z9hG4bK-524287-1---ad151446fad3810b;rport=49781
  51.    From: "120"<sip:120@212.116.15.35;transport=TCP>;tag=0a3f3128
  52.    To: <sip:0987605070@212.116.15.35;transport=TCP>;tag=D2e0Q1v1g7X0F
  53.    Call-ID: 2HQYdtSsIrXNxxisCF4CYw..
  54.    CSeq: 1 INVITE
  55.    User-Agent: FreeSWITCH
  56.    Accept: application/sdp
  57.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  58.    Supported: timer, path, replaces
  59.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  60.    Proxy-Authenticate: Digest realm="212.116.15.35", nonce="0127a2ea-6514-47e6-9da3-80b3beb85cbc", algorithm=MD5, qop="auth"
  61.    Content-Length: 0
  62.  
  63.    ------------------------------------------------------------------------
  64. 2018-02-23 17:03:38.370779 [DEBUG] sofia.c:2334 detaching session 73762910-de4a-43cf-bc98-fc5bc49e8022
  65. recv 365 bytes from tcp/[212.116.18.21]:49781 at 17:03:38.403521:
  66.    ------------------------------------------------------------------------
  67.    ACK sip:0987605070@212.116.15.35;transport=TCP SIP/2.0
  68.    Via: SIP/2.0/TCP 212.116.18.21:49781;branch=z9hG4bK-524287-1---ad151446fad3810b;rport
  69.    Max-Forwards: 70
  70.    To: <sip:0987605070@212.116.15.35;transport=TCP>;tag=D2e0Q1v1g7X0F
  71.    From: "120"<sip:120@212.116.15.35;transport=TCP>;tag=0a3f3128
  72.    Call-ID: 2HQYdtSsIrXNxxisCF4CYw..
  73.    CSeq: 1 ACK
  74.    Content-Length: 0
  75.  
  76.    ------------------------------------------------------------------------
  77. recv 1110 bytes from tcp/[212.116.18.21]:49781 at 17:03:38.447118:
  78.    ------------------------------------------------------------------------
  79.    INVITE sip:0987605070@212.116.15.35;transport=TCP SIP/2.0
  80.    Via: SIP/2.0/TCP 212.116.18.21:49781;branch=z9hG4bK-524287-1---9c018207256a7a39;rport
  81.    Max-Forwards: 70
  82.    Contact: <sip:120@212.116.18.21:49781;transport=TCP>
  83.    To: <sip:0987605070@212.116.15.35;transport=TCP>
  84.    From: "120"<sip:120@212.116.15.35;transport=TCP>;tag=0a3f3128
  85.    Call-ID: 2HQYdtSsIrXNxxisCF4CYw..
  86.    CSeq: 2 INVITE
  87.   Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  88.    Content-Type: application/sdp
  89.    Proxy-Authorization: Digest username="120",realm="212.116.15.35",nonce="0127a2ea-6514-47e6-9da3-80b3beb85cbc",uri="sip:0987605070@212.116.15.35;transport=TCP",response="4f109e62a1378c3539074ffe3dbfb3f2",cnonce="ba0da51f5d6e95b8faabf0e46803f27d",nc=00000001,qop=auth,algorithm=MD5
  90.    User-Agent: Zoiper rv2.8.40
  91.    Allow-Events: presence, kpml, talk
  92.    Content-Length: 238
  93.  
  94.    v=0
  95.    o=Z 0 0 IN IP4 10.9.11.110
  96.    s=Z
  97.    c=IN IP4 10.9.11.110
  98.    t=0 0
  99.    m=audio 59128 RTP/AVP 3 110 97 8 0 101
  100.    a=rtpmap:110 speex/8000
  101.    a=rtpmap:97 iLBC/8000
  102.    a=fmtp:97 mode=20
  103.    a=rtpmap:101 telephone-event/8000
  104.    a=fmtp:101 0-16
  105.    a=sendrecv
  106.    ------------------------------------------------------------------------
  107. send 325 bytes to tcp/[212.116.18.21]:49781 at 17:03:38.447376:
  108.    ------------------------------------------------------------------------
  109.    SIP/2.0 100 Trying
  110.    Via: SIP/2.0/TCP 212.116.18.21:49781;branch=z9hG4bK-524287-1---9c018207256a7a39;rport=49781
  111.    From: "120"<sip:120@212.116.15.35;transport=TCP>;tag=0a3f3128
  112.    To: <sip:0987605070@212.116.15.35;transport=TCP>
  113.    Call-ID: 2HQYdtSsIrXNxxisCF4CYw..
  114.    CSeq: 2 INVITE
  115.    User-Agent: FreeSWITCH
  116.    Content-Length: 0
  117.  
  118.    ------------------------------------------------------------------------
  119. 2018-02-23 17:03:38.430739 [DEBUG] sofia.c:2442 Re-attaching to session 73762910-de4a-43cf-bc98-fc5bc49e8022
  120. 2018-02-23 17:03:38.430739 [DEBUG] sofia.c:9873 sofia/Internal/120@212.116.15.35 receiving invite from 212.116.18.21:49781 version: 1.6.20 -37-987c9b9 64bit
  121. 2018-02-23 17:03:38.430739 [DEBUG] sofia.c:10044 IP 212.116.18.21 Rejected by acl "domains". Falling back to Digest auth.
  122. 2018-02-23 17:03:38.430739 [DEBUG] sofia.c:7084 Channel sofia/Internal/120@212.116.15.35 entering state [received][100]
  123. 2018-02-23 17:03:38.430739 [DEBUG] sofia.c:7094 Remote SDP:
  124. v=0
  125. o=Z 0 0 IN IP4 10.9.11.110
  126. s=Z
  127. c=IN IP4 10.9.11.110
  128. t=0 0
  129. m=audio 59128 RTP/AVP 3 110 97 8 0 101
  130. a=rtpmap:110 speex/8000
  131. a=rtpmap:97 iLBC/8000
  132. a=fmtp:97 mode=20
  133. a=rtpmap:101 telephone-event/8000
  134. a=fmtp:101 0-16
  135.  
  136. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  137. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1]
  138. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  139. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1]
  140. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match
  141. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  142. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[G722:9:8000:20:64000:1]
  143. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  144. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [speex:110:8000:20:0:1]/[GSM:3:8000:20:13200:1]
  145. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  146. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[G722:9:8000:20:64000:1]
  147. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  148. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [iLBC:97:8000:30:0:1]/[GSM:3:8000:20:13200:1]
  149. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  150. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  151. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  152. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  153. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
  154. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  155. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  156. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  157. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  158. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
  159. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  160. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:3061 Set Codec sofia/Internal/120@212.116.15.35 GSM/8000 20 ms 160 samples 13200 bits 1 channels
  161. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_codec.c:111 sofia/Internal/120@212.116.15.35 Original read codec set to GSM:3
  162. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  163. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_media.c:4767 sofia/Internal/120@212.116.15.35 Set 2833 dtmf send payload to 101 recv payload to 101
  164. 2018-02-23 17:03:38.430739 [DEBUG] sofia.c:7507 (sofia/Internal/120@212.116.15.35) State Change CS_NEW -> CS_INIT
  165. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_state_machine.c:584 (sofia/Internal/120@212.116.15.35) Running State Change CS_INIT (Cur 1 Tot 23)
  166. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_state_machine.c:627 (sofia/Internal/120@212.116.15.35) State INIT
  167. 2018-02-23 17:03:38.430739 [DEBUG] mod_sofia.c:90 sofia/Internal/120@212.116.15.35 SOFIA INIT
  168. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_state_machine.c:40 sofia/Internal/120@212.116.15.35 Standard INIT
  169. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_state_machine.c:48 (sofia/Internal/120@212.116.15.35) State Change CS_INIT -> CS_ROUTING
  170. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_state_machine.c:627 (sofia/Internal/120@212.116.15.35) State INIT going to sleep
  171. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_state_machine.c:584 (sofia/Internal/120@212.116.15.35) Running State Change CS_ROUTING (Cur 1 Tot 23)
  172. 2018-02-23 17:03:38.430739 [DEBUG] switch_channel.c:2249 (sofia/Internal/120@212.116.15.35) Callstate Change DOWN -> RINGING
  173. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_state_machine.c:643 (sofia/Internal/120@212.116.15.35) State ROUTING
  174. 2018-02-23 17:03:38.430739 [DEBUG] mod_sofia.c:143 sofia/Internal/120@212.116.15.35 SOFIA ROUTING
  175. 2018-02-23 17:03:38.430739 [DEBUG] switch_core_state_machine.c:236 sofia/Internal/120@212.116.15.35 Standard ROUTING
  176. 2018-02-23 17:03:38.430739 [INFO] mod_dialplan_xml.c:637 Processing 120 <120>->0987605070 in context 212.116.15.35
  177. Dialplan: sofia/Internal/120@212.116.15.35 parsing [212.116.15.35->user_exists] continue=true
  178. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [user_exists] () =~ // break=on-false
  179. Dialplan: sofia/Internal/120@212.116.15.35 Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
  180. 2018-02-23 17:03:38.470724 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fe4e40f1950 Connected.
  181. 2018-02-23 17:03:38.470724 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fe4e40f1950 released.
  182. EXECUTE sofia/Internal/120@212.116.15.35 set(user_exists=false)
  183. 2018-02-23 17:03:38.470724 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [user_exists]=[false]
  184. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false
  185. Dialplan: sofia/Internal/120@212.116.15.35 parsing [212.116.15.35->call-direction] continue=true
  186. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never
  187. Dialplan: sofia/Internal/120@212.116.15.35 ANTI-Action set(call_direction=local)
  188. Dialplan: sofia/Internal/120@212.116.15.35 parsing [212.116.15.35->variables] continue=true
  189. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [variables] () =~ // break=on-false
  190. Dialplan: sofia/Internal/120@212.116.15.35 Action export(origination_callee_id_name=${destination_number})
  191. Dialplan: sofia/Internal/120@212.116.15.35 Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  192. Dialplan: sofia/Internal/120@212.116.15.35 parsing [212.116.15.35->user_record] continue=true
  193. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [user_record] () =~ // break=on-false
  194. Dialplan: sofia/Internal/120@212.116.15.35 Action set(user_record=${user_data ${destination_number}@${domain_name} var user_record}) INLINE
  195. 2018-02-23 17:03:38.490718 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fe4e40f1950 Connected.
  196. 2018-02-23 17:03:38.490718 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fe4e40f1950 released.
  197. 2018-02-23 17:03:38.490718 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fe4e40f1950 Connected.
  198. 2018-02-23 17:03:38.490718 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fe4e40f1950 released.
  199. EXECUTE sofia/Internal/120@212.116.15.35 set(user_record=)
  200. 2018-02-23 17:03:38.490718 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [user_record]=[UNDEF]
  201. Dialplan: sofia/Internal/120@212.116.15.35 Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE
  202. EXECUTE sofia/Internal/120@212.116.15.35 set(from_user_exists=true)
  203. 2018-02-23 17:03:38.490718 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [from_user_exists]=[true]
  204. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
  205. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never
  206. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
  207. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never
  208. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never
  209. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
  210. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never
  211. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never
  212. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
  213. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never
  214. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never
  215. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  216. Dialplan: sofia/Internal/120@212.116.15.35 Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE
  217. EXECUTE sofia/Internal/120@212.116.15.35 set(from_user_record=all)
  218. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [from_user_record]=[all]
  219. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  220. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [user_record] ${from_user_record}(all) =~ /^all$/ break=never
  221. Dialplan: sofia/Internal/120@212.116.15.35 Action set(record_session=true) INLINE
  222. EXECUTE sofia/Internal/120@212.116.15.35 set(record_session=true)
  223. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [record_session]=[true]
  224. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  225. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never
  226. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${from_user_record}(all) =~ /^inbound$/ break=never
  227. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  228. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never
  229. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${from_user_record}(all) =~ /^outbound$/ break=never
  230. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  231. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never
  232. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [user_record] ${from_user_record}(all) =~ /^local$/ break=never
  233. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [user_record] ${record_session}(true) =~ /^true$/ break=on-false
  234. Dialplan: sofia/Internal/120@212.116.15.35 Action export(nolocal:api_on_answer=uuid_record ${uuid} start ${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext})
  235. Dialplan: sofia/Internal/120@212.116.15.35 parsing [212.116.15.35->redial] continue=true
  236. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [redial] destination_number(0987605070) =~ /^(redial|\*870)$/ break=on-true
  237. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [redial] () =~ // break=never
  238. Dialplan: sofia/Internal/120@212.116.15.35 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  239. Dialplan: sofia/Internal/120@212.116.15.35 parsing [212.116.15.35->speed_dial] continue=false
  240. Dialplan: sofia/Internal/120@212.116.15.35 Regex (FAIL) [speed_dial] destination_number(0987605070) =~ /^\*0(.*)$/ break=on-false
  241. Dialplan: sofia/Internal/120@212.116.15.35 parsing [212.116.15.35->MTEL.Technician] continue=false
  242. Dialplan: sofia/Internal/120@212.116.15.35 Regex (PASS) [MTEL.Technician] destination_number(0987605070) =~ /^(359|0)8(89668656|85202188|89248621|89248736|84899778|78368502|85894956|89922722|85202190|85814109|87516278|89450270|85220003|88828235|85220004|87487887|88113035|87646407|89665570|85223318|86223379|88995009|86200045|86025024|85151716|88944850|87626056|89033149|89239615|78189198|88208005|86877447|88332891|88354425|84878088|85894975|88844708|84887557|87137101|84131016|87905326|88627074|89202056|87765659|87495737|89000598|86905070)$/ break=on-false
  243. Dialplan: sofia/Internal/120@212.116.15.35 Action set(sip_h_X-accountcode=${accountcode})
  244. Dialplan: sofia/Internal/120@212.116.15.35 Action set(call_direction=outbound)
  245. Dialplan: sofia/Internal/120@212.116.15.35 Action unset(call_timeout)
  246. Dialplan: sofia/Internal/120@212.116.15.35 Action set(hangup_after_bridge=true)
  247. Dialplan: sofia/Internal/120@212.116.15.35 Action set(effective_caller_id_name=${outbound_caller_id_name})
  248. Dialplan: sofia/Internal/120@212.116.15.35 Action set(effective_caller_id_number=35932349057)
  249. Dialplan: sofia/Internal/120@212.116.15.35 Action set(inherit_codec=true)
  250. Dialplan: sofia/Internal/120@212.116.15.35 Action set(ignore_display_updates=true)
  251. Dialplan: sofia/Internal/120@212.116.15.35 Action set(callee_id_number=0)
  252. Dialplan: sofia/Internal/120@212.116.15.35 Action set(continue_on_fail=true)
  253. Dialplan: sofia/Internal/120@212.116.15.35 Action bridge({sip_cid_type=pid}sofia/gateway/dc94b9c0-c07b-42db-a1dc-a9375558fcf6/0)
  254. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:286 (sofia/Internal/120@212.116.15.35) State Change CS_ROUTING -> CS_EXECUTE
  255. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:643 (sofia/Internal/120@212.116.15.35) State ROUTING going to sleep
  256. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:584 (sofia/Internal/120@212.116.15.35) Running State Change CS_EXECUTE (Cur 1 Tot 23)
  257. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:650 (sofia/Internal/120@212.116.15.35) State EXECUTE
  258. 2018-02-23 17:03:38.510719 [DEBUG] mod_sofia.c:198 sofia/Internal/120@212.116.15.35 SOFIA EXECUTE
  259. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:328 sofia/Internal/120@212.116.15.35 Standard EXECUTE
  260. EXECUTE sofia/Internal/120@212.116.15.35 set(call_direction=local)
  261. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [call_direction]=[local]
  262. EXECUTE sofia/Internal/120@212.116.15.35 export(origination_callee_id_name=0987605070)
  263. 2018-02-23 17:03:38.510719 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[0987605070]
  264. EXECUTE sofia/Internal/120@212.116.15.35 set(RFC2822_DATE=Fri, 23 Feb 2018 17:03:38 +0200)
  265. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [RFC2822_DATE]=[Fri, 23 Feb 2018 17:03:38 +0200]
  266. EXECUTE sofia/Internal/120@212.116.15.35 export(nolocal:api_on_answer=uuid_record 73762910-de4a-43cf-bc98-fc5bc49e8022 start /var/lib/freeswitch/recordings/212.116.15.35/archive/2018/Feb/23/73762910-de4a-43cf-bc98-fc5bc49e8022.wav)
  267. 2018-02-23 17:03:38.510719 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [api_on_answer]=[uuid_record 73762910-de4a-43cf-bc98-fc5bc49e8022 start /var/lib/freeswitch/recordings/212.116.15.35/archive/2018/Feb/23/73762910-de4a-43cf-bc98-fc5bc49e8022.wav]
  268. EXECUTE sofia/Internal/120@212.116.15.35 hash(insert/212.116.15.35-last_dial/120/0987605070)
  269. EXECUTE sofia/Internal/120@212.116.15.35 set(sip_h_X-accountcode=120)
  270. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [sip_h_X-accountcode]=[120]
  271. EXECUTE sofia/Internal/120@212.116.15.35 set(call_direction=outbound)
  272. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [call_direction]=[outbound]
  273. EXECUTE sofia/Internal/120@212.116.15.35 unset(call_timeout)
  274. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1693 UNSET [call_timeout]
  275. EXECUTE sofia/Internal/120@212.116.15.35 set(hangup_after_bridge=true)
  276. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [hangup_after_bridge]=[true]
  277. EXECUTE sofia/Internal/120@212.116.15.35 set(effective_caller_id_name=)
  278. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [effective_caller_id_name]=[UNDEF]
  279. EXECUTE sofia/Internal/120@212.116.15.35 set(effective_caller_id_number=35932349057)
  280. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [effective_caller_id_number]=[35932349057]
  281. EXECUTE sofia/Internal/120@212.116.15.35 set(inherit_codec=true)
  282. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [inherit_codec]=[true]
  283. EXECUTE sofia/Internal/120@212.116.15.35 set(ignore_display_updates=true)
  284. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [ignore_display_updates]=[true]
  285. EXECUTE sofia/Internal/120@212.116.15.35 set(callee_id_number=0)
  286. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [callee_id_number]=[0]
  287. EXECUTE sofia/Internal/120@212.116.15.35 set(continue_on_fail=true)
  288. 2018-02-23 17:03:38.510719 [DEBUG] mod_dptools.c:1548 SET sofia/Internal/120@212.116.15.35 [continue_on_fail]=[true]
  289. EXECUTE sofia/Internal/120@212.116.15.35 bridge({sip_cid_type=pid}sofia/gateway/dc94b9c0-c07b-42db-a1dc-a9375558fcf6/0)
  290. 2018-02-23 17:03:38.510719 [DEBUG] switch_channel.c:1250 sofia/Internal/120@212.116.15.35 EXPORTING[export_vars] [domain_name]=[212.116.15.35] to event
  291. 2018-02-23 17:03:38.510719 [DEBUG] switch_channel.c:1250 sofia/Internal/120@212.116.15.35 EXPORTING[export_vars] [origination_callee_id_name]=[0987605070] to event
  292. 2018-02-23 17:03:38.510719 [DEBUG] switch_channel.c:1250 sofia/Internal/120@212.116.15.35 EXPORTING[export_vars] [api_on_answer]=[uuid_record 73762910-de4a-43cf-bc98-fc5bc49e8022 start /var/lib/freeswitch/recordings/212.116.15.35/archive/2018/Feb/23/73762910-de4a-43cf-bc98-fc5bc49e8022.wav] to event
  293. 2018-02-23 17:03:38.510719 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  294. 2018-02-23 17:03:38.510719 [NOTICE] switch_channel.c:1104 New Channel sofia/external-MTEL/0 [f69f1788-9575-4396-b42a-47bb47bf4cb3]
  295. 2018-02-23 17:03:38.510719 [DEBUG] mod_sofia.c:4803 sofia/external-MTEL/0 setting variable [sip_cid_type]=[pid]
  296. 2018-02-23 17:03:38.510719 [DEBUG] mod_sofia.c:4819 (sofia/external-MTEL/0) State Change CS_NEW -> CS_INIT
  297. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:584 (sofia/external-MTEL/0) Running State Change CS_INIT (Cur 2 Tot 24)
  298. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:627 (sofia/external-MTEL/0) State INIT
  299. 2018-02-23 17:03:38.510719 [DEBUG] mod_sofia.c:90 sofia/external-MTEL/0 SOFIA INIT
  300. 2018-02-23 17:03:38.510719 [DEBUG] sofia_glue.c:1295 sofia/external-MTEL/0 sending invite version: 1.6.20 -37-987c9b9 64bit
  301. Local SDP:
  302. v=0
  303. o=FreeSWITCH 1519376616 1519376617 IN IP4 10.252.105.46
  304. s=FreeSWITCH
  305. c=IN IP4 10.252.105.46
  306. t=0 0
  307. m=audio 21602 RTP/AVP 3 8 0 101 13
  308. a=rtpmap:3 GSM/8000
  309. a=rtpmap:8 PCMA/8000
  310. a=rtpmap:0 PCMU/8000
  311. a=rtpmap:101 telephone-event/8000
  312. a=fmtp:101 0-16
  313. a=rtpmap:13 CN/8000
  314. a=ptime:20
  315. a=sendrecv
  316.  
  317. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:40 sofia/external-MTEL/0 Standard INIT
  318. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:48 (sofia/external-MTEL/0) State Change CS_INIT -> CS_ROUTING
  319. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:627 (sofia/external-MTEL/0) State INIT going to sleep
  320. send 1115 bytes to udp/[213.226.61.66]:5060 at 17:03:38.520602:
  321.    ------------------------------------------------------------------------
  322.    INVITE sip:0@213.226.61.66 SIP/2.0
  323.    Via: SIP/2.0/UDP 10.252.105.46;rport;branch=z9hG4bKNBpZr1eXtB4pr
  324.    Max-Forwards: 69
  325.    From: "120" <sip:35932349057@10.252.105.46>;tag=NXrDSm2StB44a
  326.    To: <sip:0@213.226.61.66>
  327.    Call-ID: 91beecbf-934d-1236-bcab-c64de23f840f
  328.    CSeq: 119363045 INVITE
  329.    Contact: <sip:gw+dc94b9c0-c07b-42db-a1dc-a9375558fcf6@10.252.105.46:5060;transport=udp;gw=dc94b9c0-c07b-42db-a1dc-a9375558fcf6>
  330.    User-Agent: FreeSWITCH
  331.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  332.    Supported: timer, path, replaces
  333. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:584 (sofia/external-MTEL/0) Running State Change CS_ROUTING (Cur 2 Tot 24)
  334.    Allow-Events: talk, hold, conference, refer
  335.    Privacy: none
  336.    Content-Type: application/sdp
  337.    Content-Disposition: session
  338.    Content-Length: 293
  339.    X-accountcode: 120
  340.    X-FS-Support: update_display,send_info
  341.    P-Asserted-Identity: "120" <sip:35932349057@10.252.105.46>
  342.  
  343.    v=0
  344.    o=FreeSWITCH 1519376616 1519376617 IN IP4 10.252.105.46
  345.    s=FreeSWITCH
  346.    c=IN IP4 10.252.105.46
  347.    t=0 0
  348.    m=audio 21602 RTP/AVP 3 8 0 101 13
  349.    a=rtpmap:3 GSM/8000
  350.    a=rtpmap:8 PCMA/8000
  351.    a=rtpmap:0 PCMU/8000
  352.    a=rtpmap:101 telephone-event/8000
  353.    a=fmtp:101 0-16
  354.    a=rtpmap:13 CN/8000
  355.    a=ptime:20
  356.    ------------------------------------------------------------------------
  357. 2018-02-23 17:03:38.510719 [DEBUG] sofia.c:7084 Channel sofia/external-MTEL/0 entering state [calling][0]
  358. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:643 (sofia/external-MTEL/0) State ROUTING
  359. 2018-02-23 17:03:38.510719 [DEBUG] mod_sofia.c:143 sofia/external-MTEL/0 SOFIA ROUTING
  360. 2018-02-23 17:03:38.510719 [DEBUG] switch_ivr_originate.c:67 (sofia/external-MTEL/0) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  361. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:643 (sofia/external-MTEL/0) State ROUTING going to sleep
  362. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:584 (sofia/external-MTEL/0) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 24)
  363. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:662 (sofia/external-MTEL/0) State CONSUME_MEDIA
  364. 2018-02-23 17:03:38.510719 [DEBUG] switch_core_state_machine.c:662 (sofia/external-MTEL/0) State CONSUME_MEDIA going to sleep
  365. recv 277 bytes from udp/[213.226.61.66]:5060 at 17:03:38.523301:
  366.    ------------------------------------------------------------------------
  367.    SIP/2.0 100 Trying
  368.    Via: SIP/2.0/UDP 10.252.105.46;received=10.252.105.46;branch=z9hG4bKNBpZr1eXtB4pr;rport=5060
  369.    From: "120" <sip:35932349057@10.252.105.46>;tag=NXrDSm2StB44a
  370.    To: <sip:0@213.226.61.66>
  371.    Call-ID: 91beecbf-934d-1236-bcab-c64de23f840f
  372.    CSeq: 119363045 INVITE
  373.  
  374.    ------------------------------------------------------------------------
  375. recv 724 bytes from udp/[213.226.61.66]:5060 at 17:03:38.564367:
  376.    ------------------------------------------------------------------------
  377.    SIP/2.0 183 Session Progress
  378.    Via: SIP/2.0/UDP 10.252.105.46;received=10.252.105.46;branch=z9hG4bKNBpZr1eXtB4pr;rport=5060
  379.    From: "120" <sip:35932349057@10.252.105.46>;tag=NXrDSm2StB44a
  380.    To: <sip:0@213.226.61.66>;tag=SD4p1n899-snl_0110746942
  381.    Call-ID: 91beecbf-934d-1236-bcab-c64de23f840f
  382.    CSeq: 119363045 INVITE
  383.    Contact: <sip:35932349057@213.226.61.66>
  384.    Date: Fri, 23 Feb 2018 15:03:38 GMT
  385.    Reason: SIP;cause=484;text="Address Incomplete"
  386.    Content-Type: application/sdp
  387.    Content-Length: 203
  388.    P-Early-Media: sendrecv
  389.  
  390.    v=0
  391.    o=- 426747 1519405418488 IN IP4 213.226.61.67
  392.    s=-
  393.    c=IN IP4 213.226.61.67
  394.    t=0 0
  395.    m=audio 34814 RTP/AVP 8 101
  396.    a=rtpmap:8 PCMA/8000
  397.    a=fmtp:101 0-16
  398.    a=rtpmap:101 telephone-event/8000
  399.    a=ptime:20
  400.    ------------------------------------------------------------------------
  401. 2018-02-23 17:03:38.530735 [DEBUG] sofia.c:7084 Channel sofia/external-MTEL/0 entering state [proceeding][183]
  402. 2018-02-23 17:03:38.530735 [DEBUG] sofia.c:7094 Remote SDP:
  403. v=0
  404. o=- 426747 1519405418488 IN IP4 213.226.61.67
  405. s=-
  406. c=IN IP4 213.226.61.67
  407. t=0 0
  408. m=audio 34814 RTP/AVP 8 101
  409. a=rtpmap:8 PCMA/8000
  410. a=rtpmap:101 telephone-event/8000
  411. a=fmtp:101 0-16
  412. a=ptime:20
  413.  
  414. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
  415. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  416. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  417. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  418. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  419. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:3061 Set Codec sofia/external-MTEL/0 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  420. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_codec.c:111 sofia/external-MTEL/0 Original read codec set to PCMA:8
  421. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  422. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:4767 sofia/external-MTEL/0 Set 2833 dtmf send payload to 101 recv payload to 101
  423. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/external-MTEL/0] 10.252.105.46 port 21602 -> 213.226.61.67 port 34814 codec: 8 ms: 20
  424. 2018-02-23 17:03:38.530735 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  425. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:7180 sofia/external-MTEL/0 Set 2833 dtmf send payload to 101
  426. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:7187 sofia/external-MTEL/0 Set 2833 dtmf receive payload to 101
  427. 2018-02-23 17:03:38.530735 [DEBUG] switch_core_media.c:7210 sofia/external-MTEL/0 Set rtp dtmf delay to 40
  428. 2018-02-23 17:03:38.530735 [NOTICE] sofia_media.c:92 Pre-Answer sofia/external-MTEL/0!
  429. 2018-02-23 17:03:38.530735 [DEBUG] switch_channel.c:3474 (sofia/external-MTEL/0) Callstate Change DOWN -> EARLY
  430. 2018-02-23 17:03:38.570738 [DEBUG] switch_ivr_originate.c:410 Setting codec string on sofia/Internal/120@212.116.15.35 to PCMA@8000h@20i
  431. 2018-02-23 17:03:38.570738 [INFO] switch_ivr_originate.c:3654 Sending early media
  432. 2018-02-23 17:03:38.570738 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/Internal/120@212.116.15.35] 212.116.15.35 port 18980 -> 10.9.11.110 port 59128 codec: 3 ms: 20
  433. 2018-02-23 17:03:38.570738 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  434. 2018-02-23 17:03:38.570738 [DEBUG] switch_core_media.c:7180 sofia/Internal/120@212.116.15.35 Set 2833 dtmf send payload to 101
  435. 2018-02-23 17:03:38.570738 [DEBUG] switch_core_media.c:7187 sofia/Internal/120@212.116.15.35 Set 2833 dtmf receive payload to 101
  436. 2018-02-23 17:03:38.570738 [DEBUG] switch_core_media.c:7210 sofia/Internal/120@212.116.15.35 Set rtp dtmf delay to 40
  437. 2018-02-23 17:03:38.570738 [DEBUG] mod_sofia.c:2364 Ring SDP:
  438. v=0
  439. o=FreeSWITCH 1519379238 1519379239 IN IP4 212.116.15.35
  440. s=FreeSWITCH
  441. c=IN IP4 212.116.15.35
  442. t=0 0
  443. m=audio 18980 RTP/AVP 3 101
  444. a=rtpmap:3 GSM/8000
  445. a=rtpmap:101 telephone-event/8000
  446. a=fmtp:101 0-16
  447. a=ptime:20
  448. a=sendrecv
  449.  
  450. 2018-02-23 17:03:38.570738 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/Internal/120@212.116.15.35!
  451. 2018-02-23 17:03:38.570738 [DEBUG] switch_channel.c:3474 (sofia/Internal/120@212.116.15.35) Callstate Change RINGING -> EARLY
  452. 2018-02-23 17:03:38.570738 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/external-MTEL/0]
  453. send 1155 bytes to tcp/[212.116.18.21]:49781 at 17:03:38.584631:
  454.    ------------------------------------------------------------------------
  455.    SIP/2.0 183 Session Progress
  456.    Via: SIP/2.0/TCP 212.116.18.21:49781;branch=z9hG4bK-524287-1---9c018207256a7a39;rport=49781
  457.    From: "120"<sip:120@212.116.15.35;transport=TCP>;tag=0a3f3128
  458.    To: <sip:0987605070@212.116.15.35;transport=TCP>;tag=eB8rSvD5DgmKB
  459.    Call-ID: 2HQYdtSsIrXNxxisCF4CYw..
  460.    CSeq: 2 INVITE
  461.    Contact: <sip:0987605070@212.116.15.35:5060;transport=tcp>
  462.    User-Agent: FreeSWITCH
  463.    Accept: application/sdp
  464.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  465.    Supported: timer, path, replaces
  466.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  467.    Content-Type: application/sdp
  468.    Content-Disposition: session
  469.    Content-Length: 223
  470.    P-Early-Media: sendrecv
  471.    Remote-Party-ID: "0987605070" <sip:0@212.116.15.35>;party=calling;privacy=off;screen=no
  472.  
  473.    v=0
  474.    o=FreeSWITCH 1519379238 1519379239 IN IP4 212.116.15.35
  475.    s=FreeSWITCH
  476.    c=IN IP4 212.116.15.35
  477.    t=0 0
  478.    m=audio 18980 RTP/AVP 3 101
  479.    a=rtpmap:3 GSM/8000
  480.    a=rtpmap:101 telephone-event/8000
  481.    a=fmtp:101 0-16
  482.    a=ptime:20
  483.    ------------------------------------------------------------------------
  484. 2018-02-23 17:03:38.570738 [DEBUG] sofia.c:7084 Channel sofia/Internal/120@212.116.15.35 entering state [early][183]
  485. 2018-02-23 17:03:38.570738 [DEBUG] switch_ivr_bridge.c:1614 (sofia/external-MTEL/0) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  486. 2018-02-23 17:03:38.570738 [DEBUG] switch_core_state_machine.c:584 (sofia/external-MTEL/0) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 24)
  487. 2018-02-23 17:03:38.570738 [DEBUG] switch_core_state_machine.c:653 (sofia/external-MTEL/0) State EXCHANGE_MEDIA
  488. 2018-02-23 17:03:38.570738 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  489. 2018-02-23 17:03:38.610737 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  490. 2018-02-23 17:03:39.090788 [INFO] switch_rtp.c:7268 Auto Changing audio port from 10.9.11.110:59128 to 212.116.18.21:59128
  491. recv 374 bytes from udp/[213.226.61.66]:5060 at 17:03:43.162330:
  492.    ------------------------------------------------------------------------
  493.    SIP/2.0 487 Request Terminated
  494.    Via: SIP/2.0/UDP 10.252.105.46;received=10.252.105.46;branch=z9hG4bKNBpZr1eXtB4pr;rport=5060
  495.    From: "120" <sip:35932349057@10.252.105.46>;tag=NXrDSm2StB44a
  496.    To: <sip:0@213.226.61.66>;tag=SD4p1n899-snl_0110746942
  497.    Call-ID: 91beecbf-934d-1236-bcab-c64de23f840f
  498.    CSeq: 119363045 INVITE
  499.    Date: Fri, 23 Feb 2018 15:03:43 GMT
  500.    Content-Length: 0
  501.  
  502.    ------------------------------------------------------------------------
  503. send 325 bytes to udp/[213.226.61.66]:5060 at 17:03:43.162522:
  504.    ------------------------------------------------------------------------
  505.    ACK sip:0@213.226.61.66 SIP/2.0
  506.    Via: SIP/2.0/UDP 10.252.105.46;rport;branch=z9hG4bKNBpZr1eXtB4pr
  507.    Max-Forwards: 69
  508.    From: "120" <sip:35932349057@10.252.105.46>;tag=NXrDSm2StB44a
  509.    To: <sip:0@213.226.61.66>;tag=SD4p1n899-snl_0110746942
  510.    Call-ID: 91beecbf-934d-1236-bcab-c64de23f840f
  511.    CSeq: 119363045 ACK
  512.    Content-Length: 0
  513.  
  514.    ------------------------------------------------------------------------
  515. 2018-02-23 17:03:43.150737 [DEBUG] sofia.c:7084 Channel sofia/external-MTEL/0 entering state [terminated][487]
  516. 2018-02-23 17:03:43.150737 [NOTICE] sofia.c:8273 Hangup sofia/external-MTEL/0 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  517. 2018-02-23 17:03:43.150737 [DEBUG] switch_ivr_bridge.c:712 sofia/external-MTEL/0 ending bridge by request from read function
  518. 2018-02-23 17:03:43.150737 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/external-MTEL/0]
  519. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:653 (sofia/external-MTEL/0) State EXCHANGE_MEDIA going to sleep
  520. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:584 (sofia/external-MTEL/0) Running State Change CS_HANGUP (Cur 2 Tot 24)
  521. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:850 (sofia/external-MTEL/0) Callstate Change EARLY -> HANGUP
  522. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:852 (sofia/external-MTEL/0) State HANGUP
  523. 2018-02-23 17:03:43.150737 [DEBUG] mod_sofia.c:438 Channel sofia/external-MTEL/0 hanging up, cause: ORIGINATOR_CANCEL
  524. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:60 sofia/external-MTEL/0 Standard HANGUP, cause: ORIGINATOR_CANCEL
  525. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:852 (sofia/external-MTEL/0) State HANGUP going to sleep
  526. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:619 (sofia/external-MTEL/0) State Change CS_HANGUP -> CS_REPORTING
  527. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:584 (sofia/external-MTEL/0) Running State Change CS_REPORTING (Cur 2 Tot 24)
  528. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:938 (sofia/external-MTEL/0) State REPORTING
  529. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:174 sofia/external-MTEL/0 Standard REPORTING, cause: ORIGINATOR_CANCEL
  530. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:938 (sofia/external-MTEL/0) State REPORTING going to sleep
  531. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:610 (sofia/external-MTEL/0) State Change CS_REPORTING -> CS_DESTROY
  532. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_session.c:1665 Session 24 (sofia/external-MTEL/0) Locked, Waiting on external entities
  533. 2018-02-23 17:03:43.150737 [DEBUG] switch_ivr_bridge.c:706 sofia/external-MTEL/0 ending bridge by request from write function
  534. 2018-02-23 17:03:43.150737 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/Internal/120@212.116.15.35]
  535. 2018-02-23 17:03:43.150737 [NOTICE] switch_core_session.c:1683 Session 24 (sofia/external-MTEL/0) Ended
  536. 2018-02-23 17:03:43.150737 [NOTICE] switch_core_session.c:1687 Close Channel sofia/external-MTEL/0 [CS_DESTROY]
  537. 2018-02-23 17:03:43.150737 [NOTICE] switch_core_state_machine.c:385 sofia/Internal/120@212.116.15.35 has executed the last dialplan instruction, hanging up.
  538. 2018-02-23 17:03:43.150737 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/Internal/120@212.116.15.35 [CS_EXECUTE] [NORMAL_CLEARING]
  539. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:650 (sofia/Internal/120@212.116.15.35) State EXECUTE going to sleep
  540. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:584 (sofia/Internal/120@212.116.15.35) Running State Change CS_HANGUP (Cur 1 Tot 24)
  541. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:850 (sofia/Internal/120@212.116.15.35) Callstate Change EARLY -> HANGUP
  542. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:852 (sofia/Internal/120@212.116.15.35) State HANGUP
  543. 2018-02-23 17:03:43.150737 [DEBUG] mod_sofia.c:432 sofia/Internal/120@212.116.15.35 Overriding SIP cause 480 with 487 from the other leg
  544. 2018-02-23 17:03:43.150737 [DEBUG] mod_sofia.c:438 Channel sofia/Internal/120@212.116.15.35 hanging up, cause: NORMAL_CLEARING
  545. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:741 (sofia/external-MTEL/0) Running State Change CS_DESTROY (Cur 1 Tot 24)
  546. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:751 (sofia/external-MTEL/0) State DESTROY
  547. 2018-02-23 17:03:43.150737 [DEBUG] mod_sofia.c:343 sofia/external-MTEL/0 SOFIA DESTROY
  548. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:181 sofia/external-MTEL/0 Standard DESTROY
  549. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:751 (sofia/external-MTEL/0) State DESTROY going to sleep
  550. 2018-02-23 17:03:43.150737 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 487
  551. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:60 sofia/Internal/120@212.116.15.35 Standard HANGUP, cause: NORMAL_CLEARING
  552. send 825 bytes to tcp/[212.116.18.21]:49781 at 17:03:43.184850:
  553.    ------------------------------------------------------------------------
  554.    SIP/2.0 487 Request Terminated
  555.    Via: SIP/2.0/TCP 212.116.18.21:49781;branch=z9hG4bK-524287-1---9c018207256a7a39;rport=49781
  556.    Max-Forwards: 70
  557.    From: "120"<sip:120@212.116.15.35;transport=TCP>;tag=0a3f3128
  558.    To: <sip:0987605070@212.116.15.35;transport=TCP>;tag=eB8rSvD5DgmKB
  559. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:852 (sofia/Internal/120@212.116.15.35) State HANGUP going to sleep
  560.    Call-ID: 2HQYdtSsIrXNxxisCF4CYw..
  561.    CSeq: 2 INVITE
  562.    User-Agent: FreeSWITCH
  563.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  564.    Supported: timer, path, replaces
  565.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  566.    Reason: Q.850;cause=16;text="NORMAL_CLEARING"
  567.    Content-Length: 0
  568.    Remote-Party-ID: "0987605070" <sip:0@212.116.15.35>;party=calling;privacy=off;screen=no
  569.  
  570.    ------------------------------------------------------------------------
  571. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:619 (sofia/Internal/120@212.116.15.35) State Change CS_HANGUP -> CS_REPORTING
  572. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:584 (sofia/Internal/120@212.116.15.35) Running State Change CS_REPORTING (Cur 1 Tot 24)
  573. 2018-02-23 17:03:43.150737 [DEBUG] switch_core_state_machine.c:938 (sofia/Internal/120@212.116.15.35) State REPORTING
  574. recv 365 bytes from tcp/[212.116.18.21]:49781 at 17:03:43.249406:
  575.    ------------------------------------------------------------------------
  576.    ACK sip:0987605070@212.116.15.35;transport=TCP SIP/2.0
  577.    Via: SIP/2.0/TCP 212.116.18.21:49781;branch=z9hG4bK-524287-1---9c018207256a7a39;rport
  578.    Max-Forwards: 70
  579.    To: <sip:0987605070@212.116.15.35;transport=TCP>;tag=eB8rSvD5DgmKB
  580.    From: "120"<sip:120@212.116.15.35;transport=TCP>;tag=0a3f3128
  581.    Call-ID: 2HQYdtSsIrXNxxisCF4CYw..
  582.    CSeq: 2 ACK
  583.    Content-Length: 0
  584.  
  585.    ------------------------------------------------------------------------
  586. freeswitch@fusionpbx> /exit
  587.  
  588. root@fusionpbx:~#