[Asterisk-Users] newbe question sip.conf

Martin van den Berg martinvdberg at gmail.com
Fri Mar 18 08:23:35 MST 2005


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.



More information about the asterisk-users mailing list