[asterisk-users] dialplan tips

Doug Lytle support at drdos.info
Fri Jul 24 08:05:00 CDT 2009


harry R wrote:
> Hi everybody
>
> 1) how can I do a n+101 priority jumping if a SIP canal is busy ?
> I read that the general parameter "priorityjumping" is depreciated in 
> the 1.6 release and I already try the "j" option in dial() application 
> but no way.

You'll want to use DIALSTATUS

exten => 101,1,Dial(SIP/quentin,10)
exten => 101,n,NoOP(Dial Status: ${DIALSTATUS})
exten => 101,n,NoOP(Hangup Cause: ${HANGUPCAUSE})
exten => 101,n,Goto(s-${DIALSTATUS},1)

http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial

Doug

-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list