You can try to set one context for each extension. 

regards,

srsergio


-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Alen Salamun
Enviado el: martes, 25 de enero de 2005 16:04
Para: Asterisk Users Mailing List - Non-Commercial Discussion
Asunto: [Asterisk-Users] Different EXT lines for different users?


Hello!

I would like to make asterisk to use different ISDN external lines 
dependant on which internal user makes the call. Right now I have 
(12345678 represents my MSN):

[pstn] ; ISDN to PSTN 

exten => _0.,1,Dial(CAPI/12345678:b${EXTEN:1}) 

exten => _0.,2,Hangup

This ofcourse means that whenever someone call's out to number 0....this 
call goes to outside line 12345678.

Now i would like asterisk to behave like that:

When user 100 calls go outside on line 12345670
When user 101 calls go outside on line 12345671
...

How can I do that?

Thank you,
Alen
_______________________________________________
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

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005
 

_______________________________________________
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

Reply via email to