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

Nahuel Alejandro Ramos nahuelon at gmail.com
Wed Nov 3 11:53:03 MST 2004


Ashling,
  I have my sip.conf configured like this for Xlite UA:
---------------------
; sip.conf
[6387] ; X-Lite client 6387
type=friend
secret=XXXX
auth=md5
nat=yes
host=dynamic
reinvite=yes ; Puede salir a cualquier lado
canreinvite=yes  ; Puede salir a cualquier lado
qualify=1000
;dtmfmode=inband
callerid="Mi Casa" <6387>
disallow=all
allow=ulaw
allow=gsm
mailbox=6387
context=sip
------------------

On my Xlite I add:

Username: 6387
Auth Username: 6387
Password: XXXX
Domain: IP_of_Asterisk
Proxy: IP_of_Asterisk

The same config in sip.conf works for Cisco ATAs. I hope this help you.

     Nahuel Ramos.

On Wed, 03 Nov 2004 11:02:28 -0500, Seth Remington
<sremington at saberlogic.com> wrote:
> 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
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list