[Freeswitch-users] Bind extension to an IP address

Anthony Minessale anthony.minessale at gmail.com
Fri Jun 29 22:05:36 MSD 2012


they do work on gateways

<variables> tag with <variable> tags within it

the caveat is the calls can't always be tied back to the gateway.
If you use something that handles sip correctly there should be some
hints in the contact addr we register with to find your way back to
the gateway and parse the variables.



On Thu, Jun 28, 2012 at 7:17 PM, Richard Brady <rnbrady at gmail.com> wrote:
>>> Is there an equivalent for gateways?
>>>
>>> I can't find a way to bind incoming calls from a CIDR to a particular gateway.
>>>
>> Just curious - what functionality do you need this for?
>
> In order to configure DTMF per provider, i.e. per gateway:
>
>  <gateway name="provider1">
>    ...
>    <variables>
>      <variable direction="both" name="dtmf_type" value="info">
>    </variables>
>  </gateway>
>
>  <gateway name="provider2">
>    ...
>    <variables>
>      <variable direction="both" name="dtmf_type" value="rfc2833">
>    </variables>
>  </gateway>
>
> This works for outbound calls but not for inbound calls, even though I
> have specified direction="both".
>
> I believe that direction="both" and direction="inbound" will only work
> on a SIP profile, not on a gateway. But I'm hoping to be corrected.
>
> Richard
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list