[Asterisk-Users] username as extension

Olle E Johansson oej at edvina.net
Thu Feb 23 03:38:35 MST 2006


Nathan Alberti wrote:
> Is there a way to have extensions automatically created for  registered 
> sip users ?
> 
> I did some investigation and found some hope in chan_sip with  relation 
> to the somewhat undocumented usereqphone option but i may be  totally 
> off track.
> 
> All i want to be able to do is send a call to number at ip_address where  
> the number is the username configured on the phone that has  registered 
> with asterisk on ip_address.
> 
>  From what I understand this should be pretty standard sip  
> functionality no ?
> 
dial(SIP/username at hostname) works very well in the dial plan.

If you enable "autocreatpeer" anyone can register anything in your 
server without bothering with passwords. I don't need to add that this 
is highly insecure, so I won't mention that.

/Olle



More information about the asterisk-users mailing list