Hi List,
We are planning an Asterisk installation with SIP clients on one side, and
a SIP trunk on the other side. Is it possible to configure each SIP client
with a DID? How to configure each client with the DID? How to configure the
SIP trunk with multiple DIDs?
Thanks,
Kannan.
--
by writing dialplan
Regards,
Mitul Limbani,
Chief Architech Founder,
Enterux Solutions Pvt. Ltd.
110 Reena Complex, Opp. Nathani Steel,
Vidyavihar (W), Mumbai - 400 086. India
http://www.enterux.com/
http://www.entvoice.com/
email: mi...@enterux.in
DID: +91-22-71967121
Cell: +91-9820332422
Asterisk has some configuration files, like sip.conf holding the peers and
trunks details and the most important one, available in several flavours,
extensions.conf, extensions.ael... these latest ones are merged toghether
at run time. The extension conf file is referred also as 'dialplan' and it
extension.conf
[from-did1]
exten = _1,1,Dial(SIP/user1)
[from-did2]
exten = _2,1,Dial(SIP/user2)
[from-did3]
exten = _3,1,Dial(SIP/user3)
xxx1-3 is yours DIDs
in sip.conf file your SIP user must contained
[user1]
context=from-did1
[user2]
context=from-did2