[Freeswitch-users] Different dtmf type for different gateways in single profile
Muhammad Naseer Bhatti
nbhatti at gmail.com
Tue Dec 4 20:52:19 MSK 2012
What about info, it should be able to detect with dtmf-type already set to
rfc2833?
--
Sent via a mobile device.
On Dec 4, 2012 7:51 PM, "Steven Ayre" <steveayre at gmail.com> wrote:
> Use RFC2833, and only call start_dtmf on gateways that don't support
> RFC2833.
>
> From dialplan you could test the SDP variables to see whether the endpoint
> has negotiated RFC2833 and only call start_dtmf if it hasn't, or test a
> variable that you set in the user directory / sofia gateway config.
>
>
>
> On 4 December 2012 11:41, Muhammad Naseer Bhatti <nbhatti at gmail.com>wrote:
>
>>
>> If I set to dtmf-type=none in profile, only inband works because of
>> start_dtmf, If set dtmf-type=rfc2833, in band starts false positive
>> catches. I may be doing something practically wrong here, so just wanted to
>> know what options do we have to set it up correctly?
>>
>> Thanks,
>> --
>> Muhammad Naseer Bhatti
>>
>>
>>
>> On Dec 4, 2012, at 2:48 AM, Michael Collins <msc at freeswitch.org> wrote:
>>
>> How does it "break the rest of DTMF"?
>> -MC
>>
>> On Mon, Dec 3, 2012 at 2:14 PM, Muhammad Naseer Bhatti <nbhatti at gmail.com
>> > wrote:
>>
>>> Is there a way to set different dtmf type for different gateways in same
>>> profile? I am originating from esl, call is bridged with audio file.
>>> (Dialer setup). Some of the providers send dtmf inband and others rfc2833.
>>> I am currently checking in my lua script for a custom param, if present
>>> then execute start_dtmf to listen for inband dtmf. While this breaks the
>>> rest of dtmf. Is there a better way to deal with this or do I have to end
>>> up with different profiles each with different dtmf-type.
>>>
>>> --
>>> Sent via a mobile device.
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Michael S Collins
>> Twitter: @mercutioviz
>> http://www.FreeSWITCH.org <http://www.freeswitch.org/>
>> http://www.ClueCon.com <http://www.cluecon.com/>
>> http://www.OSTAG.org <http://www.ostag.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/20121204/d1f65954/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list