AW: [Asterisk-Users] SIP registration fails
William Marks
maillist at xizz.de
Wed Apr 13 12:25:51 MST 2005
Hi Seshu,
that's where I started off. But most of them are not working (at least not
for me).
My desired setup (for now) is very simple: SIP provider(web.de) <--> * <-->
2 SIP phones
But none of the examples explains how the "register" statement and the
corresponding host-entry are linked to each other.
Could you help?
Will
-----Ursprüngliche Nachricht-----
Von: Kanuri, Seshu (Company IT) [mailto:Seshu.Kanuri at morganstanley.com]
Gesendet: Mittwoch, 13. April 2005 20:11
An: Asterisk Users Mailing List - Non-Commercial Discussion
Betreff: RE: [Asterisk-Users] SIP registration fails
You may better look at example sip.conf files you will be able to find on
WIKI as there appears to be several incosnsistencies in your sip.conf.
My suggestion is get rid off what you dont need and use only those what is
barely essential.
When you are using NAT Ip you need to have entries like:
host=dynamic
Seshu
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of William Marks
Sent: Wednesday, April 13, 2005 10:57 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] SIP registration fails
Hello List ;)
I'm quite amazed by the features, asterisk offers but as I'm quite new to
this stuff, I've got a few questions.
First of all the relevant part of my sip.conf:
------------ cut ---- sip.conf ------------------
[general]
port = 5060 ; Port to bind to
bindaddr = 0.0.0.0 ; Address to bind to
srvlookup=yes
nat=yes
localnet=192.168.11.0/255.255.255.0
externip=<myexternaldyndnsname>
realm=<myrealm>
context = from-sip ; Default for incoming calls
insecure=very
tos=0x18
dtmfmode=info
disallow=all
allow=gsm
allow=alaw
allow=ulaw
register => <mysipid>:<mysippass>@sip.web.de/<mysipid>
[webde]
type=friend
username=<mysipid>
secret=<mysippass>
host=sip.web.de
fromuser=<mysipid>
fromdomain=sip.web.de
nat=no
canreinvite=no
insecure=very
qualify=400
dtmfmode=info
------------ cut ---- sip.conf ------------------
My questions on this are:
a) why is SIP registration failing?
b) how is mapping between "register=>" and [webde] done?
many thanks.
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050413/e5a2e062/attachment.htm
More information about the asterisk-users
mailing list