[Freeswitch-users] Dialing Out Problem via Gateway

Alberto Ceccarelli cyberalby at gmail.com
Tue Jan 20 01:06:48 PST 2009


Sorry, but the problem remains.
I can add some details.
After response, we can listen the DTMF tones, but not the voice.

Now my conf. files:

vars.xml:
  <X-PRE-PROCESS cmd="set" data="outbound_caller_name=FreeSWITCH"/>
  <X-PRE-PROCESS cmd="set" data="outbound_caller_id=0000000000"/>


dialplan\default.xml:
    <extension name="Local_Extension">
      <condition field="destination_number" expression="^(10[01][0-9])$">
        <action application="set" data="dialed_extension=$1"/>
        <action application="export" data="dialed_extension=$1"/>
      </condition>
      <condition field="destination_number"
expression="^${caller_id_number}$">
        <action application="set"
data="voicemail_authorized=${sip_authorized}"/>
        <action application="answer"/>
        <action application="sleep" data="1000"/>
        <action application="voicemail" data="check default ${domain_name}
${dialed_extension}"/>
        <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s]
<app> -->
        <anti-action application="bind_meta_app" data="1 b s
execute_extension::dx XML features"/>
        <anti-action application="bind_meta_app" data="2 b s
record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
        <anti-action application="bind_meta_app" data="3 b s
execute_extension::cf XML features"/>
        <anti-action application="set" data="ringback=${us-ring}"/>
        <anti-action application="set"
data="transfer_ringback=$${hold_music}"/>
        <anti-action application="set" data="call_timeout=30"/>
        <!-- <anti-action application="set"
data="sip_exclude_contact=${network_addr}"/> -->
        <anti-action application="set" data="hangup_after_bridge=true"/>
        <!--<anti-action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/>
-->
        <anti-action application="set" data="continue_on_fail=true"/>
        <anti-action application="db"
data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/>
        <anti-action application="db"
data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/>
        <anti-action application="set"
data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name}
var callgroup)}"/>
        <!--<anti-action application="export"
data="nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name}
var sip_secure_media)}"/>-->
        <anti-action application="db"
data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/>
        <anti-action application="bridge" data="user/${dialed_extension}@
${domain_name}"/>
        <anti-action application="answer"/>
        <anti-action application="sleep" data="1000"/>
        <anti-action application="voicemail" data="default ${domain_name}
${dialed_extension}"/>
      </condition>
    </extension>
Ciao.
Alby.


2009/1/19 Brian West <brian at freeswitch.org>

You modified the Local_Extension in default.xml
>
> 2009-01-17 16:10:08 [DEBUG] mod_dialplan_xml.c:117 parse_exten()
> Regex: [Local_Extension] destination_number(1008) =~ /^+39020000000$/
> 2009-01-17 16:10:08 [ERR] switch_regex.c:94 switch_regex_perform()
> COMPILE ERROR: 1 [nothing to repeat][^+39020000000$]
> 2009-01-17 16:10:08 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
> mismatch
>
>
> Remove that match for the /^+39020000000$/ and put it back to the
> default value... it should work fine.
>
> /b
>
> On Jan 17, 2009, at 10:02 AM, Alberto Ceccarelli wrote:
>
> > <freeswitch.log>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090120/2f07bb7e/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.zip
Type: application/zip
Size: 28329 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090120/2f07bb7e/attachment-0002.zip 


More information about the FreeSWITCH-users mailing list