Sip.conf help

Hello everyone. Been running Asterisk 1.2.16 since it was new and now need to make a change to the config…

In particular, I need to setup (in sip.conf) some peers, but would like to have it such that I specify an address with a netmask, rather than a series of individual host addresses.

Something like this:

type = peer
context = from-sipA
host =
allow = alaw
dtmfmode = auto

Is it possible?

you have to define multiple sip account for multiple peers . If you want some abbreviation you can use sip templates .