AW: [Asterisk-Users] SIP registration fails

2005-04-13 Thread William Marks
Title: AW: [Asterisk-Users] SIP registration fails





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:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of William Marks

Sent: Wednesday, April 13, 2005 10:57 AM
To: asterisk-users@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= 
realm= 
context = from-sip  ; Default for incoming calls 
insecure=very 
tos=0x18 
dtmfmode=info 
disallow=all 
allow=gsm 
allow=alaw 
allow=ulaw 
register => :@sip.web.de/ 
[webde] 
type=friend 
username= 
secret= 
host=sip.web.de 
fromuser= 
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.


___
Asterisk-Users mailing list
Asterisk-Users@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

[Asterisk-Users] SIP registration fails

2005-04-13 Thread William Marks
Title: 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=
realm=


context = from-sip  ; Default for incoming calls
insecure=very
tos=0x18
dtmfmode=info
disallow=all
allow=gsm
allow=alaw
allow=ulaw
register => :@sip.web.de/


[webde]
type=friend
username=
secret=
host=sip.web.de
fromuser=
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.




___
Asterisk-Users mailing list
Asterisk-Users@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