Dialplan configuration

1,496 views
Skip to first unread message

s.leonardo

unread,
Nov 17, 2014, 6:23:55 AM11/17/14
to as...@googlegroups.com
Hello,


I've installed ASTPP and freeswitch, set sip profile, created 2 customers and also 2 sip devices.
Now I'm Able to make a cal between the 2 sip devices using the extension number (2000 & 2001).

After that I've created 2 DIDs and assigned them to the customers.


My problem is:
I can't make a call using the DID number. Reply is 480/temporarily Unavaible from my softphone.


Is it a dialplan problem?

This is the 01_example.com.xml


<include>

 
<extension name="local.example.com">
   
<condition field="${toll_allow}" expression="local"/>
   
<condition field="destination_number" expression="^(\d{6,})$">
      <action application="set" data="effective_caller_id_number=${outbound_cal$
      <action application="set" data="effective_caller_id_name=${outbound_calle$
      <action application="bridge" data="sofia/gateway/${default_gateway}/1${de$
   
</condition>
 
</extension>

 
<extension name="domestic.example.com">
   
<condition field="${toll_allow}" expression="domestic"/>
   
<condition field="destination_number" expression="^(\d{11})$">
      <action application="set" data="effective_caller_id_number=${outbound_cal$
      <action application="set" data="effective_caller_id_name=${outbound_calle$
     
<action application="bridge" data="sofia/gateway/${default_gateway}/$1"/>
   
</condition>
 
</extension>

 
<extension name="international.example.com">
   
<condition field="${toll_allow}" expression="international"/>
   
<condition field="destination_number" expression="^(011\d+)$">
      <action application="set" data="effective_caller_id_number=${outbound_cal$
      <action application="set" data="effective_caller_id_name=${outbound_calle$
     
<action application="bridge" data="sofia/gateway/${default_gateway}/$1"/>
   
</condition>
 
</extension>

</include>

What local, domestic and international are?

I guess local is the internal (like 2001 & 2001), domestic = "same country code", and international= international calls.
And I think this dialplan is set for North America. isn't it?

So now if I want to make it work for my country I need to rewrite this file?
 
Also I should edit the default.xml?


Thank you

Leonardo


Samir Doshi

unread,
Nov 17, 2014, 6:35:06 AM11/17/14
to as...@googlegroups.com
Hi Leonardo, 

ASTPP is not using default dialplans of freeswitch. ASTPP is generating its own dialplans when someone dial outbound or inbound number.

In your case, please make sure you have mod_xml_curl module configured and loaded correctly. Along with this make sure you have DIDs configured correctly in ASTPP.


Thanks,
Samir Doshi

--
=====================================================================
Please contact at astpp....@gmail.com for commercial support.
Website : http://www.astpp.org
Documentation : http://wiki.astpp.org
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/4853363d-254b-4a4c-97db-ffa638caa845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

s.leonardo

unread,
Nov 17, 2014, 7:05:41 AM11/17/14
to as...@googlegroups.com, sa...@astpp.org
mod_xml_curl is loaded.

this is the /usr/local/freeswitch/conf/autoload_configs/xml_curl.conf.xml

<configuration name="xml_curl.conf" description="cURL XML Gateway">
 
<bindings>
   
<binding name="example">
     
<!-- The url to a gateway cgi that can generate xml similar to
           what's in this file only on-the-fly (leave it commented if you dont
           need it) -->

     
<!-- one or more |-delim of configuration|directory|dialplan -->

     
<param name="gateway-url" value="http://freeswitch.inetgroup.local/cgi-bin/astpp/astpp-fs-xml.cgi" bindings="dialplan|directory|configuration"/>

   
<!-- freeswitch.inetgroup.local = 192.168.51.28 -->
 
     
<!-- set this to provide authentication credentials to the server -->
     
<!--<param name="gateway-credentials" value="muser:mypass"/>-->
     
<!-- set to true to disable Expect: 100-continue lighttpd requires this setting -->
     
<!--<param name="disable-100-continue" value="true"/>-->

     
<!-- optional: if enabled this will disable CA root certificate checks by libcurl -->
     
<!-- note: default value is disabled. only enable if you want this! -->
     
<!-- <param name="ignore-cacert-check" value="true" /> -->
     
<!-- one or more of these imply you want to pick the exact variables that are transmitted -->
     
<!--<param name="enable-post-var" value="Unique-ID"/>-->
   
</binding>
 
</bindings>
</configuration>




Samir Doshi

unread,
Nov 17, 2014, 7:11:33 AM11/17/14
to as...@googlegroups.com
Okay please give me output of sofia status.

Also provide call log of freeswitch and apache.

Thanks,
Samir Doshi

s.leonardo

unread,
Nov 17, 2014, 8:17:43 AM11/17/14
to as...@googlegroups.com, sa...@astpp.org
thanks Samir,

 sofia status
                     
Name       Type                                          Data    State
=================================================================================================
            external
-ipv6    profile                      sip:mod_sofia@[::1]:5080    RUNNING (0)
external
-ipv6::example.com    gateway                       sip:joeuser@example.com    NOREG
                 external    profile              sip
:mod_sofia@192.168.51.28:5080    RUNNING (0)
    external
::example.com    gateway                       sip:joeuser@example.com    NOREG
           
192.168.51.28      alias                                      internal    ALIASED
           
internal-ipv6    profile                      sip:mod_sofia@[::1]:5060    RUNNING (0)
                 
internal    profile              sip:mod_sofia@192.168.51.28:5060    RUNNING (0)
=================================================================================================
4 profiles 1 alias


apache error log: I get this error everytime I try to call:
[error] [client 192.168.51.28] DBD::mysql::db do failed: Column 'calltype' cannot be null at /usr/local/astpp/astpp-common.pl line$

Freeswitch log:
freeswitch@internal> 2014-11-17 14:15:01.787387 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/1001@192.168.51.28 [8ef903ee-c862-44fd-bda5-a46547de5745]
2014-11-17 14:15:01.787387 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:01.787387 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:01.787387 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/1001@192.168.51.28) Running State Change CS_NEW
2014-11-17 14:15:01.787387 [DEBUG] sofia.c:8812 sofia/internal/1001@192.168.51.28 receiving invite from 192.168.51.121:44808 version: 1.4.13 git b942d0f 2014-11-03 19:53:00Z 64bit
2014-11-17 14:15:01.787387 [DEBUG] sofia.c:8979 IP 192.168.51.121 Rejected by acl "domains". Falling back to Digest auth.
2014-11-17 14:15:01.787387 [DEBUG] switch_core_state_machine.c:491 (sofia/internal/1001@192.168.51.28) State NEW
2014-11-17 14:15:01.787387 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:01.787387 [DEBUG] sofia.c:2067 detaching session 8ef903ee-c862-44fd-bda5-a46547de5745
2014-11-17 14:15:01.967381 [DEBUG] sofia.c:2175 Re-attaching to session 8ef903ee-c862-44fd-bda5-a46547de5745
2014-11-17 14:15:01.967381 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:01.967381 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:01.967381 [DEBUG] sofia.c:8812 sofia/internal/1001@192.168.51.28 receiving invite from 192.168.51.121:44808 version: 1.4.13 git b942d0f 2014-11-03 19:53:00Z 64bit
2014-11-17 14:15:01.967381 [DEBUG] sofia.c:8979 IP 192.168.51.121 Rejected by acl "domains". Falling back to Digest auth.
2014-11-17 14:15:02.087318 [DEBUG] sofia.c:6606 Channel sofia/internal/1001@192.168.51.28 entering state [received][100]
2014-11-17 14:15:02.087318 [DEBUG] sofia.c:6616 Remote SDP:
v
=0
o
=- 3625218898 3625218898 IN IP4 192.168.51.121
s
=pjmedia
c
=IN IP4 192.168.51.121
b
=AS:84
t
=0 0
a
=X-nat:0
m
=audio 4004 RTP/AVP 18 0 8 3 101
c
=IN IP4 192.168.51.121
b
=AS:64000
a
=fmtp:18 annexb=no
a
=rtpmap:101 telephone-event/8000
a
=fmtp:101 0-15
a
=rtcp:4005 IN IP4 192.168.51.121

2014-11-17 14:15:02.087318 [DEBUG] sofia.c:6868 (sofia/internal/1001@192.168.51.28) State Change CS_NEW -> CS_INIT
2014-11-17 14:15:02.087318 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:02.087318 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/1001@192.168.51.28) Running State Change CS_INIT
2014-11-17 14:15:02.087318 [DEBUG] switch_core_state_machine.c:512 (sofia/internal/1001@192.168.51.28) State INIT
2014-11-17 14:15:02.087318 [DEBUG] mod_sofia.c:87 sofia/internal/1001@192.168.51.28 SOFIA INIT
2014-11-17 14:15:02.087318 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1001@192.168.51.28 Standard INIT
2014-11-17 14:15:02.087318 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1001@192.168.51.28) State Change CS_INIT -> CS_ROUTING
2014-11-17 14:15:02.087318 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:02.087318 [DEBUG] switch_core_state_machine.c:512 (sofia/internal/1001@192.168.51.28) State INIT going to sleep
2014-11-17 14:15:02.087318 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/1001@192.168.51.28) Running State Change CS_ROUTING
2014-11-17 14:15:02.087318 [DEBUG] switch_channel.c:2184 (sofia/internal/1001@192.168.51.28) Callstate Change DOWN -> RINGING
2014-11-17 14:15:02.087318 [DEBUG] switch_core_state_machine.c:528 (sofia/internal/1001@192.168.51.28) State ROUTING
2014-11-17 14:15:02.087318 [DEBUG] mod_sofia.c:123 sofia/internal/1001@192.168.51.28 SOFIA ROUTING
2014-11-17 14:15:02.087318 [DEBUG] switch_core_state_machine.c:166 sofia/internal/1001@192.168.51.28 Standard ROUTING
2014-11-17 14:15:02.087318 [INFO] mod_dialplan_xml.c:558 Processing 1001 <1001>->01234567 in context default
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->unloop] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->tod_example] continue=true
Dialplan: sofia/internal/1001@192.168.51.28 Date/Time Match (PASS) [tod_example] break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 Action set(open=true)
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->holiday_example] continue=true
Dialplan: sofia/internal/1001@192.168.51.28 Date/TimeMatch (FAIL) [holiday_example] break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->global-intercept] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [global-intercept] destination_number(01234567) =~ /^886$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->group-intercept] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [group-intercept] destination_number(01234567) =~ /^\*8$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->intercept-ext] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [intercept-ext] destination_number(01234567) =~ /^\*\*(\d+)$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->redial] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [redial] destination_number(01234567) =~ /^(redial|870)$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->global] continue=true
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [global] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [global] ${default_password}(sdnetadmin) =~ /^1234$/ break=never
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [global] ${rtp_has_crypto}() =~ /^(AEAD_AES_256_GCM_8|AEAD_AES_128_GCM_8|AES_CM_256_HMAC_SHA1_80|AES_CM_192_HMAC_SHA1_80|AES_CM_128_HMAC_SHA1_80|AES_CM_256_HMAC_SHA1_32|AES_CM_192_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_32|AES_CM_128_NULL_AUTH)$/ break=never
Dialplan: sofia/internal/1001@192.168.51.28 Regex (PASS) [global] ${endpoint_disposition}(DELAYED NEGOTIATION) =~ /^(DELAYED NEGOTIATION)/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [global] ${switch_r_sdp}(v=0
o
=- 3625218898 3625218898 IN IP4 192.168.51.121
s
=pjmedia
c
=IN IP4 192.168.51.121
b
=AS:84
t
=0 0
a
=X-nat:0
m
=audio 4004 RTP/AVP 18 0 8 3 101
c
=IN IP4 192.168.51.121
b
=AS:64000
a
=fmtp:18 annexb=no
a
=rtpmap:101 telephone-event/8000
a
=fmtp:101 0-15
a
=rtcp:4005 IN IP4 192.168.51.121
) =~ /(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)/ break=never
Dialplan: sofia/internal/1001@192.168.51.28 Absolute Condition [global]
Dialplan: sofia/internal/1001@192.168.51.28 Action hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid})
Dialplan: sofia/internal/1001@192.168.51.28 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/internal/1001@192.168.51.28 Action hash(insert/${domain_name}-last_dial/global/${uuid})
Dialplan: sofia/internal/1001@192.168.51.28 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->snom-demo-2] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [snom-demo-2] destination_number(01234567) =~ /^9001$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->snom-demo-1] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [snom-demo-1] destination_number(01234567) =~ /^9000$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->eavesdrop] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [eavesdrop] destination_number(01234567) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->eavesdrop] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [eavesdrop] destination_number(01234567) =~ /^779$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->call_return] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [call_return] destination_number(01234567) =~ /^\*69$|^869$|^lcr$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->del-group] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [del-group] destination_number(01234567) =~ /^80(\d{2})$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->add-group] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [add-group] destination_number(01234567) =~ /^81(\d{2})$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->call-group-simo] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [call-group-simo] destination_number(01234567) =~ /^82(\d{2})$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->call-group-order] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [call-group-order] destination_number(01234567) =~ /^83(\d{2})$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->extension-intercom] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [extension-intercom] destination_number(01234567) =~ /^8(10[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->Local_Extension] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [Local_Extension] destination_number(01234567) =~ /^(10[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->Local_Extension_Skinny] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [Local_Extension_Skinny] destination_number(01234567) =~ /^(11[01][0-9])$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->group_dial_sales] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [group_dial_sales] destination_number(01234567) =~ /^2000$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->group_dial_support] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [group_dial_support] destination_number(01234567) =~ /^2001$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->group_dial_billing] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [group_dial_billing] destination_number(01234567) =~ /^2002$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->operator] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [operator] destination_number(01234567) =~ /^(operator|0)$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->vmain] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [vmain] destination_number(01234567) =~ /^vmain$|^4000$|^\*98$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->sip_uri] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [sip_uri] destination_number(01234567) =~ /^sip:(.*)$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->nb_conferences] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [nb_conferences] destination_number(01234567) =~ /^(30\d{2})$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->wb_conferences] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [wb_conferences] destination_number(01234567) =~ /^(31\d{2})$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->uwb_conferences] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [uwb_conferences] destination_number(01234567) =~ /^(32\d{2})$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->cdquality_conferences] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [cdquality_conferences] destination_number(01234567) =~ /^(33\d{2})$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->freeswitch_public_conf_via_sip] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [freeswitch_public_conf_via_sip] destination_number(01234567) =~ /^9(888|8888|1616|3232)$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->mad_boss_intercom] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [mad_boss_intercom] destination_number(01234567) =~ /^0911$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->mad_boss_intercom] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [mad_boss_intercom] destination_number(01234567) =~ /^0912$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->mad_boss] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [mad_boss] destination_number(01234567) =~ /^0913$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->ivr_demo] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [ivr_demo] destination_number(01234567) =~ /^5000$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->dynamic_conference] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [dynamic_conference] destination_number(01234567) =~ /^5001$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->rtp_multicast_page] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [rtp_multicast_page] destination_number(01234567) =~ /^pagegroup$|^7243$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->park] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [park] destination_number(01234567) =~ /^5900$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->unpark] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [unpark] destination_number(01234567) =~ /^5901$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->valet_park] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [valet_park] destination_number(01234567) =~ /^(6000)$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->valet_park] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [valet_park] destination_number(01234567) =~ /^((?!6000)60\d{2})$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->park] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (PASS) [park] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [park] destination_number(01234567) =~ /park\+(\d+)/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->unpark] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (PASS) [unpark] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [unpark] destination_number(01234567) =~ /^parking$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->park] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (PASS) [park] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [park] destination_number(01234567) =~ /callpark/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->unpark] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (PASS) [unpark] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [unpark] destination_number(01234567) =~ /pickup/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->wait] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [wait] destination_number(01234567) =~ /^wait$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->fax_receive] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [fax_receive] destination_number(01234567) =~ /^9178$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->fax_transmit] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [fax_transmit] destination_number(01234567) =~ /^9179$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->ringback_180] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [ringback_180] destination_number(01234567) =~ /^9180$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->ringback_183_uk_ring] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [ringback_183_uk_ring] destination_number(01234567) =~ /^9181$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->ringback_183_music_ring] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [ringback_183_music_ring] destination_number(01234567) =~ /^9182$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->ringback_post_answer_uk_ring] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [ringback_post_answer_uk_ring] destination_number(01234567) =~ /^9183$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->ringback_post_answer_music] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [ringback_post_answer_music] destination_number(01234567) =~ /^9184$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->ClueCon] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [ClueCon] destination_number(01234567) =~ /^9191$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->show_info] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [show_info] destination_number(01234567) =~ /^9192$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->video_record] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [video_record] destination_number(01234567) =~ /^9193$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->video_playback] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [video_playback] destination_number(01234567) =~ /^9194$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->delay_echo] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [delay_echo] destination_number(01234567) =~ /^9195$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->echo] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [echo] destination_number(01234567) =~ /^9196$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->milliwatt] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [milliwatt] destination_number(01234567) =~ /^9197$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->tone_stream] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [tone_stream] destination_number(01234567) =~ /^9198$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->zrtp_enrollement] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [zrtp_enrollement] destination_number(01234567) =~ /^9787$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->hold_music] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [hold_music] destination_number(01234567) =~ /^9664$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->laugh break] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [laugh break] destination_number(01234567) =~ /^9386$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->101] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [101] destination_number(01234567) =~ /^101$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->pizza_demo] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [pizza_demo] destination_number(01234567) =~ /^(pizza|74992)$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->Talking Clock Time] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [Talking Clock Time] destination_number(01234567) =~ /^9170$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->Talking Clock Date] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [Talking Clock Date] destination_number(01234567) =~ /^9171$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->Talking Clock Date and Time] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [Talking Clock Date and Time] destination_number(01234567) =~ /^9172$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->local.example.com] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [local.example.com] ${toll_allow}() =~ /local/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->domestic.example.com] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [domestic.example.com] ${toll_allow}() =~ /domestic/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->international.example.com] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [international.example.com] ${toll_allow}() =~ /international/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->astpp_callingcards] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [astpp_callingcards] destination_number(01234567) =~ /^8008018888$/ break=on-false
Dialplan: sofia/internal/1001@192.168.51.28 parsing [default->enum] continue=false
Dialplan: sofia/internal/1001@192.168.51.28 Regex (FAIL) [enum] ${module_exists(mod_enum)}(false) =~ /true/ break=on-false
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:216 (sofia/internal/1001@192.168.51.28) State Change CS_ROUTING -> CS_EXECUTE
2014-11-17 14:15:02.347391 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:528 (sofia/internal/1001@192.168.51.28) State ROUTING going to sleep
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/1001@192.168.51.28) Running State Change CS_EXECUTE
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:535 (sofia/internal/1001@192.168.51.28) State EXECUTE
2014-11-17 14:15:02.347391 [DEBUG] mod_sofia.c:178 sofia/internal/1001@192.168.51.28 SOFIA EXECUTE
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:258 sofia/internal/1001@192.168.51.28 Standard EXECUTE
EXECUTE sofia
/internal/1001@192.168.51.28 set(open=true)
2014-11-17 14:15:02.347391 [DEBUG] mod_dptools.c:1435 sofia/internal/1001@192.168.51.28 SET [open]=[true]
EXECUTE sofia
/internal/1001@192.168.51.28 hash(insert/192.168.51.28-spymap/1001/8ef903ee-c862-44fd-bda5-a46547de5745)
EXECUTE sofia
/internal/1001@192.168.51.28 hash(insert/192.168.51.28-last_dial/1001/01234567)
EXECUTE sofia
/internal/1001@192.168.51.28 hash(insert/192.168.51.28-last_dial/global/8ef903ee-c862-44fd-bda5-a46547de5745)
EXECUTE sofia
/internal/1001@192.168.51.28 export(RFC2822_DATE=Mon, 17 Nov 2014 14:15:02 +0100)
2014-11-17 14:15:02.347391 [DEBUG] switch_channel.c:1247 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 17 Nov 2014 14:15:02 +0100]
2014-11-17 14:15:02.347391 [NOTICE] switch_core_state_machine.c:315 sofia/internal/1001@192.168.51.28 has executed the last dialplan instruction, hanging up.
2014-11-17 14:15:02.347391 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/internal/1001@192.168.51.28 [CS_EXECUTE] [NORMAL_CLEARING]
2014-11-17 14:15:02.347391 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/1001@192.168.51.28 [KILL]
2014-11-17 14:15:02.347391 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:535 (sofia/internal/1001@192.168.51.28) State EXECUTE going to sleep
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/1001@192.168.51.28) Running State Change CS_HANGUP
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:735 (sofia/internal/1001@192.168.51.28) Callstate Change RINGING -> HANGUP
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/1001@192.168.51.28) State HANGUP
2014-11-17 14:15:02.347391 [DEBUG] mod_sofia.c:413 Channel sofia/internal/1001@192.168.51.28 hanging up, cause: NORMAL_CLEARING
2014-11-17 14:15:02.347391 [DEBUG] mod_sofia.c:549 Responding to INVITE with: 480
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1001@192.168.51.28 Standard HANGUP, cause: NORMAL_CLEARING
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/1001@192.168.51.28) State HANGUP going to sleep
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:504 (sofia/internal/1001@192.168.51.28) State Change CS_HANGUP -> CS_REPORTING
2014-11-17 14:15:02.347391 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/1001@192.168.51.28) Running State Change CS_REPORTING
2014-11-17 14:15:02.347391 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/1001@192.168.51.28) State REPORTING
2014-11-17 14:15:02.547324 [DEBUG] switch_core_state_machine.c:104 sofia/internal/1001@192.168.51.28 Standard REPORTING, cause: NORMAL_CLEARING
2014-11-17 14:15:02.547324 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/1001@192.168.51.28) State REPORTING going to sleep
2014-11-17 14:15:02.547324 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/1001@192.168.51.28) State Change CS_REPORTING -> CS_DESTROY
2014-11-17 14:15:02.547324 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/1001@192.168.51.28 [BREAK]
2014-11-17 14:15:02.547324 [DEBUG] switch_core_session.c:1615 Session 49 (sofia/internal/1001@192.168.51.28) Locked, Waiting on external entities
2014-11-17 14:15:02.547324 [NOTICE] switch_core_session.c:1633 Session 49 (sofia/internal/1001@192.168.51.28) Ended
2014-11-17 14:15:02.547324 [NOTICE] switch_core_session.c:1637 Close Channel sofia/internal/1001@192.168.51.28 [CS_DESTROY]
2014-11-17 14:15:02.547324 [DEBUG] switch_core_state_machine.c:626 (sofia/internal/1001@192.168.51.28) Running State Change CS_DESTROY
2014-11-17 14:15:02.547324 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/1001@192.168.51.28) State DESTROY
2014-11-17 14:15:02.547324 [DEBUG] mod_sofia.c:323 sofia/internal/1001@192.168.51.28 SOFIA DESTROY
2014-11-17 14:15:02.547324 [DEBUG] switch_core_state_machine.c:111 sofia/internal/1001@192.168.51.28 Standard DESTROY
2014-11-17 14:15:02.547324 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/1001@192.168.51.28) State DESTROY going to sleep

Samir Doshi

unread,
Nov 17, 2014, 8:36:59 AM11/17/14
to as...@googlegroups.com
Sofia status should display default sip profile.
Please reload mod_sofia and then check.

Thanks,
Samir Doshi

s.leonardo

unread,
Nov 17, 2014, 8:47:05 AM11/17/14
to as...@googlegroups.com, sa...@astpp.org
ok, sofia status now

Inserisci qui il codice...freeswitch@internal> sofia status
                     
Name       Type                                          Data    State
=================================================================================================
                 
default    profile              sip:mod_sofia@192.168.51.28:5060    RUNNING (0)
     
default::Yourgateway    gateway                     sip:username@192.168.1.10    NOREG
           
192.168.51.28      alias                                       default    ALIASED
=================================================================================================
1 profile 1 alias

Thanks
Leonardo

s.leonardo

unread,
Nov 17, 2014, 4:47:07 PM11/17/14
to as...@googlegroups.com, sa...@astpp.org
anyway I get the same error...

Samir Doshi

unread,
Nov 17, 2014, 7:53:44 PM11/17/14
to as...@googlegroups.com

Please post your fs and apache log for same call.

Sent from mobile

--
=====================================================================
Please contact at astpp....@gmail.com for commercial support.
Website : http://www.astpp.org
Documentation : http://wiki.astpp.org
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.

s.leonardo

unread,
Nov 18, 2014, 3:40:06 AM11/18/14
to as...@googlegroups.com, sa...@astpp.org
apache error.log

[Mon Nov 17 14:45:15 2014] [error] [client 192.168.51.28] DBD::mysql::db do failed: Column 'calltype' cannot be null at /usr/local/astpp/astpp-common.pl line$
[Mon Nov 17 14:47:26 2014] [error] [client 192.168.51.28] DBD::mysql::db do failed: Column 'calltype' cannot be null at /usr/local/astpp/astpp-common.pl line$
[Mon Nov 17 14:55:29 2014] [error] [client 192.168.51.28] DBD::mysql::db do failed: Column 'calltype' cannot be null at /usr/local/astpp/astpp-common.pl line$
[Tue Nov 18 09:06:14 2014] [error] [client 192.168.51.28] DBD::mysql::db do failed: Column 'calltype' cannot be null at /usr/local/astpp/astpp-common.pl line$
[Tue Nov 18 09:06:44 2014] [error] [client 192.168.51.28] DBD::mysql::db do failed: Column 'calltype' cannot be null at /usr/local/astpp/astpp-common.pl line$
[Tue Nov 18 09:12:09 2014] [error] [client 192.168.51.28] DBD::mysql::db do failed: Column 'calltype' cannot be null at /usr/local/astpp/astpp-common.pl line$


fs log

2014-11-18 09:12:09.187389 [NOTICE] switch_channel.c:1055 New Channel sofia/default/10...@192.168.51.28 [d526bc40-5c32-4b3b-ba30-65803aedf613]
2014-11-18 09:12:09.187389 [DEBUG] switch_core_session.c:1053 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.187389 [DEBUG] switch_core_session.c:1053 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.187389 [DEBUG] switch_core_state_machine.c:472 (sofia/default/10...@192.168.51.28) Running State Change CS_NEW
2014-11-18 09:12:09.187389 [DEBUG] sofia.c:8812 sofia/default/10...@192.168.51.28 receiving invite from 192.168.51.121:42521 version: 1.4.13 git b942d0f 2014-11-03 19:53:00Z 64bit
2014-11-18 09:12:09.187389 [DEBUG] sofia.c:8979 IP 192.168.51.121 Rejected by acl "default". Falling back to Digest auth.
2014-11-18 09:12:09.207319 [WARNING] sofia_reg.c:1740 SIP auth challenge (INVITE) on sofia profile 'default' for [0123...@192.168.51.28] from ip 192.168.51.121
2014-11-18 09:12:09.207319 [DEBUG] switch_core_state_machine.c:491 (sofia/default/10...@192.168.51.28) State NEW
2014-11-18 09:12:09.207319 [DEBUG] switch_core_session.c:1053 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.207319 [DEBUG] sofia.c:2067 detaching session d526bc40-5c32-4b3b-ba30-65803aedf613
2014-11-18 09:12:09.287378 [DEBUG] sofia.c:2175 Re-attaching to session d526bc40-5c32-4b3b-ba30-65803aedf613
2014-11-18 09:12:09.287378 [DEBUG] switch_core_session.c:1053 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.287378 [DEBUG] switch_core_session.c:1053 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.307322 [DEBUG] sofia.c:8812 sofia/default/10...@192.168.51.28 receiving invite from 192.168.51.121:42521 version: 1.4.13 git b942d0f 2014-11-03 19:53:00Z 64bit
2014-11-18 09:12:09.307322 [DEBUG] sofia.c:8979 IP 192.168.51.121 Rejected by acl "default". Falling back to Digest auth.
2014-11-18 09:12:09.427325 [DEBUG] sofia.c:6606 Channel sofia/default/10...@192.168.51.28 entering state [received][100]
2014-11-18 09:12:09.427325 [DEBUG] sofia.c:6616 Remote SDP:
v=0
o=- 3625287125 3625287125 IN IP4 192.168.51.121

s=pjmedia
c=IN IP4 192.168.51.121
b=AS:84
t=0 0
a=X-nat:0
m=audio 4004 RTP/AVP 18 0 8 3 101
c=IN IP4 192.168.51.121
b=AS:64000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtcp:4005 IN IP4 192.168.51.121

2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[SPEEX:99:32000:20:44000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[L16:70:22050:20:705600:2]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[PROXY:0:8000:20:0:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3670 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[AMR:96:8000:20:12200:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [G729:18:8000:20:8000:1]/[G723:4:8000:30:6300:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3670 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[SPEEX:99:32000:20:44000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[L16:70:22050:20:705600:2]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PROXY:0:8000:20:0:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[AMR:96:8000:20:12200:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G723:4:8000:30:6300:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[SPEEX:99:32000:20:44000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[L16:70:22050:20:705600:2]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3670 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PROXY:0:8000:20:0:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[AMR:96:8000:20:12200:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G723:4:8000:30:6300:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [GSM:3:8000:20:13200:1]/[SPEEX:99:32000:20:44000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [GSM:3:8000:20:13200:1]/[L16:70:22050:20:705600:2]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PROXY:0:8000:20:0:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [GSM:3:8000:20:13200:1]/[AMR:96:8000:20:12200:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3615 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G723:4:8000:30:6300:1]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3531 Set telephone-event payload to 101
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:2473 Set Codec sofia/default/10...@192.168.51.28 G729/8000 20 ms 160 samples 8000 bits 1 channels
2014-11-18 09:12:09.427325 [DEBUG] switch_core_codec.c:111 sofia/default/10...@192.168.51.28 Original read codec set to G729:18
2014-11-18 09:12:09.427325 [DEBUG] switch_core_media.c:3861 Set 2833 dtmf send/recv payload to 101
2014-11-18 09:12:09.427325 [DEBUG] sofia.c:6888 (sofia/default/10...@192.168.51.28) State Change CS_NEW -> CS_INIT
2014-11-18 09:12:09.427325 [DEBUG] switch_core_session.c:1388 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_state_machine.c:472 (sofia/default/10...@192.168.51.28) Running State Change CS_INIT
2014-11-18 09:12:09.427325 [DEBUG] switch_core_state_machine.c:512 (sofia/default/10...@192.168.51.28) State INIT
2014-11-18 09:12:09.427325 [DEBUG] mod_sofia.c:87 sofia/default/10...@192.168.51.28 SOFIA INIT
2014-11-18 09:12:09.427325 [DEBUG] switch_core_state_machine.c:40 sofia/default/10...@192.168.51.28 Standard INIT
2014-11-18 09:12:09.427325 [DEBUG] switch_core_state_machine.c:48 (sofia/default/10...@192.168.51.28) State Change CS_INIT -> CS_ROUTING
2014-11-18 09:12:09.427325 [DEBUG] switch_core_session.c:1388 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.427325 [DEBUG] switch_core_state_machine.c:512 (sofia/default/10...@192.168.51.28) State INIT going to sleep
2014-11-18 09:12:09.427325 [DEBUG] switch_core_state_machine.c:472 (sofia/default/10...@192.168.51.28) Running State Change CS_ROUTING
2014-11-18 09:12:09.427325 [DEBUG] switch_channel.c:2184 (sofia/default/10...@192.168.51.28) Callstate Change DOWN -> RINGING
2014-11-18 09:12:09.427325 [DEBUG] switch_core_state_machine.c:528 (sofia/default/10...@192.168.51.28) State ROUTING
2014-11-18 09:12:09.427325 [DEBUG] mod_sofia.c:123 sofia/default/10...@192.168.51.28 SOFIA ROUTING
2014-11-18 09:12:09.427325 [DEBUG] switch_core_state_machine.c:166 sofia/default/10...@192.168.51.28 Standard ROUTING
2014-11-18 09:12:09.427325 [INFO] mod_dialplan_xml.c:558 Processing 1001 <1001>->01234567 in context default
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->unloop] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->tod_example] continue=true
Dialplan: sofia/default/10...@192.168.51.28 Date/Time Match (PASS) [tod_example] break=on-false
Dialplan: sofia/default/10...@192.168.51.28 Action set(open=true)
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->holiday_example] continue=true
Dialplan: sofia/default/10...@192.168.51.28 Date/TimeMatch (FAIL) [holiday_example] break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->global-intercept] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [global-intercept] destination_number(01234567) =~ /^886$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->group-intercept] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [group-intercept] destination_number(01234567) =~ /^\*8$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->intercept-ext] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [intercept-ext] destination_number(01234567) =~ /^\*\*(\d+)$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->redial] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [redial] destination_number(01234567) =~ /^(redial|870)$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->global] continue=true
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [global] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [global] ${default_password}(sdnetadmin) =~ /^1234$/ break=never
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [global] ${rtp_has_crypto}() =~ /^(AEAD_AES_256_GCM_8|AEAD_AES_128_GCM_8|AES_CM_256_HMAC_SHA1_80|AES_CM_192_HMAC_SHA1_80|AES_CM_128_HMAC_SHA1_80|AES_CM_256_HMAC_SHA1_32|AES_CM_192_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_32|AES_CM_128_NULL_AUTH)$/ break=never
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [global] ${endpoint_disposition}(RECEIVED) =~ /^(DELAYED NEGOTIATION)/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->snom-demo-2] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [snom-demo-2] destination_number(01234567) =~ /^9001$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->snom-demo-1] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [snom-demo-1] destination_number(01234567) =~ /^9000$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->eavesdrop] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [eavesdrop] destination_number(01234567) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->eavesdrop] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [eavesdrop] destination_number(01234567) =~ /^779$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->call_return] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [call_return] destination_number(01234567) =~ /^\*69$|^869$|^lcr$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->del-group] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [del-group] destination_number(01234567) =~ /^80(\d{2})$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->add-group] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [add-group] destination_number(01234567) =~ /^81(\d{2})$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->call-group-simo] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [call-group-simo] destination_number(01234567) =~ /^82(\d{2})$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->call-group-order] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [call-group-order] destination_number(01234567) =~ /^83(\d{2})$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->extension-intercom] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [extension-intercom] destination_number(01234567) =~ /^8(10[01][0-9])$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->Local_Extension] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [Local_Extension] destination_number(01234567) =~ /^(10[01][0-9])$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->Local_Extension_Skinny] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [Local_Extension_Skinny] destination_number(01234567) =~ /^(11[01][0-9])$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->group_dial_sales] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [group_dial_sales] destination_number(01234567) =~ /^2000$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->group_dial_support] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [group_dial_support] destination_number(01234567) =~ /^2001$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->group_dial_billing] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [group_dial_billing] destination_number(01234567) =~ /^2002$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->operator] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [operator] destination_number(01234567) =~ /^(operator|0)$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->vmain] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [vmain] destination_number(01234567) =~ /^vmain$|^4000$|^\*98$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->sip_uri] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [sip_uri] destination_number(01234567) =~ /^sip:(.*)$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->nb_conferences] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [nb_conferences] destination_number(01234567) =~ /^(30\d{2})$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->wb_conferences] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [wb_conferences] destination_number(01234567) =~ /^(31\d{2})$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->uwb_conferences] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [uwb_conferences] destination_number(01234567) =~ /^(32\d{2})$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->cdquality_conferences] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [cdquality_conferences] destination_number(01234567) =~ /^(33\d{2})$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->freeswitch_public_conf_via_sip] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [freeswitch_public_conf_via_sip] destination_number(01234567) =~ /^9(888|8888|1616|3232)$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->mad_boss_intercom] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [mad_boss_intercom] destination_number(01234567) =~ /^0911$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->mad_boss_intercom] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [mad_boss_intercom] destination_number(01234567) =~ /^0912$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->mad_boss] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [mad_boss] destination_number(01234567) =~ /^0913$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->ivr_demo] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [ivr_demo] destination_number(01234567) =~ /^5000$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->dynamic_conference] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [dynamic_conference] destination_number(01234567) =~ /^5001$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->rtp_multicast_page] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [rtp_multicast_page] destination_number(01234567) =~ /^pagegroup$|^7243$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->park] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [park] destination_number(01234567) =~ /^5900$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->unpark] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [unpark] destination_number(01234567) =~ /^5901$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->valet_park] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [valet_park] destination_number(01234567) =~ /^(6000)$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->valet_park] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [valet_park] destination_number(01234567) =~ /^((?!6000)60\d{2})$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->park] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (PASS) [park] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [park] destination_number(01234567) =~ /park\+(\d+)/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->unpark] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (PASS) [unpark] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [unpark] destination_number(01234567) =~ /^parking$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->park] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (PASS) [park] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [park] destination_number(01234567) =~ /callpark/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->unpark] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (PASS) [unpark] source(mod_sofia) =~ /mod_sofia/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [unpark] destination_number(01234567) =~ /pickup/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->wait] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [wait] destination_number(01234567) =~ /^wait$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->fax_receive] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [fax_receive] destination_number(01234567) =~ /^9178$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->fax_transmit] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [fax_transmit] destination_number(01234567) =~ /^9179$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->ringback_180] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [ringback_180] destination_number(01234567) =~ /^9180$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->ringback_183_uk_ring] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [ringback_183_uk_ring] destination_number(01234567) =~ /^9181$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->ringback_183_music_ring] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [ringback_183_music_ring] destination_number(01234567) =~ /^9182$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->ringback_post_answer_uk_ring] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [ringback_post_answer_uk_ring] destination_number(01234567) =~ /^9183$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->ringback_post_answer_music] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [ringback_post_answer_music] destination_number(01234567) =~ /^9184$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->ClueCon] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [ClueCon] destination_number(01234567) =~ /^9191$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->show_info] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [show_info] destination_number(01234567) =~ /^9192$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->video_record] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [video_record] destination_number(01234567) =~ /^9193$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->video_playback] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [video_playback] destination_number(01234567) =~ /^9194$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->delay_echo] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [delay_echo] destination_number(01234567) =~ /^9195$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->echo] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [echo] destination_number(01234567) =~ /^9196$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->milliwatt] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [milliwatt] destination_number(01234567) =~ /^9197$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->tone_stream] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [tone_stream] destination_number(01234567) =~ /^9198$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->zrtp_enrollement] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [zrtp_enrollement] destination_number(01234567) =~ /^9787$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->hold_music] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [hold_music] destination_number(01234567) =~ /^9664$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->laugh break] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [laugh break] destination_number(01234567) =~ /^9386$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->101] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [101] destination_number(01234567) =~ /^101$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->pizza_demo] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [pizza_demo] destination_number(01234567) =~ /^(pizza|74992)$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->Talking Clock Time] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [Talking Clock Time] destination_number(01234567) =~ /^9170$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->Talking Clock Date] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [Talking Clock Date] destination_number(01234567) =~ /^9171$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->Talking Clock Date and Time] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [Talking Clock Date and Time] destination_number(01234567) =~ /^9172$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->local.example.com] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [local.example.com] ${toll_allow}() =~ /local/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->domestic.example.com] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [domestic.example.com] ${toll_allow}() =~ /domestic/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->international.example.com] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [international.example.com] ${toll_allow}() =~ /international/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->astpp_callingcards] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [astpp_callingcards] destination_number(01234567) =~ /^8008018888$/ break=on-false
Dialplan: sofia/default/10...@192.168.51.28 parsing [default->enum] continue=false
Dialplan: sofia/default/10...@192.168.51.28 Regex (FAIL) [enum] ${module_exists(mod_enum)}(false) =~ /true/ break=on-false
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:216 (sofia/default/10...@192.168.51.28) State Change CS_ROUTING -> CS_EXECUTE
2014-11-18 09:12:09.667384 [DEBUG] switch_core_session.c:1388 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:528 (sofia/default/10...@192.168.51.28) State ROUTING going to sleep
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:472 (sofia/default/10...@192.168.51.28) Running State Change CS_EXECUTE
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:535 (sofia/default/10...@192.168.51.28) State EXECUTE
2014-11-18 09:12:09.667384 [DEBUG] mod_sofia.c:178 sofia/default/10...@192.168.51.28 SOFIA EXECUTE
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:258 sofia/default/10...@192.168.51.28 Standard EXECUTE
EXECUTE sofia/default/10...@192.168.51.28 set(open=true)
2014-11-18 09:12:09.667384 [DEBUG] mod_dptools.c:1435 sofia/default/10...@192.168.51.28 SET [open]=[true]
2014-11-18 09:12:09.667384 [NOTICE] switch_core_state_machine.c:315 sofia/default/10...@192.168.51.28 has executed the last dialplan instruction, hanging up.
2014-11-18 09:12:09.667384 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/default/10...@192.168.51.28 [CS_EXECUTE] [NORMAL_CLEARING]
2014-11-18 09:12:09.667384 [DEBUG] switch_channel.c:3222 Send signal sofia/default/10...@192.168.51.28 [KILL]
2014-11-18 09:12:09.667384 [DEBUG] switch_core_session.c:1388 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:535 (sofia/default/10...@192.168.51.28) State EXECUTE going to sleep
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:472 (sofia/default/10...@192.168.51.28) Running State Change CS_HANGUP
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:735 (sofia/default/10...@192.168.51.28) Callstate Change RINGING -> HANGUP
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:737 (sofia/default/10...@192.168.51.28) State HANGUP
2014-11-18 09:12:09.667384 [DEBUG] mod_sofia.c:413 Channel sofia/default/10...@192.168.51.28 hanging up, cause: NORMAL_CLEARING
2014-11-18 09:12:09.667384 [DEBUG] mod_sofia.c:549 Responding to INVITE with: 480
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:60 sofia/default/10...@192.168.51.28 Standard HANGUP, cause: NORMAL_CLEARING
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:737 (sofia/default/10...@192.168.51.28) State HANGUP going to sleep
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:504 (sofia/default/10...@192.168.51.28) State Change CS_HANGUP -> CS_REPORTING
2014-11-18 09:12:09.667384 [DEBUG] switch_core_session.c:1388 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:472 (sofia/default/10...@192.168.51.28) Running State Change CS_REPORTING
2014-11-18 09:12:09.667384 [DEBUG] switch_core_state_machine.c:823 (sofia/default/10...@192.168.51.28) State REPORTING
2014-11-18 09:12:09.847315 [DEBUG] switch_core_state_machine.c:104 sofia/default/10...@192.168.51.28 Standard REPORTING, cause: NORMAL_CLEARING
2014-11-18 09:12:09.847315 [DEBUG] switch_core_state_machine.c:823 (sofia/default/10...@192.168.51.28) State REPORTING going to sleep
2014-11-18 09:12:09.847315 [DEBUG] switch_core_state_machine.c:498 (sofia/default/10...@192.168.51.28) State Change CS_REPORTING -> CS_DESTROY
2014-11-18 09:12:09.847315 [DEBUG] switch_core_session.c:1388 Send signal sofia/default/10...@192.168.51.28 [BREAK]
2014-11-18 09:12:09.847315 [DEBUG] switch_core_session.c:1615 Session 60 (sofia/default/10...@192.168.51.28) Locked, Waiting on external entities
2014-11-18 09:12:09.847315 [NOTICE] switch_core_session.c:1633 Session 60 (sofia/default/10...@192.168.51.28) Ended
2014-11-18 09:12:09.847315 [NOTICE] switch_core_session.c:1637 Close Channel sofia/default/10...@192.168.51.28 [CS_DESTROY]
2014-11-18 09:12:09.847315 [DEBUG] switch_core_state_machine.c:626 (sofia/default/10...@192.168.51.28) Running State Change CS_DESTROY
2014-11-18 09:12:09.847315 [DEBUG] switch_core_state_machine.c:636 (sofia/default/10...@192.168.51.28) State DESTROY
2014-11-18 09:12:09.847315 [DEBUG] mod_sofia.c:323 sofia/default/10...@192.168.51.28 SOFIA DESTROY
2014-11-18 09:12:09.847315 [DEBUG] switch_core_state_machine.c:111 sofia/default/10...@192.168.51.28 Standard DESTROY
2014-11-18 09:12:09.847315 [DEBUG] switch_core_state_machine.c:636 (sofia/default/10...@192.168.51.28) State DESTROY going to sleep
2014-11-18 09:18:38.587382 [WARNING] sofia_reg.c:1740 SIP auth challenge (REGISTER) on sofia profile 'default' for [10...@192.168.51.28] from ip 192.168.51.119
2014-11-18 09:33:33.867380 [WARNING] sofia_reg.c:1740 SIP auth challenge (REGISTER) on sofia profile 'default' for [10...@192.168.51.28] from ip 192.168.51.119



thanks

s.leonardo

unread,
Nov 18, 2014, 3:46:44 AM11/18/14
to as...@googlegroups.com, sa...@astpp.org
Another question:
you said ASTPP is not using FS dialplan but it generates its own. ok, So where I can check and modify the ASTPP dialplan?

thank you

Samir Doshi

unread,
Nov 18, 2014, 4:17:35 AM11/18/14
to as...@googlegroups.com
Hi,

This is the problem.

2014-11-18 09:12:09.187389 [DEBUG] sofia.c:8979 IP 192.168.51.121 Rejected by acl "default". Falling back to Digest auth.

Please add ip address under acl from ip map module. Make sure to add it under provider account.

Thanks,
Samir Doshi

Samir Doshi

unread,
Nov 18, 2014, 4:20:08 AM11/18/14
to as...@googlegroups.com
You can modify it from perl scripts.

Thanks,
Samir Doshi

s.leonardo

unread,
Nov 18, 2014, 5:27:28 AM11/18/14
to as...@googlegroups.com, sa...@astpp.org
1) How? which scripts? I haven't found any information about that and how to do it.



2)
2014-11-18 09:12:09.187389 [DEBUG] sofia.c:8979 IP 192.168.51.121 Rejected by acl "default". Falling back to Digest auth.
2014-11-18 09:12:09.207319 [WARNING] sofia_reg.c:1740 SIP auth challenge (INVITE) on sofia profile 'default' for [0123...@192.168.51.28] from ip 192.168.51.121
2014-11-18 09:12:09.207319 [DEBUG] switch_core_state_machine.c:
491 (sofia/default/10...@192.168.51.28) State NEW
2014-11-18 09:12:09.207319 [DEBUG] switch_core_session.c:1053 Send signal sofia/default/10...@192.168.51.28 [BREAK]

ACL are closed due Security Network Policy. We are using user and password for authentication.

Samir Doshi

unread,
Nov 18, 2014, 12:54:55 PM11/18/14
to as...@googlegroups.com
Hi, 

1. That you will need to find by yourself according to your requirement. 

2. "ACL are closed due Security Network Policy. We are using user and password for authentication.", Where you have configured this user and password? OR Let me ask what is your inbound/incoming call flow? Please provide as much as possible information. So, we can help you out quickly.

Thanks,
Samir Doshi

s.leonardo

unread,
Nov 19, 2014, 3:17:53 AM11/19/14
to as...@googlegroups.com, sa...@astpp.org
Hi Samir

maybe I got misunderstood.
I do not need informations about dialplan. I need informations about your script.
I have all the rules I need to implement in the dialplan to make it working according to italian TELCO rules, but I do not know hot to implement it in ASTP, i.e. Where I do have to write the rules (I expect Regex expressions, but I'm open to every other implementation). When you say "use perl script" I expect some documentation about script and its parameters, invocation, and maybe some example. I haven't found any of these.

Regardin ACL. Acl are closed due to rules set by network admin, I can modify them in test platform, but I'll not be allowed to modify them in production environment.
We have created two customers (1000 and 1001) both with password "test", and both are authentication via softphone on two tablets.
We have created two SIP devices, and we can sse both in freeswitch.
Then we have set two DID 01234567 for "1000" device and "02345678" for 1001 device.
Actually I can dial "1000" from "1001" device , and "1001" from "1000" device, but I cannot dial 02345678 nor 01234567

I suppose is because dialplan do not recognize the two numbers and phone numbers. but both are well formed according to Italian rules.
Please referr to the already attached freeswitch log which reports all REGEX failed when dialing 02345678

We have done all configurations via ASTPP, but we are still not able to place a call.

s.leonardo

unread,
Nov 20, 2014, 9:35:59 AM11/20/14
to as...@googlegroups.com, sa...@astpp.org
any ideas?

thank you
Leonardo

Samir Doshi

unread,
Nov 21, 2014, 2:43:51 AM11/21/14
to as...@googlegroups.com
Hi, 

Please find my comments inline. 

Thanks,
Samir Doshi

On Wed, Nov 19, 2014 at 1:47 PM, s.leonardo <studente...@gmail.com> wrote:
Hi Samir

maybe I got misunderstood.
I do not need informations about dialplan. I need informations about your script.
I have all the rules I need to implement in the dialplan to make it working according to italian TELCO rules, but I do not know hot to implement it in ASTP, i.e. Where I do have to write the rules (I expect Regex expressions, but I'm open to every other implementation). When you say "use perl script" I expect some documentation about script and its parameters, invocation, and maybe some example. I haven't found any of these.
[Samir] : I think you should explain your routing terminology rather than thinking about modifying dialplans directly. I am sure you will be able to handle that using astpp frontend.

Regardin ACL. Acl are closed due to rules set by network admin, I can modify them in test platform, but I'll not be allowed to modify them in production environment.
We have created two customers (1000 and 1001) both with password "test", and both are authentication via softphone on two tablets.
We have created two SIP devices, and we can sse both in freeswitch.
Then we have set two DID 01234567 for "1000" device and "02345678" for 1001 device.
Actually I can dial "1000" from "1001" device , and "1001" from "1000" device, but I cannot dial 02345678 nor 01234567

I suppose is because dialplan do not recognize the two numbers and phone numbers. but both are well formed according to Italian rules.
Please referr to the already attached freeswitch log which reports all REGEX failed when dialing 02345678

We have done all configurations via ASTPP, but we are still not able to place a call.
[Samir] : Do you see incoming call logs in freeswitch for your DID? If yes then send me logs. 
Reply all
Reply to author
Forward
0 new messages