Hey all, I’m trying to add a new function to my callcenter server which allow peers transfer their call to other operator. I added the following configure into my dialplan: <action application="bind_meta_app" data="4 b s execute_extension:att_xfer XML features”/> And features.xml showed like: <extension name="att_xfer"> <condition field="destination_number" expression="^att_xfer$"> <action application="read" data="3 6 'tone_stream://%(10000,0,350,440)' digits 30000 #"/> <action application="set" data="origination_cancel_key=#"/> <action application="att_xfer" data="user/AA-${digits}@$${domain}"/> </condition> </extension> This should works when *4 was pressed and att_xfer activated, however when I test this dialplan, freeswitch showed the log as: 2019-05-08 18:31:46.546807 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF *:1280 2019-05-08 18:31:46.546807 [INFO] switch_channel.c:515 RECV DTMF *:1280 2019-05-08 18:31:46.986810 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 4:1280 2019-05-08 18:31:46.986810 [INFO] switch_channel.c:515 RECV DTMF 4:1280 2019-05-08 18:31:46.986810 [DEBUG] switch_ivr_async.c:4233 sofia/internal/anonymous@192.168.121.11 Processing meta digit '4' [execute_extension:att_xfer XML features] 2019-05-08 18:31:47.226816 [DEBUG] switch_ivr.c:625 sofia/internal/anonymous@192.168.121.11 Command Execute playback(local_stream://moh/8000) EXECUTE sofia/internal/anonymous@192.168.121.11 playback(local_stream://moh/8000) 2019-05-08 18:31:47.226816 [DEBUG] mod_local_stream.c:907 Opening Stream [moh/8000] 8000hz 2019-05-08 18:31:47.226816 [DEBUG] switch_ivr_play_say.c:1497 Codec Activated L16@8000hz 1 channels 20ms 2019-05-08 18:31:47.226816 [DEBUG] switch_ivr.c:625 sofia/internal/BB-000004@192.168.121.3:54129 Command Execute playback(execute_extension:att_xfer XML features) EXECUTE sofia/internal/BB-000004@192.168.121.3:54129 playback(execute_extension:att_xfer XML features) 2019-05-08 18:31:47.226816 [ERR] mod_native_file.c:74 Error opening /usr/local/freeswitch/sounds/en/us/callie/execute_extension:att_xfer XML features.PCMU 2019-05-08 18:31:47.226816 [ERR] mod_sndfile.c:204 Error Opening File [/usr/local/freeswitch/sounds/en/us/callie/execute_extension:att_xfer XML features.wav] [System error : No such file or directory.] 2019-05-08 18:31:47.246814 [DEBUG] switch_ivr_play_say.c:1941 done playing file local_stream://moh/8000 The anonymous is my test phone and BB-000004 is operator. I pressed *4 on operator sip phone and got the error above. Freeswitch seems to execute the playback on bind_meta_app. Is there any advice on this problem? System info: FreeSWITCH: FreeSWITCH Version 1.8.5+git~20190124T225359Z~31281a0bf1~64bit (git 31281a0 2019-01-24 22:53:59Z 64bit) OS: Debian Stretch 9.8 Client: Bria 5 Regards. C.Wang
<action application="bind_meta_app" data="4 b s execute_extension:att_xfer XML features”/>
I think you are missing a colon on execute_extension, it requires two colons before the arguments - this may only be part of the problems you are facing however -------------------------------- Troy Denton, P. Eng. Senior Telecom Analyst 24-7 Intouch 24-7intouch.com | tdenton@24-7intouch.com 240 Kennedy St | Winnipeg, Manitoba, Canada R3C 1T1 Confidentiality Note: This e-mail message and any attachments to it are intended only for the named recipients and may contain legally privileged and/or confidential information. If you are not one of the intended recipients, please do not duplicate or forward this e-mail message and immediately delete it from your computer.
participants (2)
-
Troy Denton
-
王聡