Dear Gurus,

Just installed Asterisk and it runs just fine. Have made a simple
extension and sip configuration which works nice also. But still a
question.

My (simple) extension is as follows:

extensions.conf:
[default]
extern => 1001,1,Dial(SIP/1001)
extern => 1002,1,Dial(SIP/1002)

and the sip.conf:
[1001]
type=friend
host=dynamic
canreinvite=no
disallow=all
allow=alaw

[1002]
; copy of 1001
type=friend
host=dynamic
canreinvite=no
disallow=all
allow=alaw

So far, so good. But if I would like to deploy e.g. 100 sip phones, I
would have to add 100 sections?

What I would like to do, is group 'm like:
extensions.conf:
[default]
exten => _1XXX,1,Dial(SIP/norm,20)

and in the sip.conf:
[norm]
type=friend
host=dynamic
canreinvite=no
disallow=all
allow=alaw

But this doesn't seem to work. Any suggestions?

Thanks Martin.
_______________________________________________
Asterisk-Users mailing list
[email protected]
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