Thanks for the info so far. I am still trying to asterisk'ize my ML9.2 firewall box and can't get the external SIP registration to work. If I hook up my Sipura directly to the WAN it registers OK. This is the message I get from asterisk: Mar 8 21:03:07 NOTICE[196621]: chan_sip.c:3140 sip_reg_timeout: Registration for '263872@192.246.69.223' timed out, trying again If tried all combinations of firewall and asterisk settings (as well as turning the firewall completely off). I don't understand why this would now work. ; SIP Configuration for Asterisk ; [general] port = 5060 ; Port to bind to bindaddr = 192.168.1.1 ; Address to bind to localnet = 192.168.1.0 ; Internal network address localmask = 255.255.255.0 ; Internal netmask outside_addr = a.b.c.d ; External network, a.b.c.d is my external IP externip = a.b.c.d ; Public IP ; register=263872:mypass@fwd.pulver.com/263872 ; [fwd] type=friend secret=mypass username=263872 host=fwd.pulver.com My shorewall/rules I used looks like this (pretty open, rtp.conf was adjusted accordingly): ACCEPT masq fw tcp domain,bootps,http,https,631,imap,pop3,smtp,nntp,50600:50610 ACCEPT masq fw udp domain,bootps,http,https,631,imap,pop3,smtp,nntp,50600:50610 ACCEPT fw masq tcp 631,515,137,138,139,50600:50610 - ACCEPT fw masq udp 631,515,137,138,139,50600:50610 - ACCEPT loc fw tcp 22,5060:5070,50600:50610 - ACCEPT loc fw udp 5060:5070,50600:50610 - ACCEPT net loc udp 5060:5070,50600:50610 - ACCEPT net fw tcp 22,4662,2234,6882,6346,9999,4444,5060:5070,50600:50610 ACCEPT net fw udp 4666,2234,6882,6346,9999,4444,5060:5070,50600:50610 Could it be a port conflict with the Sipura unit on the LAN? The two lines register OK from the LAN on the 5060 and 5061 ports: -- SIP Seeding '2201' at 2201@192.168.1.239:5060 for 3600 -- SIP Seeding '2202' at 2202@192.168.1.239:5061 for 3600
Hello, I am trying to register in asterisk with a softphone (x-lite) and I am getting the following message: Jan 19 13:27:01 NOTICE[3359]: chan_sip.c:7531 handle_request: Registration from 'tito <sip:tito@192.168.1.2>' failed for '192.168.1.5' In the sip.conf file I have included the following. Does I need to include another change to allow the user to register? [phone1] type=friend host=dynamic defaultip=192.168.1.5 username=tito secret=tito dtmfmode=rfc2833 mailbox=1000 context=sip callerid="Tito" <2124> I get the following message too and I don't know what does that means: Jan 19 13:26:41 WARNING[3343]: chan_sip.c:685 retrans_pkt: Maximum retries exceeded on call 5d3ad2484ea1cacc4e77a5252198cfc7@192.168.1.2 for seqno 102 (Non-critical Request)
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050413/0f868f68/attachment.htm
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@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] 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=<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/cac1580c/attachment.htm