[Freeswitch-users] Can't configure outbound call

Brian West brian at freeswitch.org
Mon May 11 15:28:00 PDT 2009


You want to collect 11 or 10 digits and send it out flowroute which  
requires 1+ number.  The 1? makes the one optional.  So now we only  
collect 10 digits and append the on in the bridge line.


    <extension name="Long Distance - flowroute">
     <condition field="destination_number" expression="^1?(\d{10})$">
       <action application="set"  
data="effective_caller_id_number=10000000000"/>
       <!-- If your provider does not provide ringback (180 or 183)  
you may simulate ringback by uncommenting the following line. -->
       <!-- action application="ringback" /-->
       <action application="bridge" data="sofia/gateway/flowroute/ 
flowrouteAccount#1$1"/>
      </condition>
    </extension>

/b

On May 11, 2009, at 5:23 PM, Lars Zeb wrote:

> I'm sorry, but do not understand what it is that I should try. Are you
> saying to change the data attribute in the action command of the  
> dialplan?

Brian West
brian at freeswitch.org

-- Meet us at ClueCon!  http://www.cluecon.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090511/1f9f0771/attachment-0002.html 


More information about the FreeSWITCH-users mailing list