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.charl...@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.charl...@savageminds.com <mailto:rob.charl...@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@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_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com> GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org> iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org