I am trying to implement a follow-me script
(http://www.voip-info.org/wiki-Asterisk+Tips+follow+me) but I am having a
brain fart as I haven't a clue where to get started with what to do with
this. From my main menu, I want the extension 300 to execute the script as
follows:
exten => 300,1,dial(sip/200,20)
exten => 300,2,playback(pls-wait-connect-call)
exten => 300,3,Setvar(NewCaller=${CALLERIDNUM})
exten => 300,4,SetCIDNum(0${CALLERIDNUM})
exten => 300,5,dial(${TRUNK}c/2831385,20,r)
exten => 300,6,SetCIDNum(${NewCaller})
exten => 300,7,voicemail2(u200@default)
exten => 300,101,voicemail2(b200@default)
exten => 300,102,hangup
Regardless of what (and where) I have tried to implement this, I just cant
get it to work properly. Does anyone have some tips on this or a nicer
follow-me type of script?
Kerry Garrison
http://www.geekgazette.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050320/a6d47b85/attachment.htm
Which part is not working? On Sun, 20 Mar 2005 16:36:08 -0800, Kerry Garrison <kerryg@techdatapros.com> wrote:> > I am trying to implement a follow-me script > (http://www.voip-info.org/wiki-Asterisk+Tips+follow+me) but I am having a > brain fart as I haven't a clue where to get started with what to do with > this. From my main menu, I want the extension 300 to execute the script as > follows: > > exten => 300,1,dial(sip/200,20) > exten => 300,2,playback(pls-wait-connect-call) > exten => 300,3,Setvar(NewCaller=${CALLERIDNUM}) > exten => 300,4,SetCIDNum(0${CALLERIDNUM}) > exten => 300,5,dial(${TRUNK}c/2831385,20,r) > exten => 300,6,SetCIDNum(${NewCaller}) > exten => 300,7,voicemail2(u200@default) > exten => 300,101,voicemail2(b200@default) > exten => 300,102,hangup > > Regardless of what (and where) I have tried to implement this, I just cant > get it to work properly. Does anyone have some tips on this or a nicer > follow-me type of script? > > Kerry Garrison > http://www.geekgazette.com > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
On Sun, 20 Mar 2005 16:36:08 -0800, Kerry Garrison <kerryg@techdatapros.com> wrote:> I am trying to implement a follow-me script > (http://www.voip-info.org/wiki-Asterisk+Tips+follow+me) but I am having a > brain fart as I haven't a clue where to get started with what to do with > this.Kerry, I'm more of a fan of anthm's patch that does this. You need to be running CVS-Head to get it though. http://bugs.digium.com/bug_view_page.php?bug_id=0002905 -Chuji