[Asterisk-Users] asterisk as a sip registrar and user accounts

Seth Remington sremington at saberlogic.com
Wed Nov 3 09:02:28 MST 2004


On Wed, 2004-11-03 at 10:23, Ashling O'Driscoll wrote:
> Thanks for the reply.I think I have this done but it still doesnt
> seem to work.
> 
> I set up a xlite softphone which Im attempting to register with
> asterisk. However i am getting the following error on asterisks:
> 
> Nov 3 14:25:13 NOTICE[25227]: chan_sip.c:7533 handle_request:
> Registration from 'John Doe' <sip:doej at 172.16.3.15>' failed for
> '172.16.3.13'
> 
> I configured xlite as follows:
> 
> Menu -> System Settings -> SIP Proxy -> default 
> Display Name: John Doe
> User Name & Authorization User: doej
> Password: bla 
> Domain/Realm: 172.16.3.15
> SIP Proxy: 172.16.3.15
> 
> I've also created a user in the sip.conf file as follows:
> 
> [doej]
> Turn off silence suppression in X-Lite ("Transmit Silence"=YES)!
> Note that Xlite sends NAT keep-alive packets, so qualify=yes is not
> needed
> type=friend
> regexten=1234 ; When they register, create extension
> 1234
> username=doej
> callerid="John Doe" <5678>
> host=dynamic
> nat=yes ; X-Lite is behind a NAT router
> canreinvite=no ; Typically set to NO if behind NAT
> disallow=all
> allow=gsm ; GSM consumes far less bandwidth than
> ulaw
> allow=ulaw
> allow=alaw
> 
> I also created an entry for a second user.
> 
> any ideas?
> 
> Thanks a million,
> Ais.

I don't see a secret=bla entry in your sip.conf to match the password
you set for your xlite client.

-Seth


> 
> 
> 
> ---- Original Message ----
> From: sremington at saberlogic.com
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] asterisk as a sip registrar and user
> accounts
> Date: Wed, 03 Nov 2004 10:16:29 -0500
> 
> >On Wed, 2004-11-03 at 08:36, Ashling O'Driscoll wrote:
> >> Hi all,
> >> 
> >> I've successfully set up asterisk and its started and listening. Im
> >> trying to get a windows messenger sip client to register with it.
> >Any
> >> ideas on how to set up asterisk as a sip registrar as opposed to a
> >> sip client. I've found sip client documentation but none of server
> >> stuff. Also how do I create user accounts for windows messenger on
> >> asterisk.
> >> 
> >> Thanks in advance for any help,
> >> Ais
> >
> >You just need an entry in sip.conf for every client that you want to
> >register with *. Check out the examples section at
> >http://www.voip-info.org/wiki-Asterisk+config+sip.conf or look at the
> >examples in the sample sip.conf file.
> >
> >-Seth

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559




More information about the asterisk-users mailing list