[Asterisk-Users] Answer from a specific Number

Steven E. Frazier sfrazier at fraziercorp.com
Thu Feb 5 20:31:43 MST 2004


I was trying to only have Asterisk only answer with "extension" when it came
from a specific Caller-id number, it works from all numbers with my example
below:


include => parkedcalls
exten => s,1,Answer
exten => s,2,DigitTimeout(10)           
exten => s,3,ResponseTimeout(20)        
exten => s,4,Background(vm-extension) 

Modified to:


include => parkedcalls
exten => s,1,Answer/6145551212
exten => s,2,DigitTimeout(10)           
exten => s,3,ResponseTimeout(20)        
exten => s,4,Background(vm-extension) 

I thought be adding the /6145551212 after the Answer above would do what I
wanted but it doesn't.  Could someone advise me of the right example?

Thanks


    



More information about the asterisk-users mailing list