mod_fsk not detecting call waiting caller id
I have an analog line connected through an SPA3102 forwarded to an extension on FS. Line has call waiting ID on it (verified). I get the tone when call waiting is sent. A sample dialplan is as follows <action application="answer"/> <action application="sleep" data="1000"/> <action application="fsk_recv"/> <action application="set" data="execute_on_fsk=log 'Got FSK [${fsk_phone_num}] [${fsk_phone_name}]'"/> <action application="transfer" data="1002 XML default"/> When call waiting tone is detected I get the following 2011-02-03 17:25:06.089086 [DEBUG] mod_fsk.c:276 sofia/internal/xxxxx@xxxxx processing execute_on_fsk [log 'Got FSK [] []'] EXECUTE sofia/internal/xxxx@xxxx log('Got FSK [] []') 2011-02-03 17:25:06.089086 [DEBUG] mod_dptools.c:1183 FSK [] []' 2011-02-03 17:25:06.269078 [DEBUG] switch_core_media_bug.c:467 Removing BUG from sofia/internal/xxxxx@xxxx If I do a uuid_dump, the fsk_ (except variable_execute_on_fsk) variables are not present. Any idea what I could be doing wrong here? Never used mod_fsk before, however, need to just log call waiting name and number. Any help would be greatly appreciated.
This is probably not what you want to hear but I found a bug which is that it should not have even called your app because there was no fsk data collected. This app is not really meant for the way you are using it but maybe it will work if you use it with bind_digit_action <action application="bind_digit_action" data="test,D,exec:fsk_recv"> not promising anything but maybe it will work. On Thu, Feb 3, 2011 at 6:45 PM, Anirudha Shimpi <anu@familytv.com> wrote:
I have an analog line connected through an SPA3102 forwarded to an extension on FS. Line has call waiting ID on it (verified). I get the tone when call waiting is sent. A sample dialplan is as follows <action application="answer"/> <action application="sleep" data="1000"/> <action application="fsk_recv"/> <action application="set" data="execute_on_fsk=log 'Got FSK [${fsk_phone_num}] [${fsk_phone_name}]'"/> <action application="transfer" data="1002 XML default"/>
When call waiting tone is detected I get the following 2011-02-03 17:25:06.089086 [DEBUG] mod_fsk.c:276 sofia/internal/xxxxx@xxxxx processing execute_on_fsk [log 'Got FSK [] []'] EXECUTE sofia/internal/xxxx@xxxx log('Got FSK [] []') 2011-02-03 17:25:06.089086 [DEBUG] mod_dptools.c:1183 FSK [] []' 2011-02-03 17:25:06.269078 [DEBUG] switch_core_media_bug.c:467 Removing BUG from sofia/internal/xxxxx@xxxx
If I do a uuid_dump, the fsk_ (except variable_execute_on_fsk) variables are not present. Any idea what I could be doing wrong here? Never used mod_fsk before, however, need to just log call waiting name and number. Any help would be greatly appreciated.
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (2)
-
Anirudha Shimpi
-
Anthony Minessale