Any takers? Sometimes the most basic questions yield the least replies, huh? Cheers, Damian. -------- Original Message -------- Subject: Call forwarding Date: Wed, 04 May 2005 08:40:41 +1200 From: Damian Funnell <damian.funnell@fff.co.nz> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> References: <4251B3AB.30608@davidson.id.au> <011701c53a15$2aaecc30$0a00a8c0@HOUSTON> Hi team, Basic question I know, but I can't seem to find any obvious information about this: Does anyone know if * natively supports call forwarding from a given extension (i.e. call forwarding without having to write a macro)? My user wants to be able to dial a code plus a phone number to start diverting all calls to the given extension to that number. Call forwarding would then be disabled by dialling a code number again. I expected that * would support this type of feature natively, but can't find anything in the wiki. If responding please let me know if we need to enable anything in features.conf as well. Thanks in advance, Damian. FFF Managed Technology Ltd 60 Cook St P.O. 6368 Wellesley St Auckland t +64 9 356 2911 f +64 9 358 9070 m +64 21 415 297 w www.fff.co.nz -- FFF Managed Technology Ltd 60 Cook St P.O. 6368 Wellesley St Auckland t +64 9 356 2911 f +64 9 358 9070 m +64 21 415 297 w www.fff.co.nz
chan_zap supports this. VoIP devices handles it in the device, not in the channel driver. Damian Funnell wrote:> Any takers? Sometimes the most basic questions yield the least replies, > huh? > > Cheers, > Damian. > > -------- Original Message -------- > Subject: Call forwarding > Date: Wed, 04 May 2005 08:40:41 +1200 > From: Damian Funnell <damian.funnell@fff.co.nz> > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > References: <4251B3AB.30608@davidson.id.au> > <011701c53a15$2aaecc30$0a00a8c0@HOUSTON> > > > > Hi team, > > Basic question I know, but I can't seem to find any obvious information > about this: > > Does anyone know if * natively supports call forwarding from a given > extension (i.e. call forwarding without having to write a macro)? > > My user wants to be able to dial a code plus a phone number to start > diverting all calls to the given extension to that number. Call > forwarding would then be disabled by dialling a code number again. > > I expected that * would support this type of feature natively, but can't > find anything in the wiki. If responding please let me know if we need > to enable anything in features.conf as well. > > Thanks in advance, > Damian. > > FFF Managed Technology Ltd > 60 Cook St > P.O. 6368 Wellesley St > Auckland > t +64 9 356 2911 > f +64 9 358 9070 > m +64 21 415 297 > w www.fff.co.nz > > > >
As far as I know Asterisk does not support normal PSTN type call forwarding. I.E. the user would type *72 etc. This is called call forking. My Mulitech gateway does but at a huge price. Also T38 is supported. I have several carriers that I use that have Asterisk. All of the Asterisk boxs won't accept call fowarding. I send the calls to my carriers with Cisco gateways and the calls reroute correctly. Now I have a proxie that controls everything. You may be able to do call fowarding with 2 boxes. But a call in and reroute back out may not work. Damian Funnell wrote:> Any takers? Sometimes the most basic questions yield the least > replies, huh? > > Cheers, > Damian. > > -------- Original Message -------- > Subject: Call forwarding > Date: Wed, 04 May 2005 08:40:41 +1200 > From: Damian Funnell <damian.funnell@fff.co.nz> > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > References: <4251B3AB.30608@davidson.id.au> > <011701c53a15$2aaecc30$0a00a8c0@HOUSTON> > > > > Hi team, > > Basic question I know, but I can't seem to find any obvious > information about this: > > Does anyone know if * natively supports call forwarding from a given > extension (i.e. call forwarding without having to write a macro)? > > My user wants to be able to dial a code plus a phone number to start > diverting all calls to the given extension to that number. Call > forwarding would then be disabled by dialling a code number again. > > I expected that * would support this type of feature natively, but > can't find anything in the wiki. If responding please let me know if > we need to enable anything in features.conf as well. > > Thanks in advance, > Damian. > > FFF Managed Technology Ltd > 60 Cook St > P.O. 6368 Wellesley St > Auckland > t +64 9 356 2911 > f +64 9 358 9070 > m +64 21 415 297 > w www.fff.co.nz > > > >
One of our asterisk guys, Mike Bell, hacked this into our pbx by doing the following: - Setup a file: /var/pbx/followme that is a tab delimited file with extension and forward_to in it. (Example: 1001 1414xxxxxxx) - Change our default dial to an AGI script called dial.cgi exten => _10XX,1,Agi(dial.agi,${EXTEN}) exten => _10XX,2,Hangup - Write a perl script that checks for the extension in the /var/pbx/followme file and if it's there, dials that instead (checks to see if it should use a SIP or ZAP channel first) -Add in hooks for *29 (remove) and *29{X*} (forward) to another number: exten => *29,1,Answer exten => *29,2,Agi(FollowMe.agi,${CALLERIDNUM}) exten => *29,3,Hangup exten => _*29.,1,Answer exten => _*29.,2,Agi(followMe.agi,${CALLERIDNUM},${EXTEN:3}) exten => _*29.,3,Hangup - Write a followme.cgi script that is passed the callerid, and an optional offsite phone number. If the offsite number is there, it is added/updated in the followme file, otherwise it's just deleted Hope this helps -- ~Andy Brezinsky On Wednesday 04 May 2005 11:36 am, Damian Funnell wrote:> Any takers? Sometimes the most basic questions yield the least replies, > huh? > > Cheers, > Damian. > > -------- Original Message -------- > Subject: Call forwarding > Date: Wed, 04 May 2005 08:40:41 +1200 > From: Damian Funnell <damian.funnell@fff.co.nz> > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > References: <4251B3AB.30608@davidson.id.au> > <011701c53a15$2aaecc30$0a00a8c0@HOUSTON> > > > > Hi team, > > Basic question I know, but I can't seem to find any obvious information > about this: > > Does anyone know if * natively supports call forwarding from a given > extension (i.e. call forwarding without having to write a macro)? > > My user wants to be able to dial a code plus a phone number to start > diverting all calls to the given extension to that number. Call > forwarding would then be disabled by dialling a code number again. > > I expected that * would support this type of feature natively, but can't > find anything in the wiki. If responding please let me know if we need > to enable anything in features.conf as well. > > Thanks in advance, > Damian. > > FFF Managed Technology Ltd > 60 Cook St > P.O. 6368 Wellesley St > Auckland > t +64 9 356 2911 > f +64 9 358 9070 > m +64 21 415 297 > w www.fff.co.nz-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050504/8166388e/attachment.pgp