This is a pretty slick way to implement these features ... I may use some if
these in my own configs ... I have put together a very similar pair of
routines to store and retreive "speed dials" that use a similar technique
... 

If anyone is interested in my speed dial routines, I am happy to post them
here but the routines are pretty long so I don't know that I should bore
folks with it who would not be interested ...

Frankly, I like to see this type of stuff on the list as its helpful to see
how other folks are handling common problems ... I often learn a new trick
or figure out a way to do something quicker/better/cheaper than I am doing
it now ...

Thanks for these tips ...

G.Hendershot 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darrick Hartman
Sent: Sunday, October 15, 2006 2:43 PM
To: Discussion of AstLinux - Asterisk on Compact Flash
Subject: Re: [Astlinux-users] call forwarding Astlinux

Jack wrote:
> Mark,
> 
> Do you actually now if there could be a delay in the Answer command of 
> an external incoming line, now it just picks it up before the caller 
> even hears anything Ring Ring which looks real Rude.
> I tried with Wait command but doesn't work for me.

Put the wait(xx) before the answer and you should be ok.


> 
> Thx
> 
> 2006/10/15, Mark Phillips <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> 
>     Try this
> 
>     [apps]
>     ; Unconditional Call Forward
>     exten => _*21*X.,1,DBput(CFIM/${CALLERIDNUM}=${EXTEN:4})
>     exten => _*21*X.,2,Playback(call-fwd-unconditional)
>     exten => _*21*X.,3,Hangup
>     exten => _*22*,1,DBdel(CFIM/${CALLERIDNUM})
>     exten => _*22*,2,Playback(call-fwd-cancelled)
>     exten => _*22*,3,Hangup
> 
>     ; Call Forward on Busy or Unavailable
>     exten => _*61*X.,1,DBput(CFBS/${CALLERIDNUM}=${EXTEN:4})
>     exten => _*61*X.,2,Playback(call-fwd-busy)
>     exten => _*61*X.,3,Hangup
>     exten => _*62*,1,DBdel(CFBS/${CALLERIDNUM})
>     exten => _*62*,2,Playback(call-fwd-cancelled)
>     exten => _*62*,3,Hangup
> 
>     ; Repeat last dialled number
>     exten = *5,1,DBget(temp=RepeatDial/${CALLERIDNUM})
>     exten = *5,2,Dial(Local/[EMAIL PROTECTED]) ; Last known
>     exten = *5,102,Congestion
> 
>     ;call waiting
>     exten => *70,1,Answer
>     exten => *70,2,Wait(1)
>     exten => *70,3,DBput(CW/${CALLERIDNUM}=ENABLED)
>     exten => *70,4,Playback(callwaiting)
>     exten => *70,5,Playback(activated)
>     exten => *70,6,Macro(hangupcall)
>     exten => *71,1,Answer
>     exten => *71,2,Wait(1)
>     exten => *71,3,DBdel(CW/${CALLERIDNUM})
>     exten => *71,4,Playback(callwaiting)
>     exten => *71,5,Playback(de-activated)
>     exten => *71,6,Macro(hangupcall)
> 
>     ; dialed call forward app - forwards calling extension
>     exten => _*72.,1,DBput(CF/${CALLERIDNUM}=${EXTEN:3})
>     exten => _*72.,2,Answer
>     exten => _*72.,3,Wait(1)
>     exten => _*72.,4,Playback(loligo/call-fwd-unconditional)
>     exten => _*72.,5,Playback(loligo/for)
>     exten => _*72.,6,Playback(loligo/extension)
>     exten => _*72.,7,SayDigits(${CALLERIDNUM})
>     exten => _*72.,8,Playback(loligo/is-set-to)
>     exten => _*72.,9,SayDigits(${EXTEN:3})
>     exten => _*72.,10,Macro(hangupcall)
> 
>     ; prompting call forward app - forwards entered extension
>     exten => *72,1,Answer
>     exten => *72,2,Wait(1)
>     exten => *72,3,BackGround(allison7/please-enter-your)
>     exten => *72,4,Playback(extension)
>     exten => *72,5,Read(fromext,then-press-pound)
>     exten => *72,6,Wait(1)
>     exten => *72,7,BackGround(ent-target-attendant)
>     exten => *72,8,Read(toext,then-press-pound)
>     exten => *72,9,Wait(1)
>     exten => *72,10,DBput(CF/${fromext}=${toext})
>     exten => *72,11,Playback(call-fwd-unconditional)
>     exten => *72,12,Playback(for)
>     exten => *72,13,Playback(extension)
>     exten => *72,14,SayDigits(${fromext})
>     exten => *72,15,Playback(is-set-to)
>     exten => *72,16,SayDigits(${toext})
>     exten => *72,17,Macro(hangupcall)
> 
>     ; cancels dialed extension call forward
>     exten => _*73.,1,DBdel(CF/${EXTEN:3})
>     exten => _*73.,2,Answer
>     exten => _*73.,3,Wait(1)
>     exten => _*73.,4,SayDigits(${EXTEN:3})
>     exten => _*73.,5,Playback(call-fwd-cancelled)
>     exten => _*73.,6,Macro(hangupcall)
> 
>     ; cancels call forward for calling extension
>     exten => *73,1,DBdel(CF/${CALLERIDNUM})
>     exten => *73,2,Answer
>     exten => *73,3,Wait(1)
>     exten => *73,4,Playback(loligo/call-fwd-cancelled)
>     exten => *73,5,Macro(hangupcall)
> 
>     ; dialed call forward on busy app - forwards calling extension when
busy
>     exten => _*90.,1,DBput(CFB/${CALLERIDNUM}=${EXTEN:3})
>     exten => _*90.,2,Answer
>     exten => _*90.,3,Wait(1)
>     exten => _*90.,4,Playback(loligo/call-fwd-on-busy)
>     exten => _*90.,5,Playback(loligo/for)
>     exten => _*90.,6,Playback(loligo/extension)
>     exten => _*90.,7,SayDigits(${CALLERIDNUM})
>     exten => _*90.,8,Playback(loligo/is-set-to)
>     exten => _*90.,9,SayDigits(${EXTEN:3})
>     exten => _*90.,10,Macro(hangupcall)
> 
>     ; cancels call forward on busy for calling extension
>     exten => *91,1,DBdel(CFB/${CALLERIDNUM})
>     exten => *91,2,Answer
>     exten => *91,3,Wait(1)
>     exten => *91,4,Playback(call-fwd-on-busy)
>     exten => *91,5,Playback(de-activated)
>     exten => *91,6,Macro(hangupcall)
>     exten => h,1,Hangup
> 
>     ; record messages
>     exten => *77,1,Wait(2)
>     exten => *77,2,Record(${CALLERIDNUM}ivrrecording:wav)
>     exten => *77,3,Wait(2)
>     exten => *77,4,Hangup
>     exten => *99,1,Playback(${CALLERIDNUM}ivrrecording)
>     exten => *99,2,Wait(2)
>     exten => *99,3,Hangup
> 
>     ; company directory
>     exten => *411,1,Directory(default|from-sip-internal|l)
> 


--
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to