Fwd: problem with transferring calls when using ivr
Hi all ! I'm a freeswitch newbie taking care of installation that I've recently taken over from a colleague who left our company. Currently I'm having a problem with transferring calls that went thru ivr menu. The call scenario looks like this: external number A calls our external number E. Then, in ivr menu it selects some option. After that A is connected with internal number I. When internal number I tries to transfer call from A to another internal number I2, call hangs up. If I turn the ivr off, as it is commented in the excerpt from /conf/dialplan/public/01_freephone_inbound.xml below, transferring calls works fine. <extension name="general_inbound"> <condition field="destination_number" expression="^(freephone_XXXX_in)$"> <action application="info"/> <action application="transfer" data="100 XML default"/> <!--action application="javascript" data="simpleivr.js"/--> </condition> </extension> I attach my ivr script. Any hints would be very appreciated. Regards, Bart -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Bart, Welcome to FreeSWITCH, the future of telephony! ;) Okay, I want you to try something in your js. Everywhere that you see "execute_extension" I want you to replace those with "transfer". Without seeing call traces I can't know for sure, but I'm guessing that you are "stuck in js" because of the execute_extension. Check the wiki for an explanation of the difference between execute_extension and transfer. I'm 99% sure that your IVR actions need to be transfers. NOTE: a "transfer" in the dialplan is different than someone pressing the transfer key on their phone. I know it can be confusing, but you'll see the nuances if you stick with it long enough. Welcome to the wonderful world of telephony! -MC On Thu, Apr 28, 2011 at 8:08 AM, <bogusmaster@o2.pl> wrote:
Hi all !
I'm a freeswitch newbie taking care of installation that I've recently taken over from a colleague who left our company. Currently I'm having a problem with transferring calls that went thru ivr menu.
The call scenario looks like this: external number A calls our external number E. Then, in ivr menu it selects some option. After that A is connected with internal number I. When internal number I tries to transfer call from A to another internal number I2, call hangs up.
If I turn the ivr off, as it is commented in the excerpt from /conf/dialplan/public/01_freephone_inbound.xml below, transferring calls works fine.
<extension name="general_inbound"> <condition field="destination_number" expression="^(freephone_XXXX_in)$"> <action application="info"/> <action application="transfer" data="100 XML default"/> <!--action application="javascript" data="simpleivr.js"/--> </condition> </extension>
I attach my ivr script.
Any hints would be very appreciated.
Regards, Bart
-- Using Opera's revolutionary email client: http://www.opera.com/mail/ _______________________________________________ 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
participants (2)
-
bogusmaster@o2.pl
-
Michael Collins