From AutoBabaTune, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. IVR call forwarding dont work for incomming calls from outside -> local extension -> outbound. Getting  ERR switch_core_session.c:511 Could not locate channel type.  Main Issue is, I can call forward calls from outside -> local extension -> local extension but not calls from outside back to other outside phone.
  2.  
  3. Here is my Dialplan:
  4. <!-- Call Forwarding -->
  5.  
  6.     <extension name="Check IVR-based CF" continue="true">
  7.       <condition field="destination_number" expression="^(\+?\d+)$">
  8.         <action application="set" data="dialed_number=$1" inline="true"/>
  9.         <action application="log" data="Domain-Name=${domain_name} Caller-ID-Number=${caller_id_number} Tartget-Number=${target_number} CF-Target=${cf_target}"/>
  10.         <action application="set" data="cf_target=${hash(select/${domain_name}-CF/$1" inline="true"/>
  11.       </condition>
  12.       <condition field="${cf_target}" expression="^\+?\d+$">
  13.        <action application="log" data="INFO Found CF info for ${dialed_number}, x-fering to ${cf_target}..."/>
  14.         <action application="log" data="Domain-Name=${domain_name} Caller-ID-Number=${caller_id_number} Tartget-Number=${target_number} CF-Target=${cf_target}"/>        
  15.         <action application="set" data="dialed_extension=${dialed_number}"/>
  16.         <action application="export" data="dialed_extension=${dialed_number}"/>
  17.         <action application="bind_meta_app" data="1 b s execute_extension::attented_xfer XML features"/>
  18.         <action application="set" data="transfer_ringback=$${hold_music}"/>
  19.         <action application="set" data="call_timeout=10"/>
  20.         <action application="set" data="hangup_after_bridge=true"/>
  21.         <action application="sleep" data="1500"/>
  22.  
  23. <!-- After this I tried to transfer, bridge, attanded transfer the call someway: -->
  24.  
  25. <!--        <action application="att_xfer" data="user/${dialed_extension}@${domain_name}"/>-->
  26.         <action application="playback" data="ivr/ivr-hold_connect_call.wav"/>
  27. <!--        <action application="bridge" data="{sip_cid_type=pid}sofia/gateway/Gateway-Name/MOBILEPHONE-CF-Target"/>-->
  28.         <action application="log" data="Domain-Name=${domain_name} Caller-ID-Number=${caller_id_number} Tartget-Number=${target_number} CF-Target=${cf_target}"/>
  29.         <action application="sleep" data="1000"/>
  30. <!--        <action application="transfer" data="sofia/gateway/Gateway-Name/${cf_target} XML ${user_domain}"/>-->
  31.         <action application="log" data="Dialed-Number=${dialed_number} Domain-Name=${domain_name}"/>
  32.         <action application="set_user" data="${dialed_number}@${domain_name}"/>
  33.         <action application="bridge" data="${cf_target}"/>
  34. <!--        <action application="att_xfer" data="${dialed_number}@${domain_name}"/>-->
  35.         <action application="answer"/>
  36.         <action application="sleep" data="1500"/>
  37.         <action application="transfer" data="${cf_target}"/>
  38.       </condition>
  39.     </extension>
  40.  
  41.  
  42. Here my Logs:
  43.  
  44.     ------------------------------------------------------------------------
  45. recv 1059 bytes from udp/[IP.OF.TRUNKNET.1]:5060 at 17:27:02.113079:
  46.    ------------------------------------------------------------------------
  47.    INVITE sip:LOKALPHONE-NUMBER@IP.OF.TRUNKNET.4:5060;transport=udp;gw=Gateway-Name SIP/2.0
  48.    Via: SIP/2.0/UDP IP.OF.TRUNKNET.1:5060;branch=z9hG4bK4jh3io3078ehrvr91fl0.1
  49.    Call-ID: 010jplz0zl1rra23vx1rhp0rjxv1lj11@ATS.esn001vas001.voice.huawei.versatel.mpls.2
  50.    From: <sip:MOBILEPHONE1-Initiator@Provider-Name;user=phone>;tag=3iaij80j-CC-2
  51.    To: <sip:LOKALPHONE-NUMBER@10.200.15.2;transport=udp;user=phone>
  52.    CSeq: 1 INVITE
  53.    Alert-Info: <http://www.huawei.com/ring/>;info=pattern1
  54.   Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,NOTIFY,MESSAGE,REFER,UPDATE
  55.    Contact: <sip:MOBILEPHONE1-Initiator@IP.OF.TRUNKNET.1:5060;user=phone;transport=udp>
  56.    Max-Forwards: 52
  57.    Supported: 100rel,timer
  58.    Session-Expires: 1800
  59.    Min-SE: 90
  60.    P-Asserted-Identity: <sip:+49MOBILEPHONE1-Initiator@Provider-Name;user=phone>
  61.    P-Called-Party-ID: <tel:LOKALPHONE-NUMBER>
  62.    Content-Length: 220
  63.    Content-Type: application/sdp
  64.    
  65.    v=0
  66.    o=- 164369274 81620918 IN IP4 IP.OF.TRUNKNET.1
  67.    s=-
  68.    c=IN IP4 IP.OF.TRUNKNET.1
  69.    t=0 0
  70.    m=audio 31054 RTP/AVP 8 0 116
  71.    a=rtpmap:8 PCMA/8000
  72.    a=rtpmap:0 PCMU/8000
  73.    a=rtpmap:116 telephone-event/8000
  74.    a=ptime:20
  75.    a=sendrecv
  76.    ------------------------------------------------------------------------
  77. send 408 bytes to udp/[IP.OF.TRUNKNET.1]:5060 at 17:27:02.113431:
  78.    ------------------------------------------------------------------------
  79.    SIP/2.0 100 Trying
  80.    Via: SIP/2.0/UDP IP.OF.TRUNKNET.1:5060;branch=z9hG4bK4jh3io3078ehrvr91fl0.1
  81.    From: <sip:MOBILEPHONE1-Initiator@Provider-Name;user=phone>;tag=3iaij80j-CC-2
  82.    To: <sip:LOKALPHONE-NUMBER@10.200.15.2;transport=udp;user=phone>
  83.    Call-ID: 010jplz0zl1rra23vx1rhp0rjxv1lj11@ATS.esn001vas001.voice.huawei.versatel.mpls.2
  84.    CSeq: 1 INVITE
  85.    User-Agent: FreeSWITCH-mod_sofia/1.6.13-21-e755b43~64bit
  86.    Content-Length: 0
  87.    
  88.    ------------------------------------------------------------------------
  89. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [NOTICE] switch_channel.c:1104 New Channel sofia/external/MOBILEPHONE1-Initiator@Provider-Name [5f0a8960-bf15-4b20-bbae-49a49150dcd9]
  90. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:584 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Running State Change CS_NEW (Cur 1 Tot 5)
  91. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] sofia.c:9746 sofia/external/MOBILEPHONE1-Initiator@Provider-Name receiving invite from IP.OF.TRUNKNET.1:5060 version: 1.6.13 -21-e755b43 64bit
  92. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] sofia.c:7014 Channel sofia/external/MOBILEPHONE1-Initiator@Provider-Name entering state [received][100]
  93. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] sofia.c:7024 Remote SDP:
  94. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 v=0
  95. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 o=- 164369274 81620918 IN IP4 IP.OF.TRUNKNET.1
  96. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 s=-
  97. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 c=IN IP4 IP.OF.TRUNKNET.1
  98. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 t=0 0
  99. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 m=audio 31054 RTP/AVP 8 0 116
  100. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=rtpmap:8 PCMA/8000
  101. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=rtpmap:0 PCMU/8000
  102. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=rtpmap:116 telephone-event/8000
  103. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=ptime:20
  104. 5f0a8960-bf15-4b20-bbae-49a49150dcd9
  105. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] sofia.c:7392 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State Change CS_NEW -> CS_INIT
  106. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:603 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State NEW
  107. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:584 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Running State Change CS_INIT (Cur 1 Tot 5)
  108. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:627 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State INIT
  109. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_sofia.c:90 sofia/external/MOBILEPHONE1-Initiator@Provider-Name SOFIA INIT
  110. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:40 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Standard INIT
  111. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:48 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State Change CS_INIT -> CS_ROUTING
  112. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:627 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State INIT going to sleep
  113. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:584 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Running State Change CS_ROUTING (Cur 1 Tot 5)
  114. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_channel.c:2249 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Callstate Change DOWN -> RINGING
  115. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:643 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State ROUTING
  116. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_sofia.c:143 sofia/external/MOBILEPHONE1-Initiator@Provider-Name SOFIA ROUTING
  117. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:236 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Standard ROUTING
  118. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [INFO] mod_dialplan_xml.c:637 Processing MOBILEPHONE1-Initiator <+49MOBILEPHONE1-Initiator>->LOKALPHONE-NUMBER in context public
  119. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->unloop] continue=false
  120. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  121. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  122. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->outside_call] continue=true
  123. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Absolute Condition [outside_call]
  124. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(outside_call=true)
  125. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  126. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->call_debug] continue=true
  127. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never
  128. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->public_extensions] continue=false
  129. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [public_extensions] destination_number(LOKALPHONE-NUMBER) =~ /^(10[01][0-9])$/ break=on-false
  130. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->blacklisted] continue=false
  131. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [blacklisted] ${blacklist(check blocked ${caller_id_number})}(false) =~ /^true$/ break=on-false
  132. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->Ansage_Sprechzeiten] continue=true
  133. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Date/Time Match (PASS) [Ansage_Sprechzeiten] break=never
  134. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(office_status=open) INLINE
  135. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set(office_status=open)
  136. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1527 SET sofia/external/MOBILEPHONE1-Initiator@Provider-Name [office_status]=[open]
  137. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->tod route, x1001] continue=false
  138. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [tod route, x1001] destination_number(LOKALPHONE-NUMBER) =~ /^(LOKALPHONE-70)$/ break=on-false
  139. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->office is open] continue=false
  140. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [office is open] destination_number(LOKALPHONE-NUMBER) =~ /^(1001_open)$/ break=on-false
  141. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->office is closed] continue=false
  142. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [office is closed] destination_number(LOKALPHONE-NUMBER) =~ /^(1001_closed)$/ break=on-false
  143. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->versatel_trunk] continue=false
  144. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [versatel_trunk] destination_number(LOKALPHONE-NUMBER) =~ /^(LOKALPHONE-710)$/ break=on-false
  145. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->versatel_trunk] continue=false
  146. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [versatel_trunk] destination_number(LOKALPHONE-NUMBER) =~ /^(LOKALPHONE-711)$/ break=on-false
  147. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->versatel_trunk] continue=false
  148. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [versatel_trunk] destination_number(LOKALPHONE-NUMBER) =~ /^(LOKALPHONE-712)$/ break=on-false
  149. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [public->versatel_trunk] continue=false
  150. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (PASS) [versatel_trunk] destination_number(LOKALPHONE-NUMBER) =~ /^(LOKALPHONE-NUMBER)$/ break=on-false
  151. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action transfer(720 XML default)
  152. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:286 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State Change CS_ROUTING -> CS_EXECUTE
  153. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:643 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State ROUTING going to sleep
  154. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:584 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Running State Change CS_EXECUTE (Cur 1 Tot 5)
  155. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:650 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State EXECUTE
  156. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_sofia.c:198 sofia/external/MOBILEPHONE1-Initiator@Provider-Name SOFIA EXECUTE
  157. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:328 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Standard EXECUTE
  158. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set(outside_call=true)
  159. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1527 SET sofia/external/MOBILEPHONE1-Initiator@Provider-Name [outside_call]=[true]
  160. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name export(RFC2822_DATE=Fri, 19 May 2017 17:27:02 +0200)
  161. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RFC2822_DATE]=[Fri, 19 May 2017 17:27:02 +0200]
  162. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name transfer(720 XML default)
  163. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_ivr.c:2160 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State Change CS_EXECUTE -> CS_ROUTING
  164. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [NOTICE] switch_ivr.c:2167 Transfer sofia/external/MOBILEPHONE1-Initiator@Provider-Name to XML[720@default]
  165. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:650 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State EXECUTE going to sleep
  166. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:584 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Running State Change CS_ROUTING (Cur 1 Tot 5)
  167. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:643 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State ROUTING
  168. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_sofia.c:143 sofia/external/MOBILEPHONE1-Initiator@Provider-Name SOFIA ROUTING
  169. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:236 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Standard ROUTING
  170. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [INFO] mod_dialplan_xml.c:637 Processing MOBILEPHONE1-Initiator <+49MOBILEPHONE1-Initiator>->720 in context default
  171. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->Check IVR-based CF] continue=true
  172. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (PASS) [Check IVR-based CF] destination_number(720) =~ /^(\+?\d+)$/ break=on-false
  173. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(dialed_number=720) INLINE
  174. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set(dialed_number=720)
  175. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1527 SET sofia/external/MOBILEPHONE1-Initiator@Provider-Name [dialed_number]=[720]
  176. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action log(Domain-Name=${domain_name} Caller-ID-Number=${caller_id_number} Tartget-Number=${target_number} CF-Target=${cf_target})
  177. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(cf_target=${hash(select/${domain_name}-CF/720) INLINE
  178. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set(cf_target=MOBILEPHONE-CF-Target)
  179. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1527 SET sofia/external/MOBILEPHONE1-Initiator@Provider-Name [cf_target]=[MOBILEPHONE-CF-Target]
  180. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (PASS) [Check IVR-based CF] ${cf_target}(MOBILEPHONE-CF-Target) =~ /^\+?\d+$/ break=on-false
  181. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action log(INFO Found CF info for ${dialed_number}, x-fering to ${cf_target}...)
  182. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action log(Domain-Name=${domain_name} Caller-ID-Number=${caller_id_number} Tartget-Number=${target_number} CF-Target=${cf_target})
  183. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(dialed_extension=${dialed_number})
  184. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action export(dialed_extension=${dialed_number})
  185. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action bind_meta_app(1 b s execute_extension::attented_xfer XML features)
  186. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(transfer_ringback=local_stream://WAV)
  187. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(call_timeout=10)
  188. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(hangup_after_bridge=true)
  189. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action sleep(1500)
  190. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action playback(ivr/ivr-hold_connect_call.wav)
  191. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action log(Domain-Name=${domain_name} Caller-ID-Number=${caller_id_number} Tartget-Number=${target_number} CF-Target=${cf_target})
  192. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action sleep(1000)
  193. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action log(Dialed-Number=${dialed_number} Domain-Name=${domain_name})
  194. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set_user(${dialed_number}@${domain_name})
  195. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action bridge(${cf_target})
  196. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action answer()
  197. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action sleep(1500)
  198. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action transfer(${cf_target})
  199. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->unloop] continue=false
  200. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
  201. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
  202. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->Ansage_Sprechzeiten] continue=true
  203. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Date/Time Match (PASS) [Ansage_Sprechzeiten] break=never
  204. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(office_status=open) INLINE
  205. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set(office_status=open)
  206. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1527 SET sofia/external/MOBILEPHONE1-Initiator@Provider-Name [office_status]=[open]
  207. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->tod_example] continue=true
  208. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Date/Time Match (PASS) [tod_example] break=on-false
  209. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(open=true)
  210. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->holiday_example] continue=true
  211. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Date/TimeMatch (FAIL) [holiday_example] break=on-false
  212. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->global-intercept] continue=false
  213. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [global-intercept] destination_number(720) =~ /^886$/ break=on-false
  214. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->group-intercept] continue=false
  215. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [group-intercept] destination_number(720) =~ /^\*8$/ break=on-false
  216. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->intercept-ext] continue=false
  217. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [intercept-ext] destination_number(720) =~ /^\*\*(\d+)$/ break=on-false
  218. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->redial] continue=false
  219. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [redial] destination_number(720) =~ /^(redial|870)$/ break=on-false
  220. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->global] continue=true
  221. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [global] ${call_debug}(false) =~ /^true$/ break=never
  222. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [global] ${default_password}(Limetec17) =~ /^1234$/ break=never
  223. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [global] ${rtp_has_crypto}() =~ /^(AEAD_AES_256_GCM_8|AEAD_AES_128_GCM_8|AES_CM_256_HMAC_SHA1_80|AES_CM_192_HMAC_SHA1_80|AES_CM_128_HMAC_SHA1_80|AES_CM_256_HMAC_SHA1_32|AES_CM_192_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_32|AES_CM_128_NULL_AUTH)$/ break=never
  224. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (PASS) [global] ${endpoint_disposition}(DELAYED NEGOTIATION) =~ /^(DELAYED NEGOTIATION)/ break=on-false
  225. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [global] ${switch_r_sdp}(v=0
  226. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 o=- 164369274 81620918 IN IP4 IP.OF.TRUNKNET.1
  227. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 s=-
  228. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 c=IN IP4 IP.OF.TRUNKNET.1
  229. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 t=0 0
  230. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 m=audio 31054 RTP/AVP 8 0 116
  231. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=rtpmap:8 PCMA/8000
  232. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=rtpmap:0 PCMU/8000
  233. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=rtpmap:116 telephone-event/8000
  234. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=ptime:20
  235. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 ) =~ /(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)/ break=never
  236. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Absolute Condition [global]
  237. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid})
  238. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
  239. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action hash(insert/${domain_name}-last_dial/global/${uuid})
  240. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
  241. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->snom-demo-2] continue=false
  242. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [snom-demo-2] destination_number(720) =~ /^9001$/ break=on-false
  243. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->snom-demo-1] continue=false
  244. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [snom-demo-1] destination_number(720) =~ /^9000$/ break=on-false
  245. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->eavesdrop] continue=false
  246. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [eavesdrop] destination_number(720) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false
  247. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->eavesdrop] continue=false
  248. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [eavesdrop] destination_number(720) =~ /^779$/ break=on-false
  249. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->call_return] continue=false
  250. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [call_return] destination_number(720) =~ /^\*69$|^869$|^lcr$/ break=on-false
  251. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->del-group] continue=false
  252. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [del-group] destination_number(720) =~ /^80(\d{2})$/ break=on-false
  253. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->add-group] continue=false
  254. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [add-group] destination_number(720) =~ /^81(\d{2})$/ break=on-false
  255. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->call-group-simo] continue=false
  256. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [call-group-simo] destination_number(720) =~ /^82(\d{2})$/ break=on-false
  257. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->call-group-order] continue=false
  258. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [call-group-order] destination_number(720) =~ /^83(\d{2})$/ break=on-false
  259. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->extension-intercom] continue=false
  260. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (FAIL) [extension-intercom] destination_number(720) =~ /^8(10[01][0-9])$/ break=on-false
  261. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name parsing [default->Local_Extension] continue=false
  262. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Regex (PASS) [Local_Extension] destination_number(720) =~ /^(10[01][0-9]|70|710|711|712|720|721|722|723|724|725|726|727|730|731|732|733|734|735|736|737|738|739|740|741|742|746|747|748|749|750|775)$/ break=on-false
  263. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action export(dialed_extension=720)
  264. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action bind_meta_app(1 b s execute_extension::dx XML features)
  265. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action bind_meta_app(2 b s record_session::/var/lib/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav)
  266. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action bind_meta_app(3 b s execute_extension::cf XML features)
  267. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action bind_meta_app(4 b s execute_extension::att_xfer XML features)
  268. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(ringback=${us-ring})
  269. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(transfer_ringback=local_stream://WAV)
  270. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(call_timeout=30)
  271. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(hangup_after_bridge=true)
  272. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(continue_on_fail=true)
  273. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number})
  274. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid})
  275. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)})
  276. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action hash(insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid})
  277. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action hash(insert/${domain_name}-last_dial_ext/global/${uuid})
  278. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action hash(insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid})
  279. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action set(effective_caller_id_number=LOKALPHONE-70)
  280. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action bridge(user/${dialed_extension}@${domain_name})
  281. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action answer()
  282. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action sleep(1000)
  283. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 Dialplan: sofia/external/MOBILEPHONE1-Initiator@Provider-Name Action bridge(loopback/app=voicemail:default ${domain_name} ${dialed_extension})
  284. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:286 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State Change CS_ROUTING -> CS_EXECUTE
  285. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:643 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State ROUTING going to sleep
  286. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:584 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Running State Change CS_EXECUTE (Cur 1 Tot 5)
  287. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:650 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State EXECUTE
  288. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_sofia.c:198 sofia/external/MOBILEPHONE1-Initiator@Provider-Name SOFIA EXECUTE
  289. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_core_state_machine.c:328 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Standard EXECUTE
  290. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name log(Domain-Name=DEFAULT-DOMAIN/IP-OF-FreeSWITCH Caller-ID-Number=+49MOBILEPHONE1-Initiator Tartget-Number= CF-Target=MOBILEPHONE-CF-Target)
  291. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1721 Caller-ID-Number=+49MOBILEPHONE1-Initiator Tartget-Number= CF-Target=MOBILEPHONE-CF-Target
  292. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name log(INFO Found CF info for 720, x-fering to MOBILEPHONE-CF-Target...)
  293. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [INFO] mod_dptools.c:1721 Found CF info for 720, x-fering to MOBILEPHONE-CF-Target...
  294. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name log(Domain-Name=DEFAULT-DOMAIN/IP-OF-FreeSWITCH Caller-ID-Number=+49MOBILEPHONE1-Initiator Tartget-Number= CF-Target=MOBILEPHONE-CF-Target)
  295. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1721 Caller-ID-Number=+49MOBILEPHONE1-Initiator Tartget-Number= CF-Target=MOBILEPHONE-CF-Target
  296. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set(dialed_extension=720)
  297. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1527 SET sofia/external/MOBILEPHONE1-Initiator@Provider-Name [dialed_extension]=[720]
  298. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name export(dialed_extension=720)
  299. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[720]
  300. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name bind_meta_app(1 b s execute_extension::attented_xfer XML features)
  301. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [INFO] switch_ivr_async.c:4166 Bound B-Leg: *1 execute_extension::attented_xfer XML features
  302. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set(transfer_ringback=local_stream://WAV)
  303. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1527 SET sofia/external/MOBILEPHONE1-Initiator@Provider-Name [transfer_ringback]=[local_stream://WAV]
  304. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set(call_timeout=10)
  305. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1527 SET sofia/external/MOBILEPHONE1-Initiator@Provider-Name [call_timeout]=[10]
  306. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set(hangup_after_bridge=true)
  307. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:02.100430 [DEBUG] mod_dptools.c:1527 SET sofia/external/MOBILEPHONE1-Initiator@Provider-Name [hangup_after_bridge]=[true]
  308. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name sleep(1500)
  309. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_session.c:2629 Application playback Requires media! pre_answering channel sofia/external/MOBILEPHONE1-Initiator@Provider-Name
  310. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [INFO] switch_core_session.c:2631 Sending early media
  311. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4344 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  312. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4344 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  313. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4344 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  314. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4399 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  315. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4344 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  316. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4344 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  317. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4399 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  318. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4344 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  319. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4260 Set telephone-event payload to 116@8000
  320. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:3043 Set Codec sofia/external/MOBILEPHONE1-Initiator@Provider-Name PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  321. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_codec.c:111 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Original read codec set to PCMA:8
  322. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4603 Set telephone-event payload to 116@8000
  323. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:4662 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Set 2833 dtmf send payload to 116 recv payload to 116
  324. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:6640 AUDIO RTP [sofia/external/MOBILEPHONE1-Initiator@Provider-Name] DEFAULT-DOMAIN/IP-OF-FreeSWITCH port 32924 -> IP.OF.TRUNKNET.1 port 31054 codec: 8 ms: 20
  325. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_rtp.c:3878 Starting timer [soft] 160 bytes per 20ms
  326. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:6946 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Set 2833 dtmf send payload to 116
  327. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:6953 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Set 2833 dtmf receive payload to 116
  328. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:6976 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Set rtp dtmf delay to 40
  329. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [NOTICE] sofia_media.c:92 Pre-Answer sofia/external/MOBILEPHONE1-Initiator@Provider-Name!
  330. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_channel.c:3473 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Callstate Change RINGING -> EARLY
  331. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_core_media.c:6623 Audio params are unchanged for sofia/external/MOBILEPHONE1-Initiator@Provider-Name.
  332. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] mod_sofia.c:2311 Ring SDP:
  333. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 v=0
  334. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 o=FreeSWITCH 1495174699 1495174700 IN IP4 IP.OF.TRUNKNET.4
  335. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 s=FreeSWITCH
  336. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 c=IN IP4 IP.OF.TRUNKNET.4
  337. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 t=0 0
  338. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 m=audio 32924 RTP/AVP 8 116
  339. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=rtpmap:8 PCMA/8000
  340. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=rtpmap:116 telephone-event/8000
  341. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=fmtp:116 0-16
  342. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=ptime:20
  343. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 a=sendrecv
  344. 5f0a8960-bf15-4b20-bbae-49a49150dcd9
  345. send 1054 bytes to udp/[IP.OF.TRUNKNET.1]:5060 at 17:27:03.624065:
  346.    ------------------------------------------------------------------------
  347.    SIP/2.0 183 Session Progress
  348.    Via: SIP/2.0/UDP IP.OF.TRUNKNET.1:5060;branch=z9hG4bK4jh3io3078ehrvr91fl0.1
  349.    From: <sip:MOBILEPHONE1-Initiator@Provider-Name;user=phone>;tag=3iaij80j-CC-2
  350.    To: <sip:LOKALPHONE-NUMBER@10.200.15.2;transport=udp;user=phone>;tag=pH4DFp0vH76cF
  351.    Call-ID: 010jplz0zl1rra23vx1rhp0rjxv1lj11@ATS.esn001vas001.voice.huawei.versatel.mpls.2
  352.    CSeq: 1 INVITE
  353.    Contact: <sip:LOKALPHONE-NUMBER@IP.OF.TRUNKNET.4:5060;transport=udp>
  354.    User-Agent: FreeSWITCH-mod_sofia/1.6.13-21-e755b43~64bit
  355.    Accept: application/sdp
  356.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  357.    Supported: timer, path, replaces
  358.    Allow-Events: talk, hold, conference, refer
  359.    Content-Type: application/sdp
  360.    Content-Disposition: session
  361.    Content-Length: 222
  362.    P-Asserted-Identity: "LOKALPHONE-NUMBER" <sip:LOKALPHONE-NUMBER@10.200.15.2>
  363.    
  364.    v=0
  365.    o=FreeSWITCH 1495174699 1495174700 IN IP4 IP.OF.TRUNKNET.4
  366.    s=FreeSWITCH
  367.    c=IN IP4 IP.OF.TRUNKNET.4
  368.    t=0 0
  369.    m=audio 32924 RTP/AVP 8 116
  370.    a=rtpmap:8 PCMA/8000
  371.    a=rtpmap:116 telephone-event/8000
  372.    a=fmtp:116 0-16
  373.    a=ptime:20
  374.    ------------------------------------------------------------------------
  375. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] sofia.c:7014 Channel sofia/external/MOBILEPHONE1-Initiator@Provider-Name entering state [early][183]
  376. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name playback(ivr/ivr-hold_connect_call.wav)
  377. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.620430 [DEBUG] switch_ivr_play_say.c:1468 Codec Activated L16@8000hz 1 channels 20ms
  378. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:03.740429 [DEBUG] switch_rtp.c:6970 Correct audio ip/port confirmed.
  379. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:05.320429 [DEBUG] switch_ivr_play_say.c:1911 done playing file /usr/share/freeswitch/sounds/en/us/callie/ivr/ivr-hold_connect_call.wav
  380. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name log(Domain-Name=DEFAULT-DOMAIN/IP-OF-FreeSWITCH Caller-ID-Number=+49MOBILEPHONE1-Initiator Tartget-Number= CF-Target=MOBILEPHONE-CF-Target)
  381. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:05.320429 [DEBUG] mod_dptools.c:1721 Caller-ID-Number=+49MOBILEPHONE1-Initiator Tartget-Number= CF-Target=MOBILEPHONE-CF-Target
  382. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name sleep(1000)
  383. send 861 bytes to udp/[IP.OF.TRUNKNET.1]:5060 at 17:27:06.098545:
  384.    ------------------------------------------------------------------------
  385.    REGISTER sip:Gateway-Name;transport=udp SIP/2.0
  386.    Via: SIP/2.0/UDP IP.OF.TRUNKNET.4;rport;branch=z9hG4bKpZy280avttU0D
  387.    Max-Forwards: 70
  388.    From: <sip:LOKALPHONE-70@Gateway-Name>;tag=D00eZ28vBQy4p
  389.    To: <sip:LOKALPHONE-70@Gateway-Name>
  390.    Call-ID: bc2ccd62-9792-4b05-ac5e-967e77557c2b
  391.    CSeq: 107267653 REGISTER
  392.    Contact: <sip:LOKALPHONE-70@IP.OF.TRUNKNET.4:5060;transport=udp;gw=Gateway-Name>
  393.    Expires: 3600
  394.    User-Agent: FreeSWITCH-mod_sofia/1.6.13-21-e755b43~64bit
  395.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  396.    Supported: timer, path, replaces
  397.    Authorization: Digest username="LOKALPHONE-70", realm="Gateway-Name", nonce="zaY4jc18jGVH39/jChsUyg==", cnonce="AO7W+LdKEjWW4VJUAPn03Q", algorithm=MD5, uri="sip:Gateway-Name;transport=udp", response="d94b9c89f48f679221957d54afe2720f", qop=auth, nc=00000002
  398.    Content-Length: 0
  399.    
  400.    ------------------------------------------------------------------------
  401. recv 411 bytes from udp/[IP.OF.TRUNKNET.1]:5060 at 17:27:06.110291:
  402.    ------------------------------------------------------------------------
  403.    SIP/2.0 200 OK
  404.    Via: SIP/2.0/UDP IP.OF.TRUNKNET.4;received=IP.OF.TRUNKNET.4;branch=z9hG4bKpZy280avttU0D;rport=5060
  405.    From: <sip:LOKALPHONE-70@Gateway-Name>;tag=D00eZ28vBQy4p
  406.    To: <sip:LOKALPHONE-70@Gateway-Name>;tag=aprq2nl91h5d2bc26-c2i61go04jhb4
  407.    Call-ID: bc2ccd62-9792-4b05-ac5e-967e77557c2b
  408.    CSeq: 107267653 REGISTER
  409.    Contact: <sip:LOKALPHONE-70@IP.OF.TRUNKNET.4:5060;transport=udp;gw=Gateway-Name>;expires=300
  410.    
  411.    ------------------------------------------------------------------------
  412. 2017-05-19 17:27:06.100431 [DEBUG] sofia_reg.c:2435 Changing expire time to 300 by request of proxy sip:Gateway-Name
  413. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name log(Dialed-Number=720 Domain-Name=DEFAULT-DOMAIN/IP-OF-FreeSWITCH)
  414. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] mod_dptools.c:1721 Domain-Name=DEFAULT-DOMAIN/IP-OF-FreeSWITCH
  415. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name set_user(720@DEFAULT-DOMAIN/IP-OF-FreeSWITCH)
  416. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 EXECUTE sofia/external/MOBILEPHONE1-Initiator@Provider-Name bridge(MOBILEPHONE-CF-Target)
  417. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_channel.c:1250 sofia/external/MOBILEPHONE1-Initiator@Provider-Name EXPORTING[export_vars] [RFC2822_DATE]=[Fri, 19 May 2017 17:27:02 +0200] to event
  418. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_channel.c:1250 sofia/external/MOBILEPHONE1-Initiator@Provider-Name EXPORTING[export_vars] [dialed_extension]=[720] to event
  419. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_ivr_originate.c:2138 Parsing global variables
  420. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [ERR] switch_core_session.c:511 Could not locate channel type MOBILEPHONE-CF-Target
  421. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [NOTICE] switch_ivr_originate.c:2841 Cannot create outgoing channel of type [MOBILEPHONE-CF-Target] cause: [CHAN_NOT_IMPLEMENTED]
  422. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_ivr_originate.c:3829 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED]
  423. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [INFO] mod_dptools.c:3409 Originate Failed.  Cause: CHAN_NOT_IMPLEMENTED
  424. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [NOTICE] switch_channel.c:4822 Hangup sofia/external/MOBILEPHONE1-Initiator@Provider-Name [CS_EXECUTE] [CHAN_NOT_IMPLEMENTED]
  425. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_session.c:2797 sofia/external/MOBILEPHONE1-Initiator@Provider-Name skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  426. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:650 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State EXECUTE going to sleep
  427. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:584 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Running State Change CS_HANGUP (Cur 1 Tot 5)
  428. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:850 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Callstate Change EARLY -> HANGUP
  429. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:852 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State HANGUP
  430. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] mod_sofia.c:438 Channel sofia/external/MOBILEPHONE1-Initiator@Provider-Name hanging up, cause: CHAN_NOT_IMPLEMENTED
  431. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
  432. send 756 bytes to udp/[IP.OF.TRUNKNET.1]:5060 at 17:27:06.343857:
  433.    ------------------------------------------------------------------------
  434.    SIP/2.0 480 Temporarily Unavailable
  435.    Via: SIP/2.0/UDP IP.OF.TRUNKNET.1:5060;branch=z9hG4bK4jh3io3078ehrvr91fl0.1
  436.    Max-Forwards: 51
  437.    From: <sip:MOBILEPHONE1-Initiator@Provider-Name;user=phone>;tag=3iaij80j-CC-2
  438.    To: <sip:LOKALPHONE-NUMBER@10.200.15.2;transport=udp;user=phone>;tag=pH4DFp0vH76cF
  439.    Call-ID: 010jplz0zl1rra23vx1rhp0rjxv1lj11@ATS.esn001vas001.voice.huawei.versatel.mpls.2
  440.    CSeq: 1 INVITE
  441.    User-Agent: FreeSWITCH-mod_sofia/1.6.13-21-e755b43~64bit
  442.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  443.    Supported: timer, path, replaces
  444.    Allow-Events: talk, hold, conference, refer
  445.    Reason: Q.850;cause=66;text="CHAN_NOT_IMPLEMENTED"
  446.    Content-Length: 0
  447.    P-Asserted-Identity: "LOKALPHONE-NUMBER" <sip:LOKALPHONE-NUMBER@10.200.15.2>
  448.    
  449.    ------------------------------------------------------------------------
  450. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:60 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Standard HANGUP, cause: CHAN_NOT_IMPLEMENTED
  451. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:852 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State HANGUP going to sleep
  452. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:619 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State Change CS_HANGUP -> CS_REPORTING
  453. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:584 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Running State Change CS_REPORTING (Cur 1 Tot 5)
  454. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:938 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State REPORTING
  455. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:174 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Standard REPORTING, cause: CHAN_NOT_IMPLEMENTED
  456. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:938 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State REPORTING going to sleep
  457. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:610 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State Change CS_REPORTING -> CS_DESTROY
  458. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_session.c:1647 Session 5 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Locked, Waiting on external entities
  459. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [NOTICE] switch_core_session.c:1665 Session 5 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Ended
  460. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [NOTICE] switch_core_session.c:1669 Close Channel sofia/external/MOBILEPHONE1-Initiator@Provider-Name [CS_DESTROY]
  461. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:741 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) Running State Change CS_DESTROY (Cur 0 Tot 5)
  462. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:751 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State DESTROY
  463. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] mod_sofia.c:343 sofia/external/MOBILEPHONE1-Initiator@Provider-Name SOFIA DESTROY
  464. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:181 sofia/external/MOBILEPHONE1-Initiator@Provider-Name Standard DESTROY
  465. 5f0a8960-bf15-4b20-bbae-49a49150dcd9 2017-05-19 17:27:06.340428 [DEBUG] switch_core_state_machine.c:751 (sofia/external/MOBILEPHONE1-Initiator@Provider-Name) State DESTROY going to sleep
  466. recv 445 bytes from udp/[IP.OF.TRUNKNET.1]:5060 at 17:27:06.355341:
  467.    ------------------------------------------------------------------------
  468.    ACK sip:LOKALPHONE-NUMBER@IP.OF.TRUNKNET.4:5060;transport=udp;gw=Gateway-Name SIP/2.0
  469.    Via: SIP/2.0/UDP IP.OF.TRUNKNET.1:5060;branch=z9hG4bK4jh3io3078ehrvr91fl0.1
  470.    CSeq: 1 ACK
  471.    Call-ID: 010jplz0zl1rra23vx1rhp0rjxv1lj11@ATS.esn001vas001.voice.huawei.versatel.mpls.2
  472.    From: <sip:MOBILEPHONE1-Initiator@Provider-Name;user=phone>;tag=3iaij80j-CC-2
  473.    To: <sip:LOKALPHONE-NUMBER@10.200.15.2;transport=udp;user=phone>;tag=pH4DFp0vH76cF
  474.    Max-Forwards: 52
  475.    Content-Length: 0
  476.    
  477.    ------------------------------------------------------------------------
  478. send 520 bytes to udp/[IP.OF.TRUNKNET.1]:5060 at 17:27:10.363270:
  479.    ------------------------------------------------------------------------
  480.    OPTIONS sip:Gateway-Name;transport=udp SIP/2.0
  481.    Via: SIP/2.0/UDP IP.OF.TRUNKNET.4;rport;branch=z9hG4bKQ8QUavUZQ3HKS
  482.    Max-Forwards: 70
  483.    From: <sip:Gateway-Name>;tag=QtX6gHH0egXZa
  484.    To: <sip:Gateway-Name>
  485.    Call-ID: 779b0739-b74a-1235-e196-525400f9f4dd
  486.    CSeq: 107267670 OPTIONS
  487.    User-Agent: FreeSWITCH-mod_sofia/1.6.13-21-e755b43~64bit
  488.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  489.    Supported: timer, path, replaces
  490.    Allow-Events: talk, hold, conference, refer
  491.    Content-Length: 0
  492.    
  493.    ------------------------------------------------------------------------
  494. recv 341 bytes from udp/[IP.OF.TRUNKNET.1]:5060 at 17:27:10.421261:
  495.    ------------------------------------------------------------------------
  496.    SIP/2.0 200 OK
  497.    Via: SIP/2.0/UDP IP.OF.TRUNKNET.4;received=IP.OF.TRUNKNET.4;branch=z9hG4bKQ8QUavUZQ3HKS;rport=5060
  498.    From: <sip:Gateway-Name>;tag=QtX6gHH0egXZa
  499.    To: <sip:Gateway-Name>;tag=hfh2eda9
  500.    Call-ID: 779b0739-b74a-1235-e196-525400f9f4dd
  501.    CSeq: 107267670 OPTIONS
  502.    P-Access-Network-Info: xDSL;"location-info=10.202.17.5"
  503.    Content-Length: 0
  504.    
  505.