[Asterisk-Users] how to make sip uri work

Alastair Maw asterisk at almaw.com
Fri Sep 12 02:47:08 MST 2003


Lee Goodman wrote:
> Lets say I have an * at my business, with 7960 SIP phones. All the sip
> phones are registered using their extension number (like 305), but I would
> also like to put my SIP URI on my business card and in a name format, not an
> extension number (like lee.goodman), so that the SIP URI would read
> lee.goodman at asterisk.company.com.
> 
> How would I set this up in extensions.conf?
> 
> I got 305 at asterisk.company.com to work
> 
> If I have this extension
> 
> exten => 305,1,Dial(SIP/305,16) ;Lee Goodman
> exten => 305,2,Voicemail2,su305
> exten => 305,3,Hangup
> 
> would I have the following as well
> 
> exten => lee.goodman,1,Dial(SIP/305,16) ;Lee Goodman
> exten => lee.goodman,2,Voicemail2,su305
> exten => lee.goodman,3,Hangup
> 
> when I try this, it looks like it trys to go to voicemail (my 305 phone is
> not registered) but it hangs up first

No, no, no. :)
You have to define the users in sip.conf.
There are examples and comments in there by default. There's also some 
information about this in the PDF handbook.

-- 
Alastair Maw <al.maw at mxtelecom.com>
MX Telecom - Systems Analyst
http://www.mxtelecom.com

-- 
Alastair Maw <al.maw at mxtelecom.com>
MX Telecom - Systems Analyst
http://www.mxtelecom.com




More information about the asterisk-users mailing list