[Freeswitch-users] Changing DTMF Type for inbound gateway?

Avi Marcus avi at avimarcus.net
Fri Mar 1 17:31:57 MSK 2013


Well it's not a gateway, they just send calls to me.
I set their IP in the ACL in a user, and it successfully auths as that user
and takes those variables.

The variables should work the same as gateway variable in the same stage
for both?
The wiki says:
"... set the variable in the SIP gateway or user profile (NOT in the
channel, it must be before CS_INIT)"

Is that correct?

-Avi

On Fri, Mar 1, 2013 at 4:20 PM, Steven Ayre <steveayre at gmail.com> wrote:

> Gateway variables are set on the <gateway> entry.
>
> But I haven't tested the inbound ones extensively.
>
> -Steve
>
>
>
>
> On 1 March 2013 12:12, Avi Marcus <avi at avimarcus.net> wrote:
>
>> I tried both before, same thing.
>> Does it really work when set in the user's directory xml file?
>>
>> -Avi
>>
>>
>> On Fri, Mar 1, 2013 at 1:41 PM, Steven Ayre <steveayre at gmail.com> wrote:
>>
>>> Try dtmf_type not dtmf-type.
>>>
>>> -Steve
>>>
>>>
>>>
>>> On 1 March 2013 09:25, Avi Marcus <avi at avimarcus.net> wrote:
>>>
>>>> http://wiki.freeswitch.org/wiki/Sofia.conf.xml#DTMF says that you can
>>>> set a user variable, so e.g. when an inbound gateway ACLs as that user, you
>>>> can set the dtmf type.
>>>>
>>>> As per the wiki, I set: <variable direction="inbound" name="dtmf-type"
>>>> value="none"/>
>>>> and do indeed see the variable in my log.
>>>>
>>>> However, in the SIP 200 that FS sends back, I still see this in the
>>>> SDP: rtpmap:101 telephone-event/8000
>>>>
>>>> I tried with sofia loglevel all 9 (I never used that before...) but
>>>> didn't really see anything related to DTMF.
>>>>
>>>> Am I missing something here?
>>>>
>>>> -Avi
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>> 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
>>>>
>>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>> 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
>>>
>>>
>>
>> _________________________________________________________________________
>> 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
>>
>> 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
>>
>>
>
> _________________________________________________________________________
> 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
>
> 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/20130301/39edb18c/attachment-0001.html 


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