Looks like a NAT traversal problem but need some trace to pinpoint... Chuck, when you say you can not get incoming calls, I assume the SIP messages could not get through not just RTP. So, if you use Ethereal to catch the SIP messages, you can see what IP address in the INVITE request header and get a clue why the messages could not get through the firewall.
________________________________ From: Chuck Mariotti [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 8:18 AM To: Dave Donovan Cc: [email protected] Subject: RE: [on-asterisk] SIP Trunk Settings for Unlimitel using AMP/freePBX Sorry, I did not send this, guess I should have... I have a static external IP address going through a Monowall (FreeBSD) firewall... This is my sip_nat.conf file (I've changed my ip's to protect the innocent... externip=222.222.222.100 Localnet=10.10.10.0/255.255.255.0 NAT=Yes, true, y, t, 1, on externrefresh=10 Here is my sip.conf [general] context=default bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) port=5060 bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) maxexpirey=3600 defaultexpirey=3600 notifymimetype=text/plain rtptimeout=60 rtpholdtimeout=300 disallow=all allow=ulaw Callerid = Unknown #include sip_nat.conf #include sip_custom.conf #include sip_additional.conf #include additional_a2billing_sip.conf ________________________________ From: Dave Donovan [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 12:44 AM To: Chuck Mariotti Subject: Re: [on-asterisk] SIP Trunk Settings for Unlimitel using AMP/freePBX I actually had to call Stephan at unlimitel with the same problem when I setup about a year ago. I felt like a real dolt, I found the externip setting and I put my IP address there but I forgot to remove the semicolon at the beginning of the line so it was commented out. DOH!! When he told me my client was registering as a 192.168.x.y address I said "that's not possible, I used the externip setting right here... never mind" I thought I'd share this funny story, I guess I've just got too much pride to admit it on the list :) Dave On 4/20/06, Chuck Mariotti <[EMAIL PROTECTED]> wrote: Does anyone have a step by step for setting up an unlimitel SIP trunk in freePBX / [EMAIL PROTECTED] I can make outbound calls no problem with my current setup, but inbound doesn't seem to work... It is probably something stupid I am doing... The [EMAIL PROTECTED] server is behind the firewall, I have opened TCP/UDP 5004-5082 and USP 10000-20000 Here are my settings in freePBX... Outbound caller id 4162222222 Maximum Channels: 5 Dial Rules: _this is blank_ Trunk Name: Unlimitel SIP - 4162222222 Peer Details: disallow=all allow=ulaw auth=md5 canreinvite=no dtmfmode=rfc2833 fromdomain=unlimitel.ca fromuser=4162222222 host= sip.unlimitel.ca <http://sip.unlimitel.ca> insecure=very nat=yes port=5060 qualify=no secret=1234567 type=peer username=4162222222 USER Context: unlimitel-inbound User Details: canreinvite=no host= sip.unlimitel.ca <http://sip.unlimitel.ca> type=peer Register String: 4162222222:[EMAIL PROTECTED]/4162222222 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.1/308 - Release Date: 4/11/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Donovan Consultant Fulcrum Solutions -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.1/308 - Release Date: 4/11/2006 -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.1/308 - Release Date: 4/11/2006
