[Freeswitch-users] Trunk Calls

Ali Jibran ali.jibran44 at gmail.com
Tue Apr 21 14:57:29 MSD 2015


Thanks for the quick reply.

Yeah I forward all calls to an IVR.

<extension name="ivr">
    <condition field="destination_number" expression="^(1234)$">
<action application="ivr" data="allonclick"/>
<action application="callcenter" data="support at default"/>
    </condition>
</extension>

The issue is how do I control depending on what number is dialed? As you
can see I have explicitly declared in the gateway conf to route to 1234. If
I don't put that there it looks for my voipfone-username in the dialplan
and not the number that I have actually dialed. Could this be a trunk
issue?


On Tue, Apr 21, 2015 at 3:50 PM, Alex Balashov <abalashov at evaristesys.com>
wrote:

> Do you have a generic condition rule in the dialplan for all incoming
> traffic from this provider? If so, you need to add specific rules which
> prescribe different actions depending on number dialed.
>
>  --
> Alex Balashov | Principal | Evariste Systems LLC
> 303 Perimeter Center North, Suite 300
> Atlanta, GA 30346
> United States
>
> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> Sent from my BlackBerry.
>   *From: *Ali Jibran
> *Sent: *Tuesday, April 21, 2015 14:48
> *To: *freeswitch-users at lists.freeswitch.org
> *Reply To: *FreeSWITCH Users Help
> *Subject: *[Freeswitch-users] Trunk Calls
>
> Hi all.
>
> I have voipfone trunked to freeswitch. Everything works fine. But now I've
> bought another number from the same provider.
> The call comes in but executes the same IVR at 1234. How do I change the
> dialplan that the call executes different IVR depending on the number
> dialed.
>
> here is the gateway conf:
> <include>
>   <gateway name="voipfone">
>     <param name="username" value="XXXXX"/>
>     <param name="realm" value="sip.voipfone.net"/>
>     <param name="password" value="XXXXX"/>
>     <param name="extension" value="1234"/>
>     <param name="expire-seconds" value="60"/>
>   </gateway>
> </include>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20150421/71e19a04/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list