[Freeswitch-users] DTMF

Baskar yudha2008 at gmail.com
Tue Nov 18 03:19:52 PST 2008


I am working on Dtmf signal on barging

I have added these line to default.xml

   <extension name="global" continue="true">
       <action application="info"/>
       <action application="db"
       <action application="db"
       <action application="db" data="insert/last_dial/global/${uuid}"/>

   <extension name="eavesdrop">
     <condition field="destination_number" expression="^88(.*)$|^\*0(.*)$">
       <action application="answer"/>
       <action application="eavesdrop" data="${db(select/spymap/$1)}"/>

i eavesdrop on extension 1003 by dialing 881003

1003 is connected to mobile no

but when i dial 881003 it get hangup

i have attached the full default.xml separately.barging is not working
through default.xml

And another thing DTMF signal is *not working* through* even socket api
command *

I tried in conference also when we manually done in softphone it work . when
i press the # button it hangup and * for mute  etc. it works fine but when i
pass these through event socket it does not work why?????

if i pass the DTMF digits in api  command it receive a beep sound but the
process is not done.

*i tried i n conference the output is :*

api conference 3001 dtmf 15 #

Content-Type: api/response
Content-Length: 16

OK sent # to 15

15 is member id
# is to hangup
but it does not get hangup through api command
In barging also same problem *

api uuid_send_dtmf f7666a65-5fc4-4199-bb6c-95a5e22d4515 "3210*"

Content-Type: api/response
Content-Length: 14

-ERR no reply

I get the beep sound and there is no process done

what should be done please guide me.

Warm Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081118/42b4743e/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default.xml
Type: text/xml
Size: 4182 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081118/42b4743e/attachment-0002.xml 

More information about the FreeSWITCH-users mailing list