[asterisk-users] 1.4 Beta 2 Config Problem

Keith O'Brien keitheobrien at yahoo.com
Sat Sep 23 08:43:46 MST 2006


I just upgraded from 1.2.12.1 to 1.4 beta 2 and am having a problem
resolving an issue with the following configuration.    The logic below
worked fine in 1.2 but seems to be broken in 1.4 beta 2.    The statements
50 and 51 don't seem to properly reassign the caller id to "2000" or some
other 4 digit extension.    Before I was able to reassign the extension to
say, 2000, and the VoiceMailMain app would drop the user in the correct
mailbox.

 

Can anyone see what is wrong with the following relative to 1.4 beta 2??

 

Thank in advance.

 

 

exten => 8600,1,GotoIf($[${CALLERID(number)} = 2001]?50:2)

exten => 8600,2,GotoIf($[${CALLERID(number)} = 2002]?50:3)

exten => 8600,3,GotoIf($[${CALLERID(number)} = 2003]?50:4)

exten => 8600,4,GotoIf($[${CALLERID(number)} = 2004]?50:5)

exten => 8600,5,GotoIf($[${CALLERID(number)} = 2005]?50:6)

exten => 8600,6,GotoIf($[${CALLERID(number)} = 2006]?50:7)

exten => 8600,7,GotoIf($[${CALLERID(number)} = 2007]?50:8)

exten => 8600,8,GotoIf($[${CALLERID(number)} = 2008]?50:9)

exten => 8600,9,GotoIf($[${CALLERID(number)} = 2009]?50:10)

exten => 8600,10,GotoIf($[${CALLERID(number)} = 2010]?50:11)

exten => 8600,11,GotoIf($[${CALLERID(number)} = 2011]?50:12)

exten => 8600,12,GotoIf($[${CALLERID(number)} = 2012]?50:13)

exten => 8600,13,GotoIf($[${CALLERID(number)} = 2013]?50:51)

exten => 8600,50,Set(CALLERID(number)=2000)

exten => 8600,51,VoicemailMain(${CALLERIDNUM}|s)

exten => 8600,52,Hangup

 

 

 

    -- Executing [8600 at in-out:1] GotoIf("SIP/2002-086a4220", "0?50:2") in
new stack

    -- Goto (in-out,8600,2)

    -- Executing [8600 at in-out:2] GotoIf("SIP/2002-086a4220", "1?50:3") in
new stack

    -- Goto (in-out,8600,50)

    -- Executing [8600 at in-out:50] Set("SIP/2002-086a4220",
"CALLERID(number)=2000") in new stack

    -- Executing [8600 at in-out:51] VoiceMailMain("SIP/2002-086a4220", "|s")
in new stack

    -- Playing 'vm-login' (language 'en')

[Sep 23 11:42:25] WARNING[14722]: app_voicemail.c:5875 vm_authenticate:
Couldn't read username

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060923/95e727d8/attachment.htm


More information about the asterisk-users mailing list