From Haux, 7 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and RTP + nat issue
  1. freeswitch@phone.mydomain.com>
  2. recv 831 bytes from udp/[184.151.114.44]:9184 at 13:05:33.432884:
  3.    ------------------------------------------------------------------------
  4.    INVITE sip:1000@phone.mydomain.com SIP/2.0
  5.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---ff75fe755620be7d;rport
  6.    Max-Forwards: 70
  7.    Contact: <sip:1004@184.151.114.44:9184;rinstance=01ff109cbc20fd70;received=184.151.114.44:9184>
  8.    To: <sip:1000@phone.mydomain.com>
  9.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  10.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  11.    CSeq: 1 INVITE
  12.    Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
  13.    Content-Type: application/sdp
  14.    Supported: replaces, 100rel
  15.    User-Agent: Bria Android 3.9.4 build 97204
  16.    Content-Length: 186
  17.    
  18.    v=0
  19.    o=- 325038855 1 IN IP4 10.220.224.191
  20.    s=Cpc session
  21.    c=IN IP4 10.220.224.191
  22.    t=0 0
  23.    m=audio 51976 RTP/AVP 0 8 101
  24.    a=rtpmap:101 telephone-event/8000
  25.    a=fmtp:101 0-15
  26.    a=sendrecv
  27.    ------------------------------------------------------------------------
  28. send 355 bytes to udp/[184.151.114.44]:9184 at 13:05:33.433143:
  29.    ------------------------------------------------------------------------
  30.    SIP/2.0 100 Trying
  31.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---ff75fe755620be7d;rport=9184;received=184.151.114.44
  32.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  33.    To: <sip:1000@phone.mydomain.com>
  34.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  35.    CSeq: 1 INVITE
  36.    User-Agent: FreeSWITCH
  37.    Content-Length: 0
  38.    
  39.    ------------------------------------------------------------------------
  40. 2017-06-26 13:05:32.990495 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1004@phone.mydomain.com [8e4e2598-8c2e-4327-95ec-26435f2de543]
  41. 2017-06-26 13:05:32.990495 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_NEW (Cur 1 Tot 9)
  42. 2017-06-26 13:05:32.990495 [DEBUG] sofia.c:9837 sofia/internal/1004@phone.mydomain.com receiving invite from 184.151.114.44:9184 version: 1.6.18 -35-6e79667 64bit
  43. 2017-06-26 13:05:32.990495 [DEBUG] sofia.c:10008 IP 184.151.114.44 Rejected by acl "domains". Falling back to Digest auth.
  44. 2017-06-26 13:05:32.990495 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'internal' for [1000@phone.mydomain.com] from ip 184.151.114.44
  45. 2017-06-26 13:05:32.990495 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/1004@phone.mydomain.com) State NEW
  46. send 864 bytes to udp/[184.151.114.44]:9184 at 13:05:33.433795:
  47.    ------------------------------------------------------------------------
  48.    SIP/2.0 407 Proxy Authentication Required
  49.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---ff75fe755620be7d;rport=9184;received=184.151.114.44
  50.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  51.    To: <sip:1000@phone.mydomain.com>;tag=B5tFFNr0vt5ZK
  52.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  53.    CSeq: 1 INVITE
  54.    User-Agent: FreeSWITCH
  55.    Accept: application/sdp
  56.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  57.    Supported: timer, path, replaces
  58.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  59.    Proxy-Authenticate: Digest realm="phone.mydomain.com", nonce="dfb78cee-ffdd-470a-92c5-af8d3ff7692f", algorithm=MD5, qop="auth"
  60.    Content-Length: 0
  61.    
  62.    ------------------------------------------------------------------------
  63. 2017-06-26 13:05:32.990495 [DEBUG] sofia.c:2334 detaching session 8e4e2598-8c2e-4327-95ec-26435f2de543
  64. recv 356 bytes from udp/[184.151.114.44]:9184 at 13:05:33.512541:
  65.    ------------------------------------------------------------------------
  66.    ACK sip:1000@phone.mydomain.com SIP/2.0
  67.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---ff75fe755620be7d;rport
  68.    Max-Forwards: 70
  69.    To: <sip:1000@phone.mydomain.com>;tag=B5tFFNr0vt5ZK
  70.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  71.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  72.    CSeq: 1 ACK
  73.    Content-Length: 0
  74.    
  75.    ------------------------------------------------------------------------
  76. recv 1103 bytes from udp/[184.151.114.44]:9184 at 13:05:33.540261:
  77.    ------------------------------------------------------------------------
  78.    INVITE sip:1000@phone.mydomain.com SIP/2.0
  79.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport
  80.    Max-Forwards: 70
  81.    Contact: <sip:1004@184.151.114.44:9184;rinstance=01ff109cbc20fd70;received=184.151.114.44:9184>
  82.    To: <sip:1000@phone.mydomain.com>
  83.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  84.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  85.    CSeq: 2 INVITE
  86.    Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
  87.    Content-Type: application/sdp
  88.    Proxy-Authorization: Digest username="1004",realm="phone.mydomain.com",nonce="dfb78cee-ffdd-470a-92c5-af8d3ff7692f",uri="sip:1000@phone.mydomain.com",response="4e2009e794dca2625dd4abd570ca3384",cnonce="597e50d9cb94d506bd478b1fae151fa8",nc=00000001,qop=auth,algorithm=MD5
  89.    Supported: replaces, 100rel
  90.    User-Agent: Bria Android 3.9.4 build 97204
  91.    Content-Length: 186
  92.    
  93.    v=0
  94.    o=- 325038855 1 IN IP4 10.220.224.191
  95.    s=Cpc session
  96.    c=IN IP4 10.220.224.191
  97.    t=0 0
  98.    m=audio 51976 RTP/AVP 0 8 101
  99.    a=rtpmap:101 telephone-event/8000
  100.    a=fmtp:101 0-15
  101.    a=sendrecv
  102.    ------------------------------------------------------------------------
  103. send 355 bytes to udp/[184.151.114.44]:9184 at 13:05:33.540400:
  104.    ------------------------------------------------------------------------
  105.    SIP/2.0 100 Trying
  106.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport=9184;received=184.151.114.44
  107.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  108.    To: <sip:1000@phone.mydomain.com>
  109.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  110.    CSeq: 2 INVITE
  111.    User-Agent: FreeSWITCH
  112.    Content-Length: 0
  113.    
  114.    ------------------------------------------------------------------------
  115. 2017-06-26 13:05:33.110488 [DEBUG] sofia.c:2442 Re-attaching to session 8e4e2598-8c2e-4327-95ec-26435f2de543
  116. 2017-06-26 13:05:33.110488 [DEBUG] sofia.c:9837 sofia/internal/1004@phone.mydomain.com receiving invite from 184.151.114.44:9184 version: 1.6.18 -35-6e79667 64bit
  117. 2017-06-26 13:05:33.110488 [DEBUG] sofia.c:10008 IP 184.151.114.44 Rejected by acl "domains". Falling back to Digest auth.
  118. 2017-06-26 13:05:33.130478 [DEBUG] sofia.c:11132 Setting NAT mode based on via received
  119. 2017-06-26 13:05:33.130478 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [received][100]
  120. 2017-06-26 13:05:33.130478 [DEBUG] sofia.c:7058 Remote SDP:
  121. v=0
  122. o=- 325038855 1 IN IP4 10.220.224.191
  123. s=Cpc session
  124. c=IN IP4 10.220.224.191
  125. t=0 0
  126. m=audio 51976 RTP/AVP 0 8 101
  127. a=rtpmap:101 telephone-event/8000
  128. a=fmtp:101 0-15
  129.  
  130. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  131. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  132. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  133. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  134. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
  135. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  136. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  137. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  138. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  139. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
  140. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000
  141. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:3057 Set Codec sofia/internal/1004@phone.mydomain.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  142. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_codec.c:111 sofia/internal/1004@phone.mydomain.com Original read codec set to PCMU:0
  143. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000
  144. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_media.c:4763 sofia/internal/1004@phone.mydomain.com Set 2833 dtmf send payload to 101 recv payload to 101
  145. 2017-06-26 13:05:33.130478 [DEBUG] sofia.c:7471 (sofia/internal/1004@phone.mydomain.com) State Change CS_NEW -> CS_INIT
  146. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_INIT (Cur 1 Tot 9)
  147. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1004@phone.mydomain.com) State INIT
  148. 2017-06-26 13:05:33.130478 [DEBUG] mod_sofia.c:90 sofia/internal/1004@phone.mydomain.com SOFIA INIT
  149. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1004@phone.mydomain.com Standard INIT
  150. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1004@phone.mydomain.com) State Change CS_INIT -> CS_ROUTING
  151. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1004@phone.mydomain.com) State INIT going to sleep
  152. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_ROUTING (Cur 1 Tot 9)
  153. 2017-06-26 13:05:33.130478 [DEBUG] switch_channel.c:2249 (sofia/internal/1004@phone.mydomain.com) Callstate Change DOWN -> RINGING
  154. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1004@phone.mydomain.com) State ROUTING
  155. 2017-06-26 13:05:33.130478 [DEBUG] mod_sofia.c:143 sofia/internal/1004@phone.mydomain.com SOFIA ROUTING
  156. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:236 sofia/internal/1004@phone.mydomain.com Standard ROUTING
  157. 2017-06-26 13:05:33.130478 [INFO] mod_dialplan_xml.c:637 Processing 1004 <1004>->1000 in context phone.mydomain.com
  158. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->user_exists] continue=true
  159. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_exists] () =~ // break=on-false
  160. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
  161. EXECUTE sofia/internal/1004@phone.mydomain.com set(user_exists=true)
  162. 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [user_exists]=[true]
  163. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_exists] ${user_exists}(true) =~ /^true$/ break=on-false
  164. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(extension_uuid=${user_data ${destination_number}@${domain_name} var extension_uuid})
  165. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(hold_music=${user_data ${destination_number}@${domain_name} var hold_music})
  166. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_all_enabled=${user_data ${destination_number}@${domain_name} var forward_all_enabled})
  167. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_all_destination=${user_data ${destination_number}@${domain_name} var forward_all_destination})
  168. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_busy_enabled=${user_data ${destination_number}@${domain_name} var forward_busy_enabled})
  169. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_busy_destination=${user_data ${destination_number}@${domain_name} var forward_busy_destination})
  170. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_no_answer_enabled=${user_data ${destination_number}@${domain_name} var forward_no_answer_enabled})
  171. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_no_answer_destination=${user_data ${destination_number}@${domain_name} var forward_no_answer_destination})
  172. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_user_not_registered_enabled=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_enabled})
  173. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(forward_user_not_registered_destination=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_destination})
  174. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(do_not_disturb=${user_data ${destination_number}@${domain_name} var do_not_disturb})
  175. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(call_timeout=${user_data ${destination_number}@${domain_name} var call_timeout})
  176. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(missed_call_app=${user_data ${destination_number}@${domain_name} var missed_call_app})
  177. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(missed_call_data=${user_data ${destination_number}@${domain_name} var missed_call_data})
  178. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(call_screen_enabled=${user_data ${destination_number}@${domain_name} var call_screen_enabled}) INLINE
  179. EXECUTE sofia/internal/1004@phone.mydomain.com set(call_screen_enabled=false)
  180. 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [call_screen_enabled]=[false]
  181. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call-direction] continue=true
  182. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never
  183. Dialplan: sofia/internal/1004@phone.mydomain.com ANTI-Action set(call_direction=local)
  184. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->variables] continue=true
  185. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [variables] () =~ // break=on-false
  186. Dialplan: sofia/internal/1004@phone.mydomain.com Action export(origination_callee_id_name=${destination_number})
  187. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  188. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->user_record] continue=true
  189. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] () =~ // break=on-false
  190. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(user_record=${user_data ${destination_number}@${domain_name} var user_record}) INLINE
  191. EXECUTE sofia/internal/1004@phone.mydomain.com set(user_record=all)
  192. 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [user_record]=[all]
  193. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE
  194. EXECUTE sofia/internal/1004@phone.mydomain.com set(from_user_exists=true)
  195. 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [from_user_exists]=[true]
  196. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never
  197. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_record}(all) =~ /^all$/ break=never
  198. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(record_session=true) INLINE
  199. EXECUTE sofia/internal/1004@phone.mydomain.com set(record_session=true)
  200. 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [record_session]=[true]
  201. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never
  202. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never
  203. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${user_record}(all) =~ /^inbound$/ break=never
  204. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never
  205. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never
  206. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${user_record}(all) =~ /^outbound$/ break=never
  207. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never
  208. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never
  209. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${user_record}(all) =~ /^local$/ break=never
  210. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  211. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE
  212. EXECUTE sofia/internal/1004@phone.mydomain.com set(from_user_record=)
  213. 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [from_user_record]=[UNDEF]
  214. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  215. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never
  216. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  217. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never
  218. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never
  219. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  220. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never
  221. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never
  222. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
  223. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never
  224. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never
  225. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [user_record] ${record_session}(true) =~ /^true$/ break=on-false
  226. Dialplan: sofia/internal/1004@phone.mydomain.com Action export(nolocal:api_on_answer=uuid_record ${uuid} start ${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext})
  227. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->redial] continue=true
  228. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [redial] destination_number(1000) =~ /^(redial|\*870)$/ break=on-true
  229. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [redial] () =~ // break=never
  230. Dialplan: sofia/internal/1004@phone.mydomain.com Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  231. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->speed_dial] continue=false
  232. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [speed_dial] destination_number(1000) =~ /^\*0(.*)$/ break=on-false
  233. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->agent_status] continue=false
  234. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [agent_status] destination_number(1000) =~ /^\*22$/ break=on-false
  235. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->To_Algeria-voip.ms] continue=false
  236. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [To_Algeria-voip.ms] destination_number(1000) =~ /^(?:00)?(213+\d{8}|213+\d{9})$/ break=on-false
  237. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->To_PSTN] continue=false
  238. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [To_PSTN] destination_number(1000) =~ /^(1+\d{10}|\d{10})$/ break=on-false
  239. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->To_PSTN_Special#] continue=false
  240. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [To_PSTN_Special#] destination_number(1000) =~ /^(\d{3})$/ break=on-false
  241. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->agent_status_id] continue=false
  242. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [agent_status_id] destination_number(1000) =~ /^\*23$/ break=on-false
  243. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->group-intercept] continue=false
  244. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [group-intercept] destination_number(1000) =~ /^\*8$/ break=on-false
  245. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->page-extension] continue=false
  246. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [page-extension] destination_number(1000) =~ /^\*8(\d{2,7})$/ break=on-false
  247. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->eavesdrop] continue=false
  248. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [eavesdrop] destination_number(1000) =~ /^\*33(\d{2,7})$/ break=on-false
  249. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call_privacy] continue=false
  250. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call_privacy] destination_number(1000) =~ /^\*67(\d+)$/ break=on-false
  251. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call_return] continue=false
  252. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call_return] destination_number(1000) =~ /^\*69$/ break=on-false
  253. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->extension_queue] continue=false
  254. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [extension_queue] destination_number(1000) =~ /^\*800(.*)$/ break=on-false
  255. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->intercept-ext] continue=false
  256. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [intercept-ext] destination_number(1000) =~ /^\*\*(\d+)$/ break=on-false
  257. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->intercept-ext-polycom] continue=false
  258. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [intercept-ext-polycom] destination_number(1000) =~ /^\*97(\d+)$/ break=on-false
  259. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->dx] continue=false
  260. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [dx] destination_number(1000) =~ /^dx$/ break=on-false
  261. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->att_xfer] continue=false
  262. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [att_xfer] destination_number(1000) =~ /^att_xfer$/ break=on-false
  263. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->extension-to-voicemail] continue=false
  264. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [extension-to-voicemail] ${user_exists}(true) =~ /^true$/ break=on-false
  265. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [extension-to-voicemail] username(1004) =~ /^1004$/ break=on-false
  266. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [extension-to-voicemail] destination_number(1000) =~ /^1004$/ break=on-false
  267. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->send_to_voicemail] continue=false
  268. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [send_to_voicemail] destination_number(1000) =~ /^\*99(\d{2,10})$/ break=on-false
  269. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->vmain] continue=false
  270. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [vmain] destination_number(1000) =~ /^vmain$|^\*4000$|^\*98$/ break=on-false
  271. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->xfer_vm] continue=false
  272. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [xfer_vm] destination_number(1000) =~ /^xfer_vm$/ break=on-false
  273. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->is_transfer] continue=false
  274. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [is_transfer] destination_number(1000) =~ /^is_transfer$/ break=on-false
  275. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->vmain_user] continue=false
  276. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [vmain_user] destination_number(1000) =~ /^\*97$/ break=on-false
  277. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->cf] continue=false
  278. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [cf] destination_number(1000) =~ /^cf$/ break=on-false
  279. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->delay_echo] continue=false
  280. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [delay_echo] destination_number(1000) =~ /^\*9195$/ break=on-false
  281. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->echo] continue=false
  282. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [echo] destination_number(1000) =~ /^\*9196$/ break=on-false
  283. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->is_zrtp_secure] continue=true
  284. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false
  285. Dialplan: sofia/internal/1004@phone.mydomain.com ANTI-Action eval(not_secure)
  286. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->milliwatt] continue=false
  287. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [milliwatt] destination_number(1000) =~ /^\*9197$/ break=on-false
  288. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->is_secure] continue=true
  289. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false
  290. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->tone_stream] continue=false
  291. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [tone_stream] destination_number(1000) =~ /^\*9198$/ break=on-false
  292. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->hold_music] continue=false
  293. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [hold_music] destination_number(1000) =~ /^\*9664$/ break=on-false
  294. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->recordings] continue=false
  295. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [recordings] destination_number(1000) =~ /^\*(732)$/ break=on-false
  296. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->directory] continue=false
  297. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [directory] destination_number(1000) =~ /^\*411$/ break=on-false
  298. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->wake-up] continue=false
  299. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [wake-up] destination_number(1000) =~ /^\*(925)$/ break=on-false
  300. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->valet_park] continue=false
  301. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [valet_park] destination_number(1000) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never
  302. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never
  303. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [valet_park] destination_number(1000) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never
  304. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [valet_park] destination_number(1000) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=on-false
  305. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->operator] continue=false
  306. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [operator] destination_number(1000) =~ /^0$|^operator$/ break=on-false
  307. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->operator-forward] continue=false
  308. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [operator-forward] destination_number(1000) =~ /^\*000$/ break=on-false
  309. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->do-not-disturb] continue=false
  310. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [do-not-disturb] destination_number(1000) =~ /^\*77$/ break=on-true
  311. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [do-not-disturb] destination_number(1000) =~ /^\*78$|\*363$/ break=on-true
  312. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [do-not-disturb] destination_number(1000) =~ /^\*79$/ break=on-false
  313. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call-forward] continue=false
  314. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call-forward] destination_number(1000) =~ /^\*72$/ break=on-true
  315. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call-forward] destination_number(1000) =~ /^\*73$/ break=on-true
  316. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call-forward] destination_number(1000) =~ /^\*74$/ break=on-true
  317. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->follow-me] continue=false
  318. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [follow-me] destination_number(1000) =~ /^\*21$/ break=on-false
  319. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->clear_sip_auto_answer] continue=true
  320. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false
  321. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->talking clock date and time] continue=true
  322. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [talking clock date and time] destination_number(1000) =~ /^\*9172$/ break=on-false
  323. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->talking clock time] continue=true
  324. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [talking clock time] destination_number(1000) =~ /^\*9170$/ break=on-false
  325. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->talking clock date] continue=true
  326. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [talking clock date] destination_number(1000) =~ /^\*9171$/ break=on-false
  327. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->call_screen] continue=true
  328. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false
  329. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->local_extension] continue=true
  330. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [local_extension] ${user_exists}(true) =~ /true/ break=on-false
  331. Dialplan: sofia/internal/1004@phone.mydomain.com Action export(dialed_extension=${destination_number}) INLINE
  332. EXECUTE sofia/internal/1004@phone.mydomain.com export(dialed_extension=1000)
  333. 2017-06-26 13:05:33.130478 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[1000]
  334. Dialplan: sofia/internal/1004@phone.mydomain.com Action limit(hash ${domain_name} ${destination_number} ${limit_max} ${limit_destination})
  335. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [local_extension] () =~ // break=on-false
  336. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(hangup_after_bridge=true)
  337. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(continue_on_fail=true)
  338. Dialplan: sofia/internal/1004@phone.mydomain.com Action hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number})
  339. Dialplan: sofia/internal/1004@phone.mydomain.com Action hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid})
  340. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(called_party_call_group=${user_data(${dialed_extension}@${domain_name} var call_group)})
  341. Dialplan: sofia/internal/1004@phone.mydomain.com Action hash(insert/${domain_name}-last_dial/${called_party_call_group}/${uuid})
  342. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(api_hangup_hook=lua app.lua hangup)
  343. Dialplan: sofia/internal/1004@phone.mydomain.com Action export(domain_name=${domain_name})
  344. Dialplan: sofia/internal/1004@phone.mydomain.com Action bridge(user/${destination_number}@${domain_name})
  345. Dialplan: sofia/internal/1004@phone.mydomain.com Action lua(app.lua failure_handler)
  346. Dialplan: sofia/internal/1004@phone.mydomain.com parsing [phone.mydomain.com->voicemail] continue=false
  347. Dialplan: sofia/internal/1004@phone.mydomain.com Regex (PASS) [voicemail] ${user_exists}(true) =~ /true/ break=on-false
  348. Dialplan: sofia/internal/1004@phone.mydomain.com Action answer()
  349. Dialplan: sofia/internal/1004@phone.mydomain.com Action sleep(1000)
  350. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(voicemail_action=save)
  351. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(voicemail_id=${destination_number})
  352. Dialplan: sofia/internal/1004@phone.mydomain.com Action set(voicemail_profile=default)
  353. Dialplan: sofia/internal/1004@phone.mydomain.com Action lua(app.lua voicemail)
  354. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/1004@phone.mydomain.com) State Change CS_ROUTING -> CS_EXECUTE
  355. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1004@phone.mydomain.com) State ROUTING going to sleep
  356. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_EXECUTE (Cur 1 Tot 9)
  357. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1004@phone.mydomain.com) State EXECUTE
  358. 2017-06-26 13:05:33.130478 [DEBUG] mod_sofia.c:198 sofia/internal/1004@phone.mydomain.com SOFIA EXECUTE
  359. 2017-06-26 13:05:33.130478 [DEBUG] switch_core_state_machine.c:328 sofia/internal/1004@phone.mydomain.com Standard EXECUTE
  360. EXECUTE sofia/internal/1004@phone.mydomain.com set(extension_uuid=6ce5b1b0-e605-4504-b86a-785b0f9185f4)
  361. 2017-06-26 13:05:33.130478 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [extension_uuid]=[6ce5b1b0-e605-4504-b86a-785b0f9185f4]
  362. EXECUTE sofia/internal/1004@phone.mydomain.com set(hold_music=local_stream://default)
  363. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [hold_music]=[local_stream://default]
  364. EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_all_enabled=)
  365. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_all_enabled]=[UNDEF]
  366. EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_all_destination=)
  367. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_all_destination]=[UNDEF]
  368. EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_busy_enabled=)
  369. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_busy_enabled]=[UNDEF]
  370. EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_busy_destination=)
  371. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_busy_destination]=[UNDEF]
  372. EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_no_answer_enabled=)
  373. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_no_answer_enabled]=[UNDEF]
  374. EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_no_answer_destination=)
  375. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_no_answer_destination]=[UNDEF]
  376. EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_user_not_registered_enabled=)
  377. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_user_not_registered_enabled]=[UNDEF]
  378. EXECUTE sofia/internal/1004@phone.mydomain.com set(forward_user_not_registered_destination=)
  379. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [forward_user_not_registered_destination]=[UNDEF]
  380. EXECUTE sofia/internal/1004@phone.mydomain.com set(do_not_disturb=)
  381. 2017-06-26 13:05:33.150482 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [do_not_disturb]=[UNDEF]
  382. EXECUTE sofia/internal/1004@phone.mydomain.com set(call_timeout=30)
  383. 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [call_timeout]=[30]
  384. EXECUTE sofia/internal/1004@phone.mydomain.com set(missed_call_app=)
  385. 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [missed_call_app]=[UNDEF]
  386. EXECUTE sofia/internal/1004@phone.mydomain.com set(missed_call_data=)
  387. 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [missed_call_data]=[UNDEF]
  388. EXECUTE sofia/internal/1004@phone.mydomain.com set(call_direction=local)
  389. 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [call_direction]=[local]
  390. EXECUTE sofia/internal/1004@phone.mydomain.com export(origination_callee_id_name=1000)
  391. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[1000]
  392. EXECUTE sofia/internal/1004@phone.mydomain.com set(RFC2822_DATE=Mon, 26 Jun 2017 13:05:33 -0400)
  393. 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [RFC2822_DATE]=[Mon, 26 Jun 2017 13:05:33 -0400]
  394. EXECUTE sofia/internal/1004@phone.mydomain.com export(nolocal:api_on_answer=uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav)
  395. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [api_on_answer]=[uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav]
  396. EXECUTE sofia/internal/1004@phone.mydomain.com hash(insert/phone.mydomain.com-last_dial/1004/1000)
  397. EXECUTE sofia/internal/1004@phone.mydomain.com eval(not_secure)
  398. EXECUTE sofia/internal/1004@phone.mydomain.com limit(hash phone.mydomain.com 1000 5 error/user_busy)
  399. 2017-06-26 13:05:33.170492 [DEBUG] switch_limit.c:126 incr called: phone.mydomain.com_1000 max:5, interval:0
  400. 2017-06-26 13:05:33.170492 [DEBUG] mod_hash.c:196 Usage for phone.mydomain.com_1000 is now 1/5
  401. EXECUTE sofia/internal/1004@phone.mydomain.com set(hangup_after_bridge=true)
  402. 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [hangup_after_bridge]=[true]
  403. EXECUTE sofia/internal/1004@phone.mydomain.com set(continue_on_fail=true)
  404. 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [continue_on_fail]=[true]
  405. EXECUTE sofia/internal/1004@phone.mydomain.com hash(insert/phone.mydomain.com-call_return/1000/1004)
  406. EXECUTE sofia/internal/1004@phone.mydomain.com hash(insert/phone.mydomain.com-last_dial_ext/1000/8e4e2598-8c2e-4327-95ec-26435f2de543)
  407. EXECUTE sofia/internal/1004@phone.mydomain.com set(called_party_call_group=)
  408. 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [called_party_call_group]=[UNDEF]
  409. EXECUTE sofia/internal/1004@phone.mydomain.com hash(insert/phone.mydomain.com-last_dial//8e4e2598-8c2e-4327-95ec-26435f2de543)
  410. EXECUTE sofia/internal/1004@phone.mydomain.com set(api_hangup_hook=lua app.lua hangup)
  411. 2017-06-26 13:05:33.170492 [DEBUG] mod_dptools.c:1530 SET sofia/internal/1004@phone.mydomain.com [api_hangup_hook]=[lua app.lua hangup]
  412. EXECUTE sofia/internal/1004@phone.mydomain.com export(domain_name=phone.mydomain.com)
  413. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[phone.mydomain.com]
  414. EXECUTE sofia/internal/1004@phone.mydomain.com bridge(user/1000@phone.mydomain.com)
  415. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event
  416. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [dialed_extension]=[1000] to event
  417. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [origination_callee_id_name]=[1000] to event
  418. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [api_on_answer]=[uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav] to event
  419. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event
  420. 2017-06-26 13:05:33.170492 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  421. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event
  422. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [dialed_extension]=[1000] to event
  423. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [origination_callee_id_name]=[1000] to event
  424. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [api_on_answer]=[uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav] to event
  425. 2017-06-26 13:05:33.170492 [DEBUG] switch_channel.c:1250 sofia/internal/1004@phone.mydomain.com EXPORTING[export_vars] [domain_name]=[phone.mydomain.com] to event
  426. 2017-06-26 13:05:33.170492 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  427. 2017-06-26 13:05:33.170492 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/1000@192.168.0.2:5060 [b207db9e-4877-4417-81dd-3e8cc596a6f1]
  428. 2017-06-26 13:05:33.170492 [DEBUG] mod_sofia.c:4819 (sofia/internal/1000@192.168.0.2:5060) State Change CS_NEW -> CS_INIT
  429. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_INIT (Cur 2 Tot 10)
  430. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1000@192.168.0.2:5060) State INIT
  431. 2017-06-26 13:05:33.170492 [DEBUG] mod_sofia.c:90 sofia/internal/1000@192.168.0.2:5060 SOFIA INIT
  432. 2017-06-26 13:05:33.170492 [DEBUG] sofia_glue.c:1295 sofia/internal/1000@192.168.0.2:5060 sending invite version: 1.6.18 -35-6e79667 64bit
  433. Local SDP:
  434. v=0
  435. o=FreeSWITCH 1498486699 1498486700 IN IP4 192.168.0.7
  436. s=FreeSWITCH
  437. c=IN IP4 192.168.0.7
  438. t=0 0
  439. m=audio 10034 RTP/AVP 0 9 8 3 101 13
  440. a=rtpmap:0 PCMU/8000
  441. a=rtpmap:9 G722/8000
  442. a=rtpmap:8 PCMA/8000
  443. a=rtpmap:3 GSM/8000
  444. a=rtpmap:101 telephone-event/8000
  445. a=fmtp:101 0-16
  446. a=rtpmap:13 CN/8000
  447. a=ptime:20
  448. a=sendrecv
  449.  
  450. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1000@192.168.0.2:5060 Standard INIT
  451. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1000@192.168.0.2:5060) State Change CS_INIT -> CS_ROUTING
  452. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1000@192.168.0.2:5060) State INIT going to sleep
  453. send 1205 bytes to udp/[192.168.0.2]:5060 at 13:05:33.611932:
  454.    ------------------------------------------------------------------------
  455.    INVITE sip:1000@192.168.0.2:5060 SIP/2.0
  456.    Via: SIP/2.0/UDP 69.196.155.55;rport;branch=z9hG4bK0r1DD8892Ut9B
  457.    Max-Forwards: 69
  458.    From: "1004" <sip:1004@phone.mydomain.com>;tag=DQD1jBt7pcj5a
  459.    To: <sip:1000@192.168.0.2:5060>
  460.    Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f
  461.    CSeq: 108912302 INVITE
  462.    Contact: <sip:mod_sofia@69.196.155.55:5060>
  463.    User-Agent: FreeSWITCH
  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: 313
  470.    X-FS-Support: update_display,send_info
  471.    Remote-Party-ID: "1004" <sip:1004@phone.mydomain.com>;party=calling;screen=yes;privacy=off
  472.    
  473.    v=0
  474.    o=FreeSWITCH 1498486699 1498486700 IN IP4 192.168.0.7
  475.    s=FreeSWITCH
  476.    c=IN IP4 192.168.0.7
  477.    t=0 0
  478.    m=audio 10034 RTP/AVP 0 9 8 3 101 13
  479.    a=rtpmap:0 PCMU/8000
  480.    a=rtpmap:9 G722/8000
  481.    a=rtpmap:8 PCMA/8000
  482.    a=rtpmap:3 GSM/8000
  483.    a=rtpmap:101 telephone-event/8000
  484.    a=fmtp:101 0-16
  485.    a=rtpmap:13 CN/8000
  486.    a=ptime:20
  487.    ------------------------------------------------------------------------
  488. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_ROUTING (Cur 2 Tot 10)
  489. 2017-06-26 13:05:33.170492 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [calling][0]
  490. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@192.168.0.2:5060) State ROUTING
  491. 2017-06-26 13:05:33.170492 [DEBUG] mod_sofia.c:143 sofia/internal/1000@192.168.0.2:5060 SOFIA ROUTING
  492. 2017-06-26 13:05:33.170492 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/1000@192.168.0.2:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  493. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1000@192.168.0.2:5060) State ROUTING going to sleep
  494. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 10)
  495. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1000@192.168.0.2:5060) State CONSUME_MEDIA
  496. 2017-06-26 13:05:33.170492 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1000@192.168.0.2:5060) State CONSUME_MEDIA going to sleep
  497. recv 303 bytes from udp/[192.168.0.2]:5060 at 13:05:33.629580:
  498.    ------------------------------------------------------------------------
  499.    SIP/2.0 100 Trying
  500.    To: <sip:1000@192.168.0.2:5060>
  501.    From: "1004" <sip:1004@phone.mydomain.com>;tag=DQD1jBt7pcj5a
  502.    Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f
  503.    CSeq: 108912302 INVITE
  504.    Via: SIP/2.0/UDP 69.196.155.55;branch=z9hG4bK0r1DD8892Ut9B
  505.    Server: Linksys/SPA3000-3.1.20(GW)
  506.    Content-Length: 0
  507.    
  508.    ------------------------------------------------------------------------
  509. recv 402 bytes from udp/[192.168.0.2]:5060 at 13:05:33.645728:
  510.    ------------------------------------------------------------------------
  511.    SIP/2.0 180 Ringing
  512.    To: <sip:1000@192.168.0.2:5060>;tag=6665e9207b28ede3i0
  513.    From: "1004" <sip:1004@phone.mydomain.com>;tag=DQD1jBt7pcj5a
  514.    Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f
  515.    CSeq: 108912302 INVITE
  516.    Via: SIP/2.0/UDP 69.196.155.55;branch=z9hG4bK0r1DD8892Ut9B
  517.    Server: Linksys/SPA3000-3.1.20(GW)
  518.    Remote-Party-ID: MK <sip:1000@phone.mydomain.com>;screen=yes;party=called
  519.    Content-Length: 0
  520.    
  521.    ------------------------------------------------------------------------
  522. 2017-06-26 13:05:33.210473 [INFO] sofia.c:1279 sofia/internal/1000@192.168.0.2:5060 Update Callee ID to "MK" <1000>
  523. 2017-06-26 13:05:33.210473 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [proceeding][180]
  524. 2017-06-26 13:05:33.210473 [NOTICE] sofia.c:7156 Ring-Ready sofia/internal/1000@192.168.0.2:5060!
  525. 2017-06-26 13:05:33.210473 [DEBUG] switch_channel.c:3346 (sofia/internal/1000@192.168.0.2:5060) Callstate Change DOWN -> RINGING
  526. 2017-06-26 13:05:33.210473 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/internal/1004@phone.mydomain.com!
  527. send 857 bytes to udp/[184.151.114.44]:9184 at 13:05:33.652697:
  528.    ------------------------------------------------------------------------
  529.    SIP/2.0 180 Ringing
  530.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport=9184;received=184.151.114.44
  531.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  532.    To: <sip:1000@phone.mydomain.com>;tag=cem8gg93S3UjF
  533.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  534.    CSeq: 2 INVITE
  535.    Contact: <sip:1000@69.196.155.55:5060;transport=udp>
  536.    User-Agent: FreeSWITCH
  537.    Accept: application/sdp
  538.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  539.    Supported: timer, path, replaces
  540.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  541.    Content-Length: 0
  542.    Remote-Party-ID: "MK" <sip:1000@phone.mydomain.com>;party=calling;privacy=off;screen=no
  543.    
  544.    ------------------------------------------------------------------------
  545. 2017-06-26 13:05:33.210473 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [early][180]
  546. 2017-06-26 13:05:33.210473 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/internal/1004@phone.mydomain.com!
  547. recv 816 bytes from udp/[192.168.0.2]:5060 at 13:05:35.157447:
  548.    ------------------------------------------------------------------------
  549.    SIP/2.0 200 OK
  550.    To: <sip:1000@192.168.0.2:5060>;tag=6665e9207b28ede3i0
  551.    From: "1004" <sip:1004@phone.mydomain.com>;tag=DQD1jBt7pcj5a
  552.    Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f
  553.    CSeq: 108912302 INVITE
  554.    Via: SIP/2.0/UDP 69.196.155.55;branch=z9hG4bK0r1DD8892Ut9B
  555.    Contact: MK <sip:1000@192.168.0.2:5060>
  556.    Server: Linksys/SPA3000-3.1.20(GW)
  557.    Remote-Party-ID: MK <sip:1000@phone.mydomain.com>;screen=yes;party=called
  558.    Content-Length: 251
  559.    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
  560.    Supported: x-sipura, replaces
  561.    Content-Type: application/sdp
  562.    
  563.    v=0
  564.    o=- 365060 365060 IN IP4 192.168.0.2
  565.    s=-
  566.    c=IN IP4 192.168.0.2
  567.    t=0 0
  568.    m=audio 16398 RTP/AVP 0 100 101
  569.    a=rtpmap:0 PCMU/8000
  570.    a=rtpmap:100 NSE/8000
  571.    a=fmtp:100 192-193
  572.    a=rtpmap:101 telephone-event/8000
  573.    a=fmtp:101 0-15
  574.    a=ptime:20
  575.    a=sendrecv
  576.    ------------------------------------------------------------------------
  577. 2017-06-26 13:05:34.710535 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [completing][200]
  578. 2017-06-26 13:05:34.710535 [DEBUG] sofia.c:7058 Remote SDP:
  579. v=0
  580. o=- 365060 365060 IN IP4 192.168.0.2
  581. s=-
  582. c=IN IP4 192.168.0.2
  583. t=0 0
  584. m=audio 16398 RTP/AVP 0 100 101
  585. a=rtpmap:0 PCMU/8000
  586. a=rtpmap:100 NSE/8000
  587. a=fmtp:100 192-193
  588. a=rtpmap:101 telephone-event/8000
  589. a=fmtp:101 0-15
  590. a=ptime:20
  591.  
  592. send 375 bytes to udp/[192.168.0.2]:5060 at 13:05:35.158438:
  593.    ------------------------------------------------------------------------
  594.    ACK sip:1000@192.168.0.2:5060 SIP/2.0
  595.    Via: SIP/2.0/UDP 69.196.155.55;rport;branch=z9hG4bK11t6e3SD04gvQ
  596.    Max-Forwards: 70
  597.    From: "1004" <sip:1004@phone.mydomain.com>;tag=DQD1jBt7pcj5a
  598.    To: <sip:1000@192.168.0.2:5060>;tag=6665e9207b28ede3i0
  599.    Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f
  600.    CSeq: 108912302 ACK
  601.    Contact: <sip:mod_sofia@69.196.155.55:5060>
  602.    Content-Length: 0
  603.    
  604.    ------------------------------------------------------------------------
  605. 2017-06-26 13:05:34.730480 [DEBUG] sofia.c:7048 Channel sofia/internal/1000@192.168.0.2:5060 entering state [ready][200]
  606. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  607. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4500 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  608. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  609. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  610. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
  611. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  612. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:20:0:1]/[G722:9:8000:20:64000:1]
  613. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  614. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4445 Audio Codec Compare [NSE:100:8000:20:0:1]/[GSM:3:8000:20:13200:1]
  615. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4361 Set telephone-event payload to 101@8000
  616. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:3057 Set Codec sofia/internal/1000@192.168.0.2:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  617. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_codec.c:111 sofia/internal/1000@192.168.0.2:5060 Original read codec set to PCMU:0
  618. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4704 Set telephone-event payload to 101@8000
  619. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:4763 sofia/internal/1000@192.168.0.2:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  620. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/internal/1000@192.168.0.2:5060] 192.168.0.7 port 10034 -> 192.168.0.2 port 16398 codec: 0 ms: 20
  621. 2017-06-26 13:05:34.730480 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms
  622. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7175 sofia/internal/1000@192.168.0.2:5060 Set 2833 dtmf send payload to 101
  623. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7182 sofia/internal/1000@192.168.0.2:5060 Set 2833 dtmf receive payload to 101
  624. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7205 sofia/internal/1000@192.168.0.2:5060 Set rtp dtmf delay to 40
  625. 2017-06-26 13:05:34.730480 [NOTICE] sofia.c:8182 Channel [sofia/internal/1000@192.168.0.2:5060] has been answered
  626. 2017-06-26 13:05:34.730480 [DEBUG] switch_channel.c:3571 sofia/internal/1000@192.168.0.2:5060 process uuid_record 8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav: uuid_record(8e4e2598-8c2e-4327-95ec-26435f2de543 start /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav)
  627.  
  628. 2017-06-26 13:05:34.730480 [INFO] switch_ivr_async.c:2371 Sending early media
  629. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:6874 AUDIO RTP [sofia/internal/1004@phone.mydomain.com] 192.168.0.7 port 10062 -> 10.220.224.191 port 51976 codec: 0 ms: 20
  630. 2017-06-26 13:05:34.730480 [DEBUG] switch_rtp.c:4108 Starting timer [soft] 160 bytes per 20ms
  631. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7175 sofia/internal/1004@phone.mydomain.com Set 2833 dtmf send payload to 101
  632. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7182 sofia/internal/1004@phone.mydomain.com Set 2833 dtmf receive payload to 101
  633. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:7205 sofia/internal/1004@phone.mydomain.com Set rtp dtmf delay to 40
  634. 2017-06-26 13:05:34.730480 [DEBUG] mod_sofia.c:2364 Ring SDP:
  635. v=0
  636. o=FreeSWITCH 1498486672 1498486673 IN IP4 69.196.155.55
  637. s=FreeSWITCH
  638. c=IN IP4 69.196.155.55
  639. t=0 0
  640. m=audio 10062 RTP/AVP 0 101
  641. a=rtpmap:0 PCMU/8000
  642. a=rtpmap:101 telephone-event/8000
  643. a=fmtp:101 0-16
  644. a=ptime:20
  645. a=sendrecv
  646.  
  647. 2017-06-26 13:05:34.730480 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/internal/1004@phone.mydomain.com!
  648. 2017-06-26 13:05:34.730480 [DEBUG] switch_channel.c:3474 (sofia/internal/1004@phone.mydomain.com) Callstate Change RINGING -> EARLY
  649. send 1126 bytes to udp/[184.151.114.44]:9184 at 13:05:35.163087:
  650.    ------------------------------------------------------------------------
  651.    SIP/2.0 183 Session Progress
  652.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport=9184;received=184.151.114.44
  653.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  654.    To: <sip:1000@phone.mydomain.com>;tag=cem8gg93S3UjF
  655.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  656.    CSeq: 2 INVITE
  657.    Contact: <sip:1000@69.196.155.55:5060;transport=udp>
  658.    User-Agent: FreeSWITCH
  659.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  660.    Supported: timer, path, replaces
  661.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  662.    Content-Type: application/sdp
  663.    Content-Disposition: session
  664.    Content-Length: 222
  665.    Remote-Party-ID: "MK" <sip:1000@phone.mydomain.com>;party=calling;privacy=off;screen=no
  666.    
  667.    v=0
  668.    o=FreeSWITCH 1498486672 1498486673 IN IP4 69.196.155.55
  669.    s=FreeSWITCH
  670.    c=IN IP4 69.196.155.55
  671.    t=0 0
  672.    m=audio 10062 RTP/AVP 0 101
  673.    a=rtpmap:0 PCMU/8000
  674.    a=rtpmap:101 telephone-event/8000
  675.    a=fmtp:101 0-16
  676.    a=ptime:20
  677.    ------------------------------------------------------------------------
  678. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/internal/1004@phone.mydomain.com
  679. 2017-06-26 13:05:34.730480 [DEBUG] switch_channel.c:3773 (sofia/internal/1000@192.168.0.2:5060) Callstate Change RINGING -> ACTIVE
  680. 2017-06-26 13:05:34.730480 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [early][183]
  681. 2017-06-26 13:05:34.730480 [DEBUG] switch_core_media.c:6857 Audio params are unchanged for sofia/internal/1004@phone.mydomain.com.
  682. 2017-06-26 13:05:34.730480 [DEBUG] mod_sofia.c:850 Local SDP sofia/internal/1004@phone.mydomain.com:
  683. v=0
  684. o=FreeSWITCH 1498486672 1498486674 IN IP4 69.196.155.55
  685. s=FreeSWITCH
  686. c=IN IP4 69.196.155.55
  687. t=0 0
  688. m=audio 10062 RTP/AVP 0 101
  689. a=rtpmap:0 PCMU/8000
  690. a=rtpmap:101 telephone-event/8000
  691. a=fmtp:101 0-16
  692. a=ptime:20
  693. a=sendrecv
  694.  
  695. send 1148 bytes to udp/[184.151.114.44]:9184 at 13:05:35.177771:
  696.    ------------------------------------------------------------------------
  697.    SIP/2.0 200 OK
  698.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---0c6fa142671ae102;rport=9184;received=184.151.114.44
  699.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  700.    To: <sip:1000@phone.mydomain.com>;tag=cem8gg93S3UjF
  701.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  702.    CSeq: 2 INVITE
  703.    Contact: <sip:1000@69.196.155.55:5060;transport=udp>
  704.    User-Agent: FreeSWITCH
  705.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  706.    Supported: timer, path, replaces
  707.    Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
  708.    Session-Expires: 120;refresher=uas
  709.    Content-Type: application/sdp
  710.    Content-Disposition: session
  711.    Content-Length: 222
  712.    Remote-Party-ID: "MK" <sip:1000@phone.mydomain.com>;party=calling;privacy=off;screen=no
  713.    
  714.    v=0
  715.    o=FreeSWITCH 1498486672 1498486673 IN IP4 69.196.155.55
  716.    s=FreeSWITCH
  717.    c=IN IP4 69.196.155.55
  718.    t=0 0
  719.    m=audio 10062 RTP/AVP 0 101
  720.    a=rtpmap:0 PCMU/8000
  721.    a=rtpmap:101 telephone-event/8000
  722.    a=fmtp:101 0-16
  723.    a=ptime:20
  724.    ------------------------------------------------------------------------
  725. 2017-06-26 13:05:34.730480 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/internal/1004@phone.mydomain.com] has been answered
  726. 2017-06-26 13:05:34.730480 [DEBUG] switch_channel.c:3773 (sofia/internal/1004@phone.mydomain.com) Callstate Change EARLY -> ACTIVE
  727. 2017-06-26 13:05:34.730480 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [completed][200]
  728. 2017-06-26 13:05:34.730480 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/internal/1000@192.168.0.2:5060]
  729. 2017-06-26 13:05:34.750490 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/internal/1000@192.168.0.2:5060]
  730. 2017-06-26 13:05:34.750490 [DEBUG] switch_ivr_bridge.c:1614 (sofia/internal/1000@192.168.0.2:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  731. 2017-06-26 13:05:34.750490 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 10)
  732. 2017-06-26 13:05:34.750490 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/1000@192.168.0.2:5060) State EXCHANGE_MEDIA
  733. 2017-06-26 13:05:34.750490 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  734. 2017-06-26 13:05:34.750490 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
  735. recv 511 bytes from udp/[184.151.114.44]:9184 at 13:05:35.427109:
  736.    ------------------------------------------------------------------------
  737.    ACK sip:1000@69.196.155.55:5060;transport=udp SIP/2.0
  738.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---f269497403c44e28;rport
  739.    Max-Forwards: 70
  740.    Contact: <sip:1004@184.151.114.44:9184;rinstance=01ff109cbc20fd70;received=184.151.114.44:9184>
  741.    To: <sip:1000@phone.mydomain.com>;tag=cem8gg93S3UjF
  742.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  743.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  744.    CSeq: 2 ACK
  745.    User-Agent: Bria Android 3.9.4 build 97204
  746.    Content-Length: 0
  747.    
  748.    ------------------------------------------------------------------------
  749. 2017-06-26 13:05:35.010518 [DEBUG] sofia.c:7048 Channel sofia/internal/1004@phone.mydomain.com entering state [ready][200]
  750. recv 797 bytes from udp/[184.151.114.44]:9184 at 13:05:43.926970:
  751.    ------------------------------------------------------------------------
  752.    BYE sip:1000@69.196.155.55:5060;transport=udp SIP/2.0
  753.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---5ef4dc7ce028d025;rport
  754.    Max-Forwards: 70
  755.    Contact: <sip:1004@184.151.114.44:9184;rinstance=01ff109cbc20fd70;received=184.151.114.44:9184>
  756.    To: <sip:1000@phone.mydomain.com>;tag=cem8gg93S3UjF
  757.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  758.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  759.    CSeq: 3 BYE
  760.    Proxy-Authorization: Digest username="1004",realm="phone.mydomain.com",nonce="dfb78cee-ffdd-470a-92c5-af8d3ff7692f",uri="sip:1000@69.196.155.55:5060;transport=udp",response="8eb92e9034d9b913614b4d46126e071f",cnonce="114bc604630719e60eaff5d38eee5936",nc=00000002,qop=auth,algorithm=MD5
  761.    User-Agent: Bria Android 3.9.4 build 97204
  762.    Content-Length: 0
  763.    
  764.    ------------------------------------------------------------------------
  765. 2017-06-26 13:05:43.510478 [NOTICE] sofia.c:1012 Hangup sofia/internal/1004@phone.mydomain.com [CS_EXECUTE] [NORMAL_CLEARING]
  766. 2017-06-26 13:05:43.510478 [DEBUG] mod_hash.c:297 Usage for phone.mydomain.com_1000 is now 0
  767. send 510 bytes to udp/[184.151.114.44]:9184 at 13:05:43.942057:
  768.    ------------------------------------------------------------------------
  769.    SIP/2.0 200 OK
  770.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---5ef4dc7ce028d025;rport=9184;received=184.151.114.44
  771.    From: "1004"<sip:1004@phone.mydomain.com>;tag=9e709c2f
  772.    To: <sip:1000@phone.mydomain.com>;tag=cem8gg93S3UjF
  773.    Call-ID: 142520_rel51YjM1ZTA5NzFiZDM2MjUyOTNiNDc2ODI4ZjE0NTczMzk
  774.    CSeq: 3 BYE
  775.    User-Agent: FreeSWITCH
  776.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  777.    Supported: timer, path, replaces
  778.    Content-Length: 0
  779.    
  780.    ------------------------------------------------------------------------
  781. 2017-06-26 13:05:43.510478 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/internal/1004@phone.mydomain.com]
  782. 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/internal/1000@192.168.0.2:5060]
  783. 2017-06-26 13:05:43.530494 [NOTICE] switch_ivr_bridge.c:904 Hangup sofia/internal/1000@192.168.0.2:5060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  784. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/1000@192.168.0.2:5060) State EXCHANGE_MEDIA going to sleep
  785. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_HANGUP (Cur 2 Tot 10)
  786. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1000@192.168.0.2:5060) Callstate Change ACTIVE -> HANGUP
  787. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@192.168.0.2:5060) State HANGUP
  788. 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:432 sofia/internal/1000@192.168.0.2:5060 Overriding SIP cause 480 with 200 from the other leg
  789. 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:438 Channel sofia/internal/1000@192.168.0.2:5060 hanging up, cause: NORMAL_CLEARING
  790. 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_bridge.c:1712 sofia/internal/1000@192.168.0.2:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  791. 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_bridge.c:1715 sofia/internal/1004@phone.mydomain.com skip receive message [UNBRIDGE] (channel is hungup already)
  792. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_session.c:2814 sofia/internal/1004@phone.mydomain.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  793. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1004@phone.mydomain.com) State EXECUTE going to sleep
  794. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_HANGUP (Cur 2 Tot 10)
  795. 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/phone.mydomain.com/archive/2017/Jun/26/8e4e2598-8c2e-4327-95ec-26435f2de543.wav
  796. 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/internal/1000@192.168.0.2:5060
  797. 2017-06-26 13:05:43.530494 [DEBUG] switch_ivr_async.c:1380 Channel is hung up
  798. send 545 bytes to udp/[192.168.0.2]:5060 at 13:05:43.960137:
  799.    ------------------------------------------------------------------------
  800.    BYE sip:1000@192.168.0.2:5060 SIP/2.0
  801.    Via: SIP/2.0/UDP 69.196.155.55;rport;branch=z9hG4bK2amZgyaHXD7eK
  802.    Max-Forwards: 70
  803.    From: "1004" <sip:1004@phone.mydomain.com>;tag=DQD1jBt7pcj5a
  804.    To: <sip:1000@192.168.0.2:5060>;tag=6665e9207b28ede3i0
  805.    Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f
  806.    CSeq: 108912303 BYE
  807.    User-Agent: FreeSWITCH
  808.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  809.    Supported: timer, path, replaces
  810.    Reason: Q.850;cause=16;text="NORMAL_CLEARING"
  811.    Content-Length: 0
  812.    
  813.    ------------------------------------------------------------------------
  814. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1000@192.168.0.2:5060 Standard HANGUP, cause: NORMAL_CLEARING
  815. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1000@192.168.0.2:5060) State HANGUP going to sleep
  816. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1000@192.168.0.2:5060) State Change CS_HANGUP -> CS_REPORTING
  817. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_REPORTING (Cur 2 Tot 10)
  818. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_media_bug.c:1296 Removing BUG from sofia/internal/1004@phone.mydomain.com
  819. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/1004@phone.mydomain.com) Callstate Change ACTIVE -> HANGUP
  820. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1004@phone.mydomain.com) State HANGUP
  821. 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:438 Channel sofia/internal/1004@phone.mydomain.com hanging up, cause: NORMAL_CLEARING
  822. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@192.168.0.2:5060) State REPORTING
  823. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1000@192.168.0.2:5060 Standard REPORTING, cause: NORMAL_CLEARING
  824. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1000@192.168.0.2:5060) State REPORTING going to sleep
  825. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1000@192.168.0.2:5060) State Change CS_REPORTING -> CS_DESTROY
  826. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_session.c:1664 Session 10 (sofia/internal/1000@192.168.0.2:5060) Locked, Waiting on external entities
  827. 2017-06-26 13:05:43.530494 [NOTICE] switch_core_session.c:1682 Session 10 (sofia/internal/1000@192.168.0.2:5060) Ended
  828. 2017-06-26 13:05:43.530494 [NOTICE] switch_core_session.c:1686 Close Channel sofia/internal/1000@192.168.0.2:5060 [CS_DESTROY]
  829. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1004@phone.mydomain.com Standard HANGUP, cause: NORMAL_CLEARING
  830. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/1004@phone.mydomain.com) State HANGUP going to sleep
  831. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1000@192.168.0.2:5060) Running State Change CS_DESTROY (Cur 1 Tot 10)
  832. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@192.168.0.2:5060) State DESTROY
  833. 2017-06-26 13:05:43.530494 [DEBUG] mod_sofia.c:343 sofia/internal/1000@192.168.0.2:5060 SOFIA DESTROY
  834. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1000@192.168.0.2:5060 Standard DESTROY
  835. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1000@192.168.0.2:5060) State DESTROY going to sleep
  836. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:783 Hangup Command with no Session lua(app.lua hangup):
  837.  
  838. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1004@phone.mydomain.com) State Change CS_HANGUP -> CS_REPORTING
  839. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_REPORTING (Cur 1 Tot 10)
  840. 2017-06-26 13:05:43.530494 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1004@phone.mydomain.com) State REPORTING
  841. recv 319 bytes from udp/[192.168.0.2]:5060 at 13:05:43.978279:
  842.    ------------------------------------------------------------------------
  843.    SIP/2.0 200 OK
  844.    To: <sip:1000@192.168.0.2:5060>;tag=6665e9207b28ede3i0
  845.    From: "1004" <sip:1004@phone.mydomain.com>;tag=DQD1jBt7pcj5a
  846.    Call-ID: 81e9c9f2-d534-1235-b8b7-b6747e89ef0f
  847.    CSeq: 108912303 BYE
  848.    Via: SIP/2.0/UDP 69.196.155.55;branch=z9hG4bK2amZgyaHXD7eK
  849.    Server: Linksys/SPA3000-3.1.20(GW)
  850.    Content-Length: 0
  851.    
  852.    ------------------------------------------------------------------------
  853. 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1004@phone.mydomain.com Standard REPORTING, cause: NORMAL_CLEARING
  854. 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/1004@phone.mydomain.com) State REPORTING going to sleep
  855. 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1004@phone.mydomain.com) State Change CS_REPORTING -> CS_DESTROY
  856. 2017-06-26 13:05:43.590496 [DEBUG] switch_core_session.c:1664 Session 9 (sofia/internal/1004@phone.mydomain.com) Locked, Waiting on external entities
  857. 2017-06-26 13:05:43.590496 [NOTICE] switch_core_session.c:1682 Session 9 (sofia/internal/1004@phone.mydomain.com) Ended
  858. 2017-06-26 13:05:43.590496 [NOTICE] switch_core_session.c:1686 Close Channel sofia/internal/1004@phone.mydomain.com [CS_DESTROY]
  859. 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/1004@phone.mydomain.com) Running State Change CS_DESTROY (Cur 0 Tot 10)
  860. 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1004@phone.mydomain.com) State DESTROY
  861. 2017-06-26 13:05:43.590496 [DEBUG] mod_sofia.c:343 sofia/internal/1004@phone.mydomain.com SOFIA DESTROY
  862. 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1004@phone.mydomain.com Standard DESTROY
  863. 2017-06-26 13:05:43.590496 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/1004@phone.mydomain.com) State DESTROY going to sleep
  864. recv 726 bytes from udp/[192.168.0.2]:5060 at 13:05:44.537057:
  865.    ------------------------------------------------------------------------
  866.    REGISTER sip:phone.mydomain.com SIP/2.0
  867.    Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK-7b9d2aed
  868.    From: MK <sip:1000@phone.mydomain.com>;tag=4807dda592efea38o0
  869.    To: MK <sip:1000@phone.mydomain.com>
  870.    Call-ID: be665072-3a3ccd20@192.168.0.2
  871.    CSeq: 51312 REGISTER
  872.    Max-Forwards: 70
  873.    Authorization: Digest username="1000",realm="phone.mydomain.com",nonce="2a27e7fe-5d08-4bc0-8dd0-6698e138fd83",uri="sip:phone.mydomain.com",algorithm=MD5,response="aab2fc33a681cf0e974440f1b4e3944d",qop=auth,nc=00000004,cnonce="6c2657ab"
  874.    Contact: MK <sip:1000@192.168.0.2:5060>;expires=120
  875.    User-Agent: Linksys/SPA3000-3.1.20(GW)
  876.    Content-Length: 0
  877.    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
  878.    Supported: x-sipura, replaces
  879.    
  880.    ------------------------------------------------------------------------
  881. send 543 bytes to udp/[192.168.0.2]:5060 at 13:05:44.542406:
  882.    ------------------------------------------------------------------------
  883.    SIP/2.0 200 OK
  884.    Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK-7b9d2aed;rport=5060
  885.    From: MK <sip:1000@phone.mydomain.com>;tag=4807dda592efea38o0
  886.    To: MK <sip:1000@phone.mydomain.com>;tag=e06Sm6aBmN8Qp
  887.    Call-ID: be665072-3a3ccd20@192.168.0.2
  888.    CSeq: 51312 REGISTER
  889.    Contact: <sip:1000@192.168.0.2:5060>;expires=120
  890.    Date: Mon, 26 Jun 2017 17:05:44 GMT
  891.    User-Agent: FreeSWITCH
  892.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  893.    Supported: timer, path, replaces
  894.    Content-Length: 0
  895.    
  896.    ------------------------------------------------------------------------
  897. recv 756 bytes from udp/[192.168.0.2]:5061 at 13:05:44.566026:
  898.    ------------------------------------------------------------------------
  899.    REGISTER sip:phone.mydomain.com SIP/2.0
  900.    Via: SIP/2.0/UDP 192.168.0.2:5061;branch=z9hG4bK-115b52bf
  901.    From: Num. externe <sip:1001@phone.mydomain.com>;tag=3f3b3a3d25d67680o1
  902.    To: Num. externe <sip:1001@phone.mydomain.com>
  903.    Call-ID: 160ff728-ff2d65e2@192.168.0.2
  904.    CSeq: 13974 REGISTER
  905.    Max-Forwards: 70
  906.    Authorization: Digest username="1001",realm="phone.mydomain.com",nonce="f5dfbf98-6ff3-46da-a63c-607a273318df",uri="sip:phone.mydomain.com",algorithm=MD5,response="f458e14c5fc091d8c1479c2308287580",qop=auth,nc=00000004,cnonce="737de076"
  907.    Contact: Num. externe <sip:1001@192.168.0.2:5061>;expires=120
  908.    User-Agent: Linksys/SPA3000-3.1.20(GW)
  909.    Content-Length: 0
  910.    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
  911.    Supported: x-sipura, replaces
  912.    
  913.    ------------------------------------------------------------------------
  914. send 563 bytes to udp/[192.168.0.2]:5061 at 13:05:44.571045:
  915.    ------------------------------------------------------------------------
  916.    SIP/2.0 200 OK
  917.    Via: SIP/2.0/UDP 192.168.0.2:5061;branch=z9hG4bK-115b52bf;rport=5061
  918.    From: Num. externe <sip:1001@phone.mydomain.com>;tag=3f3b3a3d25d67680o1
  919.    To: Num. externe <sip:1001@phone.mydomain.com>;tag=F9Zjp1UeHyyaj
  920.    Call-ID: 160ff728-ff2d65e2@192.168.0.2
  921.    CSeq: 13974 REGISTER
  922.    Contact: <sip:1001@192.168.0.2:5061>;expires=120
  923.    Date: Mon, 26 Jun 2017 17:05:44 GMT
  924.    User-Agent: FreeSWITCH
  925.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  926.    Supported: timer, path, replaces
  927.    Content-Length: 0
  928.    
  929.    ------------------------------------------------------------------------
  930. recv 573 bytes from udp/[184.151.114.44]:9184 at 13:05:46.606154:
  931.    ------------------------------------------------------------------------
  932.    REGISTER sip:phone.mydomain.com SIP/2.0
  933.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---246d8f531f8e807a;rport
  934.    Max-Forwards: 70
  935.    Contact: <sip:1004@10.220.224.191:35342;rinstance=01ff109cbc20fd70>
  936.    To: "1004"<sip:1004@phone.mydomain.com>
  937.    From: "1004"<sip:1004@phone.mydomain.com>;tag=58cc8157
  938.    Call-ID: 142520_rel51ZThhMTEzOGY2N2NiOGRlMDkxZTg4YWE2YmVjOGVkNmU
  939.    CSeq: 1 REGISTER
  940.    Expires: 60
  941.    Allow: INVITE, ACK, CANCEL, BYE, REFER, INFO, NOTIFY, OPTIONS, UPDATE, PRACK, SUBSCRIBE, MESSAGE
  942.    User-Agent: Bria Android 3.9.4 build 97204
  943.    Content-Length: 0
  944.    
  945.    ------------------------------------------------------------------------
  946. 2017-06-26 13:05:46.170528 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'internal' for [1004@phone.mydomain.com] from ip 184.151.114.44
  947. send 658 bytes to udp/[184.151.114.44]:9184 at 13:05:46.606657:
  948.    ------------------------------------------------------------------------
  949.    SIP/2.0 401 Unauthorized
  950.    Via: SIP/2.0/UDP 10.220.224.191:35342;branch=z9hG4bK-524287-1---246d8f531f8e807a;rport=9184;received=184.151.114.44
  951.    From: "1004"<sip:1004@phone.mydomain.com>;tag=58cc8157
  952.    To: "1004" <sip:1004@phone.mydomain.com>;tag=gjSBrvcje7mXD
  953.    Call-ID: 142520_rel51ZThhMTEzOGY2N2NiOGRlMDkxZTg4YWE2YmVjOGVkNmU
  954.    CSeq: 1 REGISTER
  955.    User-Agent: FreeSWITCH
  956.    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  957.    Supported: timer, path, replaces
  958.    WWW-Authenticate: Digest realm="phone.mydomain.com", nonce="03717b5a-6562-47c5-94ad-26c6b8d06016", algorithm=MD5, qop="auth"
  959.    Content-Length: 0
  960.    
  961.    ------------------------------------------------------------------------
  962. freeswitch@phone.mydomain.com> /exit
  963.  
  964. mo@phone:~$
  965.