Hi I have setup forwarding - xfering - where you press # and then the extension. I add t to the dial cmd. My problem is that when you call something like internet banking they want #, but when # is pressed asterisk gets it instead. is there a way around this ? I haven't been able to get asterisk to listen to flash either Alex -- Why is it there are so many more horses' asses than there are horses? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090713/9582a395/attachment.pgp
Alex Samad wrote:> Hi > > I have setup forwarding - xfering - where you press # and then the > extension. I add t to the dial cmd.No, that's simply the order of evaluation. If the caller is inside an Asterisk application that listens for #, it is going to be intercepted and preempted instead of passed on. Your only solution is to reassign the role of # to some other DTMF tone, if that's possible with the app that you're using. -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671
Alex Samad wrote:> Hi > > I have setup forwarding - xfering - where you press # and then the > extension. I add t to the dial cmd. > > My problem is that when you call something like internet banking they > want #, but when # is pressed asterisk gets it instead. is there a way > around this ? > > I haven't been able to get asterisk to listen to flash either > > > Alex >The easiest solution would probably be to look in features.conf and change the option for forwarding to require two consecutive # presses. The other option would be to put an explicit dial rule for the numbers that need the # bypass and have them omit T and from the dial command. You could also set up a dat abase with a simple web front end for your users to enter numbers that need to have the transfer function bypassed and do something like this (I use AEL so this is in AEL Format) macro specialDial (ext) { if (${DB_EXISTS(bypass/${ext})}) { Dial (${TRUNK}/${ext}); // Dial without transfer } else { Dial (${TRUNK}/${ext},,T); // Dial With Transfer } } This is assuming you create a table called "Bypass" in your Asterisk Database and add the number to the database. Good luck, Brent