[Freeswitch-dev] DTMF events
Anthony Minessale
anthony.minessale at gmail.com
Wed Jan 21 13:43:23 PST 2009
when you say tones, does that mean it's inband dtmf?
you may need to run the start_dtmf app on the channel to engage the tone
detector?
can you please file it on jira http://jira.freeswitch.org and attach
a pcap and console debug log.
On Wed, Jan 21, 2009 at 9:53 AM, Rob Charlton
<rob.charlton at savageminds.com>wrote:
> Yes, and yes. I see the DTMF events arriving when I make an incoming call.
>
> I put a breakpoint on switch_channel_dequeue_dtmf() which gets hit when
> I type digits after:
>
> - I originate a call to a sip extension
> - I receive a call from a sip extension
> - I receive a call from our sip trunk (from PSTN)
>
> The breakpoint doesn't get hit when I type digits after:
>
> - I originate a call via our sip trunk (to the PSTN)
>
> As regards this:
> > In the latter case, I am still able to pick up DTMF digits if I use
> > javascript session.collectInput() - so it appears as if the DTMF tones
> > are being recognised by Freeswitch, but no events sent.
> I must have been dreaming - that isn't the case at all -
> session.collectInput doesn't get any digits at all.
>
> We use the same SIP trunk with asterisk and that _does_ pick up DTMF
> tones for outbound PSTN calls.
>
> Thanks
>
> Rob
>
>
> Anthony Minessale wrote:
> > Did you try enabling all events and making a single call to make sure
> > you are subscribed to the right event?
> >
> >
> > On Wed, Jan 21, 2009 at 6:38 AM, Rob Charlton
> > <rob.charlton at savageminds.com <mailto:rob.charlton at savageminds.com>>
> > wrote:
> >
> > Hi,
> >
> > I'm using mod_event_socket to listen for DTMF events. I have Nokia
> > handsets registered as SIP clients over Wifi, as well as a SIP trunk
> > providing incoming PSTN calls to a range of DDIs and outgoing PSTN
> > calls.
> >
> > If I make an incoming (PSTN or SIP) call and answer it, I always see
> > DTMF events via mod_event_socket.
> > If I make an outgoing call direct to a handset using SIP then I
> > see DTMF
> > events - e.g. originate user/1000 &park()
> > If I make an outgoing call via PSTN then I don't see DTMF events e.g.
> > originate sofia/gateway/mygateway/myphonenumber &park() or
> > &javascript(myscript.js);
> >
> > In the latter case, I am still able to pick up DTMF digits if I use
> > javascript session.collectInput() - so it appears as if the DTMF
> tones
> > are being recognised by Freeswitch, but no events sent.
> >
> > What am I doing wrong?
> >
> > Cheers
> >
> > Rob
> >
> > --
> > Rob Charlton
> > Savage Minds Ltd
> >
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090121/48be6fa5/attachment-0001.html
More information about the Freeswitch-dev
mailing list