GW Grandstram FXO to Fusion PBX Cloud

Status
Not open for further replies.

KonradSC

Active Member
Mar 10, 2017
166
99
28
Good question. You need to understand a little about FreeSWITCH dialplans in order to set this up the way I do it. This only for the scenario where FreeSWITCH is public and the gateway is on a remote network behind a NAT.

First I create an extension on Fusion and register the gateway to Fusion using the extension as the SIP user. In the example below it is 5800 using the Internal SIP profile (5060).

Once it's registered incoming calls from FreeSWITCH's perspective (from the gateway to FS) are pretty easy. Calls should just hit the domain context. So find out how many digits the gateway is sending and program FS accordingly.

Outbound calls (from FS to the gateway) require a little dialplan work. The trick is to lookup the registered contact and grab the public IP and Private IP of the gateway.

XML:
<extension name="sip_trunk" continue="true">
    <condition field="destination_number" expression="^5551234567$">
        <action application="set" data="called_contact=${sofia_contact(*/5800@${domain_name})}" inline="true"/>
    </condition>
     <condition field="${called_contact}" expression="^.*sofia.*sofia.*$" break="on-true"/>    <condition field="${called_contact}" expression="^.*sip:.*@(\b(?:\d{1,3}\.){3}\d{1,3}\b)" break="never">
        <action application="set" data="called_contact_internal_ip=$1" inline="true"/>
        <anti-action application="set" data="called_contact_internal_ip=unknown" inline="true"/>
    </condition>
    <condition field="${called_contact}" expression="^.*fs_path=sip%3A\d+%40((?:\d{1,3}\.){3}\d{1,3}.*)" break="never">
        <action application="set" data="call_timeout=45"/>
        <action application="export" data="nolocal:absolute_codec_string=PCMU" inline="true"/>
        <action application="set" data="called_contact_public_ip=$1" inline="true"/>
        <action application="bridge" data="sofia/internal/sip:5551234567@${called_contact_internal_ip};transport=tcp;fs_nat=yes;fs_path=sip:5551234567@${called_contact_public_ip}"/>
    </condition>
</extension>

In this example the Destination_number is hard coded (555-123-4567). You would need to match your destination number with a regex, store that as a variable then insert that variable into the bridge statement.


Sorry this isn't a complete cut and paste solution, but it should get you pointed in the right direction.
 
  • Like
Reactions: sergio.duilio

Jiz

Member
Mar 29, 2021
50
1
8
41
Good question. You need to understand a little about FreeSWITCH dialplans in order to set this up the way I do it. This only for the scenario where FreeSWITCH is public and the gateway is on a remote network behind a NAT.

First I create an extension on Fusion and register the gateway to Fusion using the extension as the SIP user. In the example below it is 5800 using the Internal SIP profile (5060).

Once it's registered incoming calls from FreeSWITCH's perspective (from the gateway to FS) are pretty easy. Calls should just hit the domain context. So find out how many digits the gateway is sending and program FS accordingly.

Outbound calls (from FS to the gateway) require a little dialplan work. The trick is to lookup the registered contact and grab the public IP and Private IP of the gateway.

XML:
<extension name="sip_trunk" continue="true">
    <condition field="destination_number" expression="^5551234567$">
        <action application="set" data="called_contact=${sofia_contact(*/5800@${domain_name})}" inline="true"/>
    </condition>
     <condition field="${called_contact}" expression="^.*sofia.*sofia.*$" break="on-true"/>    <condition field="${called_contact}" expression="^.*sip:.*@(\b(?:\d{1,3}\.){3}\d{1,3}\b)" break="never">
        <action application="set" data="called_contact_internal_ip=$1" inline="true"/>
        <anti-action application="set" data="called_contact_internal_ip=unknown" inline="true"/>
    </condition>
    <condition field="${called_contact}" expression="^.*fs_path=sip%3A\d+%40((?:\d{1,3}\.){3}\d{1,3}.*)" break="never">
        <action application="set" data="call_timeout=45"/>
        <action application="export" data="nolocal:absolute_codec_string=PCMU" inline="true"/>
        <action application="set" data="called_contact_public_ip=$1" inline="true"/>
        <action application="bridge" data="sofia/internal/sip:5551234567@${called_contact_internal_ip};transport=tcp;fs_nat=yes;fs_path=sip:5551234567@${called_contact_public_ip}"/>
    </condition>
</extension>

In this example the Destination_number is hard coded (555-123-4567). You would need to match your destination number with a regex, store that as a variable then insert that variable into the bridge statement.


Sorry this isn't a complete cut and paste solution, but it should get you pointed in the right direction.


Thank you.

A newbie question. Where do I add this XML ?

JaiS
 

Jiz

Member
Mar 29, 2021
50
1
8
41
I have created a outbound route and replace XLM as below

Code:
<extension name="transfer.9d" continue="false" uuid="f45da95d-ce55-4304-832c-7191511bf742">
    <condition field="${user_exists}" expression="false"/>
    <condition field="destination_number" expression="^9(\d*)$">
        <action application="set" data="called_contact=${sofia_contact(*/10000@${domain_name})}" inline="true"/>
    </condition>
    <condition field="${called_contact}" expression="^.*sofia.*sofia.*$" break="on-true"/>    <condition field="${called_contact}" expression="^.*sip:.*@(\b(?:\d{1,3}\.){3}\d{1,3}\b)" break="never">
        <action application="set" data="called_contact_internal_ip=$1" inline="true"/>
        <anti-action application="set" data="called_contact_internal_ip=unknown" inline="true"/>
    </condition>
    <condition field="${called_contact}" expression="^.*fs_path=sip%3A\d+%40((?:\d{1,3}\.){3}\d{1,3}.*)" break="never">
        <action application="set" data="call_timeout=45"/>
        <action application="export" data="nolocal:absolute_codec_string=PCMU" inline="true"/>
        <action application="set" data="called_contact_public_ip=$1" inline="true"/>
        <action application="bridge" data="sofia/internal/sip:123@${called_contact_internal_ip};transport=tcp;fs_nat=yes;fs_path=sip:123@${called_contact_public_ip}"/>
    </condition>
</extension>


I made a test call to 912345678 and the calls are not going through. Am i doing things in correct way ? My FXO gateway registered as extension 10000

You would need to match your destination number with a regex, store that as a variable then insert that variable into the bridge statement.
How do i do that in the above XML ?

below are the logs, Thanks

Code:
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.702786 [NOTICE] switch_channel.c:1118 New Channel sofia/internal/202@sip.domain.com [6f41c58f-960e-48e1-b5fc-3ab9eaf6b670]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.702786 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_NEW (Cur 1 Tot 157)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.702786 [INFO] sofia.c:10362 sofia/internal/202@sip.domain.com receiving invite from 51.51.51.51:9389 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ou308UB9T7
2021-04-11 04:47:51.702786 [DEBUG] sofia.c:2447 detaching session 6f41c58f-960e-48e1-b5fc-3ab9eaf6b670
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.702786 [DEBUG] switch_core_state_machine.c:604 (sofia/internal/202@sip.domain.com) State NEW
2021-04-11 04:47:51.942792 [DEBUG] sofia.c:2562 Re-attaching to session 6f41c58f-960e-48e1-b5fc-3ab9eaf6b670
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.942792 [INFO] sofia.c:10362 sofia/internal/202@sip.domain.com receiving invite from 51.51.51.51:9389 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ou308UB9T7
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] sofia.c:11564 Setting NAT mode based on via received
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] sofia.c:7406 Channel sofia/internal/202@sip.domain.com entering state [received][100]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] sofia.c:7416 Remote SDP:
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 v=0
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 o=202 1981 2006 IN IP4 192.168.101.102
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 s=Talk
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 c=IN IP4 192.168.101.102
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 t=0 0
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 m=audio 7078 RTP/AVP 96 97 98 0 8 18 101 99 100
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=rtpmap:96 opus/48000/2
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=fmtp:96 useinbandfec=1
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=rtpmap:97 speex/16000
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=fmtp:97 vbr=on
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=rtpmap:98 speex/8000
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=fmtp:98 vbr=on
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=fmtp:18 annexb=yes
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=rtpmap:101 telephone-event/48000
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=rtpmap:99 telephone-event/16000
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=rtpmap:100 telephone-event/8000
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=rtcp-fb:* trr-int 1000
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 a=rtcp-fb:* ccm tmmbr
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:96:48000:20:0:2]/[G722:9:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:96:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:97:16000:20:0:1]/[G722:9:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:98:8000:20:0:1]/[G722:9:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@48000
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:3847 Set Codec sofia/internal/202@sip.domain.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_codec.c:111 sofia/internal/202@sip.domain.com Original read codec set to PCMU:0
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 100@8000
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_media.c:5918 sofia/internal/202@sip.domain.com Set 2833 dtmf send payload to 100 recv payload to 100
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] sofia.c:7840 (sofia/internal/202@sip.domain.com) State Change CS_NEW -> CS_INIT
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_INIT (Cur 1 Tot 157)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_state_machine.c:628 (sofia/internal/202@sip.domain.com) State INIT
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] mod_sofia.c:93 sofia/internal/202@sip.domain.com SOFIA INIT
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_state_machine.c:40 sofia/internal/202@sip.domain.com Standard INIT
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/202@sip.domain.com) State Change CS_INIT -> CS_ROUTING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_state_machine.c:628 (sofia/internal/202@sip.domain.com) State INIT going to sleep
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_ROUTING (Cur 1 Tot 157)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_channel.c:2332 (sofia/internal/202@sip.domain.com) Callstate Change DOWN -> RINGING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_state_machine.c:644 (sofia/internal/202@sip.domain.com) State ROUTING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] mod_sofia.c:154 sofia/internal/202@sip.domain.com SOFIA ROUTING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [DEBUG] switch_core_state_machine.c:236 sofia/internal/202@sip.domain.com Standard ROUTING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.962763 [INFO] mod_dialplan_xml.c:637 Processing 202 <202>->91234568 in context sip.domain.com
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->user_exists] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_exists] ${loopback_leg}() =~ /^B$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_exists] () =~ // break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(user_exists=false)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:51.982780 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [user_exists]=[false]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(from_user_exists=true)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [from_user_exists]=[true]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call-direction] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com ANTI-Action export(call_direction=local) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com export(call_direction=local)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[local]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->caller-details] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [caller-details] ${caller_destination}() =~ /^$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(caller_destination=${destination_number}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(caller_destination=91234568)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [caller_destination]=[91234568]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(caller_id_name=${caller_id_name}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(caller_id_name=202)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [caller_id_name]=[202]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(caller_id_number=${caller_id_number})
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->global-variables] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [global-variables] () =~ // break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->domain-variables] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [domain-variables] () =~ // break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action export(origination_callee_id_name=${destination_number})
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->is_loopback] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [is_loopback] ${is_follow_me_loopback}() =~ /true/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->user_record] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(from_user_record=)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [from_user_record]=[UNDEF]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->rtp_has_crypto] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [rtp_has_crypto] ${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=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->redial] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [redial] destination_number(91234568) =~ /^(redial|\*870)$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [redial] () =~ // break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->speed_dial] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [speed_dial] destination_number(91234568) =~ /^\*0(.*)$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->default_caller_id] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [default_caller_id] ${emergency_caller_id_name}() =~ /^$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(emergency_caller_id_name=${default_emergency_caller_id_name}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(emergency_caller_id_name=)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [emergency_caller_id_name]=[UNDEF]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [default_caller_id] ${emergency_caller_id_number}() =~ /^$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(emergency_caller_id_number=${default_emergency_caller_id_number}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(emergency_caller_id_number=)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [emergency_caller_id_number]=[UNDEF]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [default_caller_id] ${outbound_caller_id_name}() =~ /^$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(outbound_caller_id_name=${default_outbound_caller_id_name}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(outbound_caller_id_name=)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [outbound_caller_id_name]=[UNDEF]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [default_caller_id] ${outbound_caller_id_number}(13059611799) =~ /^$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->user_hold_music] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_hold_music] ${hold_music}(local_stream://default) =~ /^$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_hold_music] ${user_exists}(false) =~ /true/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->Telynix.10d] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [Telynix.10d] ${user_exists}(false) =~ /false/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [Telynix.10d] destination_number(91234568) =~ /^(\d{10})$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->transfer.9d] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [transfer.9d] ${user_exists}(false) =~ /false/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [transfer.9d] destination_number(91234568) =~ /^9(\d*)$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(called_contact=${sofia_contact(*/10000@${domain_name})}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(called_contact=error/user_not_registered)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [called_contact]=[error/user_not_registered]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [transfer.9d] ${called_contact}(error/user_not_registered) =~ /^.*sofia.*sofia.*$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [transfer.9d] ${called_contact}(error/user_not_registered) =~ /^.*sip:.*@(\b(?:\d{1,3}\.){3}\d{1,3}\b)/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com ANTI-Action set(called_contact_internal_ip=unknown) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(called_contact_internal_ip=unknown)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [called_contact_internal_ip]=[unknown]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [transfer.9d] ${called_contact}(error/user_not_registered) =~ /^.*fs_path=sip%3A\d+%40((?:\d{1,3}\.){3}\d{1,3}.*)/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->Telynix.11d] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [Telynix.11d] ${user_exists}(false) =~ /false/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [Telynix.11d] destination_number(91234568) =~ /^\+?(\d{11})$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->First IVR] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [First IVR] destination_number(91234568) =~ /^299$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->agent_status] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [agent_status] destination_number(91234568) =~ /^\*22$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [agent_status] destination_number(91234568) =~ /^(agent\+)(.*)$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->agent_status_id] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [agent_status_id] destination_number(91234568) =~ /^\*23$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->group-intercept] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [group-intercept] destination_number(91234568) =~ /^\*8$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->page-extension] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [page-extension] destination_number(91234568) =~ /^\*8(\d{2,7})$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->eavesdrop] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [eavesdrop] destination_number(91234568) =~ /^\*33(\d{2,7})$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call_privacy] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call_privacy] destination_number(91234568) =~ /^\*67(\d+)$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call_return] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call_return] destination_number(91234568) =~ /^\*69$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->intercept-ext-polycom] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [intercept-ext-polycom] destination_number(91234568) =~ /^\*97(\d+)$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->intercept-ext] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [intercept-ext] destination_number(91234568) =~ /^\*\*(\d+)$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [intercept-ext] destination_number(91234568) =~ /^\*\*$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->extension_queue] continue=
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [extension_queue] destination_number(91234568) =~ /^\*800(.*)$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->dx] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [dx] destination_number(91234568) =~ /^dx$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->att_xfer] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [att_xfer] destination_number(91234568) =~ /^att_xfer$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->extension-to-voicemail] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [extension-to-voicemail] ${user_exists}(false) =~ /^true$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->send_to_voicemail] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [send_to_voicemail] destination_number(91234568) =~ /^\*99(\d{2,10})$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->vmain] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [vmain] destination_number(91234568) =~ /^vmain$|^\*4000$|^\*98$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [vmain] destination_number(91234568) =~ /^(vmain$|^\*4000$|^\*98)(\d{2,12})$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->xfer_vm] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [xfer_vm] destination_number(91234568) =~ /^xfer_vm$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->vmain_user] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [vmain_user] destination_number(91234568) =~ /^\*97$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->is_transfer] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [is_transfer] destination_number(91234568) =~ /^is_transfer$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->cf] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [cf] destination_number(91234568) =~ /^cf$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->delay_echo] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [delay_echo] destination_number(91234568) =~ /^\*9195$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->echo] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [echo] destination_number(91234568) =~ /^\*9196$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->is_zrtp_secure] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com ANTI-Action eval(not_secure)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->milliwatt] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [milliwatt] destination_number(91234568) =~ /^\*9197$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->tone_stream] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [tone_stream] destination_number(91234568) =~ /^\*9198$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->is_secure] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [is_secure] ${sip_via_protocol}(tcp) =~ /tls/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->hold_music] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [hold_music] destination_number(91234568) =~ /^\*9664$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->recordings] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [recordings] destination_number(91234568) =~ /^\*(732)$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->directory] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [directory] destination_number(91234568) =~ /^\*411$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->wake-up] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [wake-up] destination_number(91234568) =~ /^\*(925)$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->valet_park] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [valet_park] destination_number(91234568) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [valet_park] destination_number(91234568) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=never
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [valet_park] destination_number(91234568) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->operator] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [operator] destination_number(91234568) =~ /^0$|^operator$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->operator-forward] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [operator-forward] destination_number(91234568) =~ /^\*000$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->do-not-disturb] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [do-not-disturb] destination_number(91234568) =~ /^\*77$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [do-not-disturb] destination_number(91234568) =~ /^\*78$|\*363$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [do-not-disturb] destination_number(91234568) =~ /^\*79$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [do-not-disturb] destination_number(91234568) =~ /^dnd\+202$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call_screen] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call-forward] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward] destination_number(91234568) =~ /^\*72(\d*)$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward] destination_number(91234568) =~ /^\*73$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward] destination_number(91234568) =~ /^\*74$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward] destination_number(91234568) =~ /^forward\+(\Q202\E)(?:\/(\d+))?$/ break=on-true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->follow-me-destinations] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [follow-me-destinations] ${user_exists}(false) =~ /^true$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call-forward-all] continue=
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward-all] ${user_exists}(false) =~ /true/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call-forward-not-registered] continue=
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward-not-registered] ${user_exists}(false) =~ /true/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->follow-me] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [follow-me] destination_number(91234568) =~ /^\*21$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->clear_sip_auto_answer] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->talking clock date and time] continue=
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [talking clock date and time] destination_number(91234568) =~ /^\*9172$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->talking clock time] continue=
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [talking clock time] destination_number(91234568) =~ /^\*9170$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->talking clock date] continue=
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [talking clock date] destination_number(91234568) =~ /^\*9171$/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->local_extension] continue=true
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [local_extension] ${user_exists}(false) =~ /true/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->voicemail] continue=false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [voicemail] ${user_exists}(false) =~ /true/ break=on-false
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:287 (sofia/internal/202@sip.domain.com) State Change CS_ROUTING -> CS_EXECUTE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:644 (sofia/internal/202@sip.domain.com) State ROUTING going to sleep
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_EXECUTE (Cur 1 Tot 157)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:651 (sofia/internal/202@sip.domain.com) State EXECUTE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_sofia.c:209 sofia/internal/202@sip.domain.com SOFIA EXECUTE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:329 sofia/internal/202@sip.domain.com Standard EXECUTE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(caller_id_number=202)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [caller_id_number]=[202]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(RFC2822_DATE=Sun, 11 Apr 2021 04:47:52 +0000)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [RFC2822_DATE]=[Sun, 11 Apr 2021 04:47:52 +0000]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com export(origination_callee_id_name=91234568)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [origination_callee_id_name]=[91234568]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com hash(insert/sip.domain.com-last_dial/202/91234568)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com eval(not_secure)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [NOTICE] switch_core_state_machine.c:386 sofia/internal/202@sip.domain.com has executed the last dialplan instruction, hanging up.
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/internal/202@sip.domain.com [CS_EXECUTE] [NORMAL_CLEARING]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:651 (sofia/internal/202@sip.domain.com) State EXECUTE going to sleep
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_HANGUP (Cur 1 Tot 157)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/202@sip.domain.com) Callstate Change RINGING -> HANGUP
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/202@sip.domain.com) State HANGUP
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_sofia.c:453 Channel sofia/internal/202@sip.domain.com hanging up, cause: NORMAL_CLEARING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:60 sofia/internal/202@sip.domain.com Standard HANGUP, cause: NORMAL_CLEARING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/202@sip.domain.com) State HANGUP going to sleep
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:620 (sofia/internal/202@sip.domain.com) State Change CS_HANGUP -> CS_REPORTING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_REPORTING (Cur 1 Tot 157)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.002765 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/202@sip.domain.com) State REPORTING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [DEBUG] switch_core_state_machine.c:174 sofia/internal/202@sip.domain.com Standard REPORTING, cause: NORMAL_CLEARING
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/202@sip.domain.com) State REPORTING going to sleep
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/202@sip.domain.com) State Change CS_REPORTING -> CS_DESTROY
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [DEBUG] switch_core_session.c:1736 Session 157 (sofia/internal/202@sip.domain.com) Locked, Waiting on external entities
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [NOTICE] switch_core_session.c:1754 Session 157 (sofia/internal/202@sip.domain.com) Ended
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [NOTICE] switch_core_session.c:1758 Close Channel sofia/internal/202@sip.domain.com [CS_DESTROY]
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/202@sip.domain.com) Running State Change CS_DESTROY (Cur 0 Tot 157)
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/202@sip.domain.com) State DESTROY
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [DEBUG] mod_sofia.c:364 sofia/internal/202@sip.domain.com SOFIA DESTROY
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [DEBUG] switch_core_state_machine.c:181 sofia/internal/202@sip.domain.com Standard DESTROY
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 2021-04-11 04:47:52.182766 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/202@sip.domain.com) State DESTROY going to sleep
 

KonradSC

Active Member
Mar 10, 2017
166
99
28
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 Dialplan: sofia/internal/202@sip.domain.com Action set(called_contact=${sofia_contact(*/10000@${domain_name})}) INLINE
6f41c58f-960e-48e1-b5fc-3ab9eaf6b670 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(called_contact=error/user_not_registered)

Are you sure that extension 10000 is registered? This looks to be where you start to have issues.
 

Jiz

Member
Mar 29, 2021
50
1
8
41
Are you sure that extension 10000 is registered? This looks to be where you start to have issues.
Thank you.

You are right the extension was not registered on that test ...below is another log for an unsuccessful call.

Code:
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.382769 [NOTICE] switch_channel.c:1118 New Channel sofia/internal/202@sip.domain.com [8370750b-870f-4044-ba25-c8dd6d451f46]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.382769 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_NEW (Cur 1 Tot 422)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.382769 [INFO] sofia.c:10362 sofia/internal/202@sip.domain.com receiving invite from 51.51.51.51:3004 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: Tf5RfJI~sK
2021-04-13 02:37:34.382769 [DEBUG] sofia.c:2447 detaching session 8370750b-870f-4044-ba25-c8dd6d451f46
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.382769 [DEBUG] switch_core_state_machine.c:604 (sofia/internal/202@sip.domain.com) State NEW
2021-04-13 02:37:34.622807 [DEBUG] sofia.c:2562 Re-attaching to session 8370750b-870f-4044-ba25-c8dd6d451f46
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.622807 [INFO] sofia.c:10362 sofia/internal/202@sip.domain.com receiving invite from 51.51.51.51:3004 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: Tf5RfJI~sK
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] sofia.c:11564 Setting NAT mode based on via received
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] sofia.c:7406 Channel sofia/internal/202@sip.domain.com entering state [received][100]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] sofia.c:7416 Remote SDP:
8370750b-870f-4044-ba25-c8dd6d451f46 v=0
8370750b-870f-4044-ba25-c8dd6d451f46 o=202 1505 1594 IN IP4 192.168.101.103
8370750b-870f-4044-ba25-c8dd6d451f46 s=Talk
8370750b-870f-4044-ba25-c8dd6d451f46 c=IN IP4 192.168.101.103
8370750b-870f-4044-ba25-c8dd6d451f46 t=0 0
8370750b-870f-4044-ba25-c8dd6d451f46 a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
8370750b-870f-4044-ba25-c8dd6d451f46 m=audio 7078 RTP/AVP 96 97 98 0 8 18 101 99 100
8370750b-870f-4044-ba25-c8dd6d451f46 a=rtpmap:96 opus/48000/2
8370750b-870f-4044-ba25-c8dd6d451f46 a=fmtp:96 useinbandfec=1
8370750b-870f-4044-ba25-c8dd6d451f46 a=rtpmap:97 speex/16000
8370750b-870f-4044-ba25-c8dd6d451f46 a=fmtp:97 vbr=on
8370750b-870f-4044-ba25-c8dd6d451f46 a=rtpmap:98 speex/8000
8370750b-870f-4044-ba25-c8dd6d451f46 a=fmtp:98 vbr=on
8370750b-870f-4044-ba25-c8dd6d451f46 a=fmtp:18 annexb=yes
8370750b-870f-4044-ba25-c8dd6d451f46 a=rtpmap:101 telephone-event/48000
8370750b-870f-4044-ba25-c8dd6d451f46 a=rtpmap:99 telephone-event/16000
8370750b-870f-4044-ba25-c8dd6d451f46 a=rtpmap:100 telephone-event/8000
8370750b-870f-4044-ba25-c8dd6d451f46 a=rtcp-fb:* trr-int 1000
8370750b-870f-4044-ba25-c8dd6d451f46 a=rtcp-fb:* ccm tmmbr
8370750b-870f-4044-ba25-c8dd6d451f46
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:96:48000:20:0:1]/[G722:9:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:96:48000:20:0:1]/[PCMU:0:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [opus:96:48000:20:0:1]/[PCMA:8:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:97:16000:20:0:1]/[G722:9:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:97:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:98:8000:20:0:1]/[G722:9:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:98:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@48000
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:3847 Set Codec sofia/internal/202@sip.domain.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_codec.c:111 sofia/internal/202@sip.domain.com Original read codec set to PCMU:0
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 100@8000
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_media.c:5918 sofia/internal/202@sip.domain.com Set 2833 dtmf send payload to 100 recv payload to 100
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] sofia.c:7840 (sofia/internal/202@sip.domain.com) State Change CS_NEW -> CS_INIT
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_INIT (Cur 1 Tot 422)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_state_machine.c:628 (sofia/internal/202@sip.domain.com) State INIT
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] mod_sofia.c:93 sofia/internal/202@sip.domain.com SOFIA INIT
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_state_machine.c:40 sofia/internal/202@sip.domain.com Standard INIT
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/202@sip.domain.com) State Change CS_INIT -> CS_ROUTING
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_state_machine.c:628 (sofia/internal/202@sip.domain.com) State INIT going to sleep
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_ROUTING (Cur 1 Tot 422)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_channel.c:2332 (sofia/internal/202@sip.domain.com) Callstate Change DOWN -> RINGING
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_state_machine.c:644 (sofia/internal/202@sip.domain.com) State ROUTING
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] mod_sofia.c:154 sofia/internal/202@sip.domain.com SOFIA ROUTING
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [DEBUG] switch_core_state_machine.c:236 sofia/internal/202@sip.domain.com Standard ROUTING
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.642763 [INFO] mod_dialplan_xml.c:637 Processing 202 <202>->912345678 in context sip.domain.com
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->user_exists] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_exists] ${loopback_leg}() =~ /^B$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_exists] () =~ // break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(user_exists=false)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [user_exists]=[false]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(from_user_exists=true)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [from_user_exists]=[true]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call-direction] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com ANTI-Action export(call_direction=local) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com export(call_direction=local)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[local]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->caller-details] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [caller-details] ${caller_destination}() =~ /^$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(caller_destination=${destination_number}) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(caller_destination=912345678)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [caller_destination]=[912345678]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(caller_id_name=${caller_id_name}) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(caller_id_name=202)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [caller_id_name]=[202]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(caller_id_number=${caller_id_number})
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->global-variables] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [global-variables] () =~ // break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->domain-variables] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [domain-variables] () =~ // break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action export(origination_callee_id_name=${destination_number})
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->is_loopback] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [is_loopback] ${is_follow_me_loopback}() =~ /true/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->user_record] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(from_user_record=)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [from_user_record]=[UNDEF]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->rtp_has_crypto] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [rtp_has_crypto] ${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=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->redial] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [redial] destination_number(912345678) =~ /^(redial|\*870)$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [redial] () =~ // break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->speed_dial] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [speed_dial] destination_number(912345678) =~ /^\*0(.*)$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->default_caller_id] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [default_caller_id] ${emergency_caller_id_name}() =~ /^$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(emergency_caller_id_name=${default_emergency_caller_id_name}) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(emergency_caller_id_name=)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [emergency_caller_id_name]=[UNDEF]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [default_caller_id] ${emergency_caller_id_number}() =~ /^$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(emergency_caller_id_number=${default_emergency_caller_id_number}) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(emergency_caller_id_number=)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [emergency_caller_id_number]=[UNDEF]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [default_caller_id] ${outbound_caller_id_name}() =~ /^$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(outbound_caller_id_name=${default_outbound_caller_id_name}) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(outbound_caller_id_name=)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [outbound_caller_id_name]=[UNDEF]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [default_caller_id] ${outbound_caller_id_number}(13059611799) =~ /^$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->user_hold_music] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_hold_music] ${hold_music}(local_stream://default) =~ /^$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [user_hold_music] ${user_exists}(false) =~ /true/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->Telynix.10d] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [Telynix.10d] ${user_exists}(false) =~ /false/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [Telynix.10d] destination_number(912345678) =~ /^(\d{10})$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->enum.9d] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [enum.9d] ${user_exists}(false) =~ /false/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [enum.9d] destination_number(912345678) =~ /^9(\d*)$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(called_contact=${sofia_contact(*/10000@${domain_name})}) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(called_contact=sofia/external/sip:10000@192.168.0.160:5060;transport=tcp;user=phone;fs_nat=yes;fs_path=sip%3A10000%4072.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [called_contact]=[sofia/external/sip:10000@192.168.0.160:5060;transport=tcp;user=phone;fs_nat=yes;fs_path=sip%3A10000%4072.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [enum.9d] ${called_contact}(sofia/external/sip:10000@192.168.0.160:5060;transport=tcp;user=phone;fs_nat=yes;fs_path=sip%3A10000%4072.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone) =~ /^.*sofia.*sofia.*$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [enum.9d] ${called_contact}(sofia/external/sip:10000@192.168.0.160:5060;transport=tcp;user=phone;fs_nat=yes;fs_path=sip%3A10000%4072.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone) =~ /^.*sip:.*@(\b(?:\d{1,3}\.){3}\d{1,3}\b)/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(called_contact_internal_ip=192.168.0.160) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(called_contact_internal_ip=192.168.0.160)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [called_contact_internal_ip]=[192.168.0.160]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [enum.9d] ${called_contact}(sofia/external/sip:10000@192.168.0.160:5060;transport=tcp;user=phone;fs_nat=yes;fs_path=sip%3A10000%4072.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone) =~ /^.*fs_path=sip%3A\d+%40((?:\d{1,3}\.){3}\d{1,3}.*)/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(call_timeout=45)
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action export(nolocal:absolute_codec_string=PCMU) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com export(nolocal:absolute_codec_string=PCMU)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) (REMOTE ONLY) [absolute_codec_string]=[PCMU]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action set(called_contact_public_ip=72.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone) INLINE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(called_contact_public_ip=72.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [called_contact_public_ip]=[72.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone]
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [enum.9d] destination_number(912345678) =~ /^9(\d*)$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Action bridge(sofia/internal/sip:12345678@${called_contact_internal_ip};transport=tcp;fs_nat=yes;fs_path=sip:12345678@${called_contact_public_ip})
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->Telynix.11d] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (PASS) [Telynix.11d] ${user_exists}(false) =~ /false/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [Telynix.11d] destination_number(912345678) =~ /^\+?(\d{11})$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->Divine Group IVR] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [Divine Group IVR] destination_number(912345678) =~ /^299$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->agent_status] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [agent_status] destination_number(912345678) =~ /^\*22$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [agent_status] destination_number(912345678) =~ /^(agent\+)(.*)$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->agent_status_id] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [agent_status_id] destination_number(912345678) =~ /^\*23$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->group-intercept] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [group-intercept] destination_number(912345678) =~ /^\*8$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->page-extension] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [page-extension] destination_number(912345678) =~ /^\*8(\d{2,7})$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->eavesdrop] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [eavesdrop] destination_number(912345678) =~ /^\*33(\d{2,7})$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call_privacy] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call_privacy] destination_number(912345678) =~ /^\*67(\d+)$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call_return] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call_return] destination_number(912345678) =~ /^\*69$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->intercept-ext-polycom] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [intercept-ext-polycom] destination_number(912345678) =~ /^\*97(\d+)$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->intercept-ext] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [intercept-ext] destination_number(912345678) =~ /^\*\*(\d+)$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [intercept-ext] destination_number(912345678) =~ /^\*\*$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->extension_queue] continue=
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [extension_queue] destination_number(912345678) =~ /^\*800(.*)$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->dx] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [dx] destination_number(912345678) =~ /^dx$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->att_xfer] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [att_xfer] destination_number(912345678) =~ /^att_xfer$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->extension-to-voicemail] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [extension-to-voicemail] ${user_exists}(false) =~ /^true$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->send_to_voicemail] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [send_to_voicemail] destination_number(912345678) =~ /^\*99(\d{2,10})$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->vmain] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [vmain] destination_number(912345678) =~ /^vmain$|^\*4000$|^\*98$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [vmain] destination_number(912345678) =~ /^(vmain$|^\*4000$|^\*98)(\d{2,12})$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->xfer_vm] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [xfer_vm] destination_number(912345678) =~ /^xfer_vm$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->vmain_user] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [vmain_user] destination_number(912345678) =~ /^\*97$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->is_transfer] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [is_transfer] destination_number(912345678) =~ /^is_transfer$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->cf] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [cf] destination_number(912345678) =~ /^cf$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->delay_echo] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [delay_echo] destination_number(912345678) =~ /^\*9195$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->echo] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [echo] destination_number(912345678) =~ /^\*9196$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->is_zrtp_secure] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com ANTI-Action eval(not_secure)
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->milliwatt] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [milliwatt] destination_number(912345678) =~ /^\*9197$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->tone_stream] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [tone_stream] destination_number(912345678) =~ /^\*9198$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->is_secure] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [is_secure] ${sip_via_protocol}(tcp) =~ /tls/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->hold_music] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [hold_music] destination_number(912345678) =~ /^\*9664$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->recordings] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [recordings] destination_number(912345678) =~ /^\*(732)$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->directory] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [directory] destination_number(912345678) =~ /^\*411$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->wake-up] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [wake-up] destination_number(912345678) =~ /^\*(925)$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->valet_park] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [valet_park] destination_number(912345678) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [valet_park] destination_number(912345678) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=never
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [valet_park] destination_number(912345678) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->operator] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [operator] destination_number(912345678) =~ /^0$|^operator$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->operator-forward] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [operator-forward] destination_number(912345678) =~ /^\*000$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->do-not-disturb] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [do-not-disturb] destination_number(912345678) =~ /^\*77$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [do-not-disturb] destination_number(912345678) =~ /^\*78$|\*363$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [do-not-disturb] destination_number(912345678) =~ /^\*79$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [do-not-disturb] destination_number(912345678) =~ /^dnd\+202$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call_screen] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call-forward] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward] destination_number(912345678) =~ /^\*72(\d*)$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward] destination_number(912345678) =~ /^\*73$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward] destination_number(912345678) =~ /^\*74$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward] destination_number(912345678) =~ /^forward\+(\Q202\E)(?:\/(\d+))?$/ break=on-true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->follow-me-destinations] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [follow-me-destinations] ${user_exists}(false) =~ /^true$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call-forward-all] continue=
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward-all] ${user_exists}(false) =~ /true/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->call-forward-not-registered] continue=
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [call-forward-not-registered] ${user_exists}(false) =~ /true/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->follow-me] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [follow-me] destination_number(912345678) =~ /^\*21$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->clear_sip_auto_answer] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->talking clock date and time] continue=
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [talking clock date and time] destination_number(912345678) =~ /^\*9172$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->talking clock time] continue=
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [talking clock time] destination_number(912345678) =~ /^\*9170$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->talking clock date] continue=
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [talking clock date] destination_number(912345678) =~ /^\*9171$/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->local_extension] continue=true
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [local_extension] ${user_exists}(false) =~ /true/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com parsing [sip.domain.com->voicemail] continue=false
8370750b-870f-4044-ba25-c8dd6d451f46 Dialplan: sofia/internal/202@sip.domain.com Regex (FAIL) [voicemail] ${user_exists}(false) =~ /true/ break=on-false
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] switch_core_state_machine.c:287 (sofia/internal/202@sip.domain.com) State Change CS_ROUTING -> CS_EXECUTE
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] switch_core_state_machine.c:644 (sofia/internal/202@sip.domain.com) State ROUTING going to sleep
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_EXECUTE (Cur 1 Tot 422)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] switch_core_state_machine.c:651 (sofia/internal/202@sip.domain.com) State EXECUTE
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_sofia.c:209 sofia/internal/202@sip.domain.com SOFIA EXECUTE
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] switch_core_state_machine.c:329 sofia/internal/202@sip.domain.com Standard EXECUTE
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(caller_id_number=202)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [caller_id_number]=[202]
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(RFC2822_DATE=Tue, 13 Apr 2021 02:37:34 +0000)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [RFC2822_DATE]=[Tue, 13 Apr 2021 02:37:34 +0000]
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com export(origination_callee_id_name=912345678)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [origination_callee_id_name]=[912345678]
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com hash(insert/sip.domain.com-last_dial/202/912345678)
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com set(call_timeout=45)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.702763 [DEBUG] mod_dptools.c:1685 SET sofia/internal/202@sip.domain.com [call_timeout]=[45]
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com bridge(sofia/internal/sip:12345678@192.168.0.160;transport=tcp;fs_nat=yes;fs_path=sip:12345678@72.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.722765 [DEBUG] switch_channel.c:1264 sofia/internal/202@sip.domain.com EXPORTING[export_vars] [domain_name]=[sip.domain.com] to event
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.722765 [DEBUG] switch_channel.c:1264 sofia/internal/202@sip.domain.com EXPORTING[export_vars] [call_direction]=[local] to event
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.722765 [DEBUG] switch_channel.c:1264 sofia/internal/202@sip.domain.com EXPORTING[export_vars] [absolute_codec_string]=[PCMU] to event
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.722765 [DEBUG] switch_channel.c:1264 sofia/internal/202@sip.domain.com EXPORTING[export_vars] [origination_callee_id_name]=[912345678] to event
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:37:34.722765 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [INFO] mod_dptools.c:3643 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [NOTICE] switch_channel.c:4942 Hangup sofia/internal/202@sip.domain.com [CS_EXECUTE] [NORMAL_TEMPORARY_FAILURE]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_session.c:2914 sofia/internal/202@sip.domain.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_state_machine.c:651 (sofia/internal/202@sip.domain.com) State EXECUTE going to sleep
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_HANGUP (Cur 2 Tot 423)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_state_machine.c:848 (sofia/internal/202@sip.domain.com) Callstate Change RINGING -> HANGUP
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/202@sip.domain.com) State HANGUP
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] mod_sofia.c:447 sofia/internal/202@sip.domain.com Overriding SIP cause 503 with 503 from the other leg
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] mod_sofia.c:453 Channel sofia/internal/202@sip.domain.com hanging up, cause: NORMAL_TEMPORARY_FAILURE
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 503
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_state_machine.c:60 sofia/internal/202@sip.domain.com Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/202@sip.domain.com) State HANGUP going to sleep
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_state_machine.c:620 (sofia/internal/202@sip.domain.com) State Change CS_HANGUP -> CS_REPORTING
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_state_machine.c:585 (sofia/internal/202@sip.domain.com) Running State Change CS_REPORTING (Cur 2 Tot 423)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.142801 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/202@sip.domain.com) State REPORTING
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [DEBUG] switch_core_state_machine.c:174 sofia/internal/202@sip.domain.com Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [DEBUG] switch_core_state_machine.c:936 (sofia/internal/202@sip.domain.com) State REPORTING going to sleep
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [DEBUG] switch_core_state_machine.c:611 (sofia/internal/202@sip.domain.com) State Change CS_REPORTING -> CS_DESTROY
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [DEBUG] switch_core_session.c:1736 Session 422 (sofia/internal/202@sip.domain.com) Locked, Waiting on external entities
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [NOTICE] switch_core_session.c:1754 Session 422 (sofia/internal/202@sip.domain.com) Ended
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [NOTICE] switch_core_session.c:1758 Close Channel sofia/internal/202@sip.domain.com [CS_DESTROY]
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [DEBUG] switch_core_state_machine.c:739 (sofia/internal/202@sip.domain.com) Running State Change CS_DESTROY (Cur 0 Tot 423)
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/202@sip.domain.com) State DESTROY
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [DEBUG] mod_sofia.c:364 sofia/internal/202@sip.domain.com SOFIA DESTROY
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [DEBUG] switch_core_state_machine.c:181 sofia/internal/202@sip.domain.com Standard DESTROY
8370750b-870f-4044-ba25-c8dd6d451f46 2021-04-13 02:38:06.222779 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/202@sip.domain.com) State DESTROY going to sleep


I have created a VPN between The gateway and fusion but The gateway not accepting a call invite now. might be be an issue with MTU. I dont see a way to force TCP for a gateway without registration. If i used " sofia/internal/${destination_number}@192.168.1.160:5060;transport=tcp " ... no call invite bieng generated.
 

KonradSC

Active Member
Mar 10, 2017
166
99
28
Can you grab a SIP trace from the call going out to the gateway?

Also, do you see anything in the logs generated by the gateway?
 

Jiz

Member
Mar 29, 2021
50
1
8
41
Can you grab a SIP trace from the call going out to the gateway?

Also, do you see anything in the logs generated by the gateway?
The issue solved and calls are works fine.

Infract, there was no call invite on the sip trace. The call was failed even without generating SIP invite. I had to run sofia loglevel all 9 to get a clue about the issue.
There, I found fusion was trying to establish a connection to "tcp/192.168.1.160:5060/sip" and failed. after multiple try, the call getting destroyed.
I have assumed that in case of TCP used, fusion confirms a tcp connection before send invite to the IP. even though the IP 192.168.1.160 is reachable for ping, the tcp connections was failed and i am not sure about the reason (may be NAT issue).
I have went ahead and created another sip profile with VPN interface IP binding and everything started working.
the reason I am not using UDP is, Packets are not reached to the Grandstream because of MTU issue over VPN Tunnel.

I am still wonder why the uri looks like below especially the last part (72.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone)

Code:
8370750b-870f-4044-ba25-c8dd6d451f46 EXECUTE [depth=0] sofia/internal/202@sip.domain.com bridge(sofia/internal/sip:12345678@192.168.0.160;transport=tcp;fs_nat=yes;fs_path=sip:12345678@72.72.72.72%3A9758%3Btransport%3Dtcp%3Buser%3Dphone)

Thanks for your support and awesome forum !
 
Status
Not open for further replies.