yeah... doggy carrier, you should somehow get other leg SDP and check that against telephone-event string.

i'd use execute_on_answer hook to try to get other leg SDP and than would evaluate that to either start_dtmf or not.
anyhow, this is theoretical, but if there is no other straight method, i'd try this.


T.



On 13 May 2017 at 23:27, Brian : <brians@iptel.co> wrote:
Hello List,

We have a PITA carrier that we do 2833 with 99.8% of the time.
Sometimes if the carrier they are sending the call to doesn't support
2833 when they will send an OK back to us the SDP won't have 2833 in
the RTP Map. Is it possible to detect this in dialog and start dtmf
generate so we will send tones inband for these calls?

For inbound calls we detect it with something like

<condition field="${switch_r_sdp}"
expression="a=rtpmap:(\d+)\stelephone-event/8000">
on the initial invite.

Just not sure how to do this for an OK in dialog or if its possible.


Thanks!
Brian

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org