On Tue, 25 Jan 2005, Eric Wieling wrote:

You can set a PRI_CAUSE variable. See http://www.voip-info.org/tiki-index.php?page=Asterisk%20variable%20PRI_CAUSE

This only works in CVS-HEAD. For production use just run Busy() in the dialplan.

No, PRI_CAUSE works great at least in 1.0.2, probably in the earlier 1.0 releases too. Busy() may play a busy tone to the caller instead of signalling busy so using PRI_CAUSE is much better in PRI or BRI environment.


exten => 123437,1,Dial(Zap/g2/37,26,tg)
exten => 123437,2,GotoIf($[${DIALSTATUS} = BUSY]?110:3)
exten => 123437,3,Answer
exten => 123437,4,Wait(1)
exten => 123437,5,Voicemail(su21)
exten => 123437,6,Hangup
exten => 123437,110,SetVar(PRI_CAUSE=17)
exten => 123437,111,Hangup

--
Regards,
Tobias J�nsson, Lund SE
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to