do you really have
[specialized]
[specialized]
it is twice try removing one entry
Jason
On Wed, 23 Mar 2005 02:37:42 +0000, Scheda <scheda@gmail.com>
wrote:> Hey, I'm currently using the GotoIf application to set it so if
> certain caller ID's call my number, it will transfer it to my cell
> phone, here is the code I have so far. I get an error message that
> states "call rejected by 198.22.67.70: No such
context/extention."
> when I call the number from my house number. Anyway, here is the code
> I have.
>
> [inbound]
> exten => 8667393960,1,Answer()
>
> exten => 8667393960,2,GotoIf($[${CALLERIDNUM} >
${house}]?specialized,8667393960,1:2)
> exten => 8667393960,3,GotoIf($[${CALLERIDNUM} >
${kendra}]?specialized,8667393960,1:2)
> exten => 8667393960,4,GotoIf($[${CALLERIDNUM} >
${rob}]?specialized,8667393960,1:2)
> exten => 8667393960,5,GotoIf($[${CALLERIDNUM} >
${jen}]?specialized,8667393960,1:2)
> exten => 8667393960,6,GotoIf($[${CALLERIDNUM} >
${mom}]?specialized,8667393960,1:2)
> exten => 8667393960,7,GotoIf($[${CALLERIDNUM} >
${dad}]?specialized,8667393960,1:2)
>
> exten => 8667393960,8,Wait(3)
> exten =>
8667393960,9,Background(/root/asterisk-1.0.6/sounds/ast-intro)
> exten => 8667393960,10,Wait(12)
> exten => 8667393960,11,Hangup()
>
> [specialized]
> [specialized]
> exten => 8667393960,1,SetCallerID(${cid})
> exten => 8667393960,2,Wait(1)
> exten => 8667393960,3,SetMusicOnHold(danecook)
> exten => 8667393960,4,Dial(${TRUNK}/${scheda},35,t)
> exten => 8667393960,5,Hangup()
>
> I have all the global variables set up correctly, so I'm not sure what
> it is exactly
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>