[Asterisk-Users] Asterisk incoming calls
Nick Barnes
nick at bcn-it.co.uk
Fri Nov 5 02:53:49 MST 2004
Mauro Locatelli:
> Is there a way to distinguish among incoming calls in asterisk.
Yes.
> (i.e. +39-1234-JOHN goes to John's phone,
> +39-1234-HENRY goes to Henry's phone).
OK.
> Is it possible?
Yes.
> If yes, can you provide with an "exten" rule example?
First off, make sure the line in zapata.conf
"immediate=no"
exists.
Then in your extensions.conf context for your zap inbound calls:
-------8<--------
exten => 1234JOHN,1,Dial(SIP/John)
exten => 1234HENRY,1,Dial(SIP/Henry)
-------8<--------
You may have to play about to find the correct number of digits for the
extension (mine here in the UK needs 6).
Have fun.
Nick.
More information about the asterisk-users
mailing list