[asterisk-users] transfer option and pressing #

Alex Samad alex at samad.com.au
Mon Jul 13 16:26:38 CDT 2009


On Mon, Jul 13, 2009 at 11:50:00AM -0500, Brent Davidson wrote:
> 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.

actually when into features and change all the options to *<digit>
instead of #

> 
> 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 

this is a home system for now (also testbed)

> 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
> 
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 
"See, we love -- we love freedom. That's what they didn't understand. They hate things - we love things."

	- George W. Bush
08/29/2002
Oklahoma City, OK
-------------- 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/20090714/12d1699b/attachment.pgp 


More information about the asterisk-users mailing list