First, I want to say thanks for the asterisk 'dialplan' postings.

In the world of TrixBox, the art of clean, efficient extensions.conf coding is essential for AstLinux solutions.

With that in mind, I noticed that a lot of the submissions use "deprecated" applications and globals as of Asterisk 1.2.X.

In particular, DBput, DBget, ${CALLERIDNUM}, and priority jumping.

I know it is a pain to change good working code (especially replacing DBget) but it is a good thing for the next snow day.

Lonnie

Asterisk v1.2.0 upgrade


On Oct 15, 2006, at 11:31 AM, Mark Phillips wrote:

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


_______________________________________________
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