[Asterisk-Dev] get register info from peer section in sip.conf ?

Luigi Rizzo rizzo at icir.org
Wed Nov 23 06:24:19 MST 2005


On Wed, Nov 23, 2005 at 02:08:51PM +0100, Olle E. Johansson wrote:
> Luigi Rizzo wrote:
> > i think i have seen it mentioned before but cannot find a relevant
> > patch in mantis...
> > 
> > I was wondering if there is a way to grab the register info
> > 
> > 	register => user[:secret[:authuser]]@host[:port][/contact]
> > 
> > from a peer section, e.g. using a syntax like
> > 
> > 	register => peersectionname
> 
> I had a patch that did the opposite, and that's where we are going.
> I want to have "register=yes" within a peer section and remove the
> register= statement from the [general] section.

ah, ok. In fact, it's very close - the info is still going
to be in the peer (or whatever) section, and the implementation
is probably 5-10 lines different from what i put in
http://bugs.digium.com/view.php?id=5834 :)

thanks
luigi



More information about the asterisk-dev mailing list