[Asterisk-Users] A few straightforward questions about 1.2
hugolivude
hugolivude at gmail.com
Tue Jan 17 19:25:26 MST 2006
1) The version of Asterisk I have installed now (downloaded Aug-05,
version 1.0.*) starts automatically when I boot Linux (RedHat 9.0).
When I install Version 1.2, is there anything special I need to do so
that version 1.2 gets started instead of the old version, or does make
install take care of that for me?
2) Is there a CLI command that tells you what version you are running?
3) The version 1.2 Dial() command does not use the n+101 jumping
behaviour by default. I know about the j option and setting
"priorityjumping=yes" (see
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Dial) but if
I use the default behaviour does that mean I have to check the
DIALSTATUS to determine whether or not to go to voicemail?
For example I used to do this:
exten => s,1,Dial(SIP/${EXTEN}@2123456789,20,t)
exten => s,2,Voicemail(u${EXTEN})
exten => s,3,Goto(s,200)
;
exten => s,102,Voicemail(b${EXTEN})
exten => s,103,Goto(s,200)
;
exten => s,200,Playback(CallAgainRealSoon)
exten => s,201,Hangup
;
exten => h,1,Hangup
So in 1.2 would I do the following or am I missing something?
exten => s,1,Dial(SIP/${EXTEN}@2123456789,20,t)
exten => s,2,GotoIf($["${DIALSTATUS }" = "BUSY"]?10)
exten => s,3,GotoIf($["${DIALSTATUS }" = "NOANSWER"]?20)
;
exten => s,10,Voicemail(b${EXTEN})
exten => s,11,Goto(s,100)
;
exten => s,20,Voicemail(u${EXTEN})
exten => s,21,Goto(s,100)
;
exten => s,100,Playback(CallAgainRealSoon)
exten => s,101,Hangup
;
exten => h,1,Hangup
Thanks!
Hugh
More information about the asterisk-users
mailing list