[Asterisk-Dev] Autocreatepeer ?

John Bigelow itzangler at digium.com
Mon Dec 22 09:57:51 MST 2003


This will allow any sip user to register with asterisk with no authentication.
So if you are lazy or for whatever reason do not want to create the peers in the
sip.conf you can set autocreatepeer=yes in sip.conf and anyone can place calls 
through the system.

-John


On Sun, Dec 21, 2003 at 10:32:17PM +0100, Olle E. Johansson wrote:
> In chan_sip.c I find the following:
> 
>  if (!peer && autocreatepeer) {
>                 /* Create peer if we have autocreate mode enabled */
> 
> 
> And
>  } else if (!strcasecmp(v->name, "autocreatepeer")) {
>                         autocreatepeer = ast_true(v->value);
> ---------
> Could someone please explain this, since there's no documentation on this 
> option.
> 
> Any examples on usage?
> 
> Regards,
> /Olle
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list