It is still not working, I added my public IP as requested. I do not have any gateways or anything set up. Do I need to add anything?
I added this to the route statement: if (!uri==myself) { append_hf("P-hint: outbound\r\n"); set_advertised_address("XXX.XX.XXX.X"); route(relay); I am still receiving these errors: Sep 29 12:10:22 cd-ubuntu-opensips /usr/local/sbin/opensips[12878]: DBG:rr:find_first_route: No Route headers found Sep 29 12:10:22 cd-ubuntu-opensips /usr/local/sbin/opensips[12878]: DBG:rr:loose_route: There is no Route HF Sep 29 12:10:22 cd-ubuntu-opensips /usr/local/sbin/opensips[12878]: DBG:core:parse_headers: flags=78 Eric Freeman Technical Director/NA for TBWA\Chiat\Day TBWA\Chiat\Day New York 488 Madison Ave. New York NY 10022 United States of America Tel: +12128041324<tel:%2B12128041324> ________________________________ From: Bogdan-Andrei Iancu <bog...@opensips.org> Sent: Tuesday, September 20, 2016 8:38:31 AM To: Eric Freeman; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Routing in opensips He Eric, In the script (generated by menuconfig), you have an IF block with : append_hf("P-hint: outbound\r\n"); That block is executed if one of your users is dialing an external SIP domain. So, that is the place where the calls will break out to public internet. As your OpenSIPS has a private IP (not routable in internet), you need to configure it to advertise the public IP of your NAT via the set_advertise_address() - see: http://www.opensips.org/Documentation/Script-CoreFunctions-2-2#toc46 Put there the public IP of your NAT. Also, be sure you create in your router (running the NAT) a port forwarding from the public IP port 5060 UDP to the private IP of your OpenSIPS port 5060 UDP. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 15.09.2016 13:10, Eric Freeman wrote: Yes. Get Outlook for iOS<https://aka.ms/o0ukef> ________________________________ From: Bogdan-Andrei Iancu <bog...@opensips.org><mailto:bog...@opensips.org> Sent: Thursday, September 15, 2016 4:57:45 AM To: Eric Freeman; OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Routing in opensips Hello Eric, So, you OpenSIPS is running behind a NAT ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 14.09.2016 18:43, Eric Freeman wrote: Thank you. I am using the residential script and my device is registered. When I register two devices I can call between them. But, when I want to send the traffic out to the Internet I receive these types of errors. My device is a 10 address trying to call public IPs on the Internet. It appears I need to add a default route in opensips? It seems like it can't send the traffic to the Internet or a default route. The opensips server itself can get onto the Internet. Aug 22 15:12:55 cd-ubuntu-opensips /usr/local/sbin/opensips[11973]: DBG:core:get_hdr_field : found end of header Aug 22 15:12:55 cd-ubuntu-opensips /usr/local/sbin/opensips[11973]: DBG:rr:find_first_rout e: No Route headers found Aug 22 15:12:55 cd-ubuntu-opensips /usr/local/sbin/opensips[11973]: DBG:rr:loose_route: Th ere is no Route HF Aug 22 15:12:55 cd-ubuntu-opensips /usr/local/sbin/opensips[11973]: DBG:dialog:w_create_di alog2: bye on timeout activated Thank you, Eric Freeman ________________________________ From: Bogdan-Andrei Iancu <bog...@opensips.org><mailto:bog...@opensips.org> Sent: Wednesday, September 14, 2016 10:47:23 AM To: OpenSIPS users mailling list; Eric Freeman Subject: Re: [OpenSIPS-Users] Routing in opensips Hi Eric, A good starting point is the residential script that can be generated via the menuconfig tool. See: http://www.opensips.org/Documentation/Generating-Configs-2-2 Then have your unit registered with your OpenSIPS. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 12.09.2016 18:15, Eric Freeman wrote: I am very new to opensips and I want to use it for one application. I have installed version: opensips 2.2.1 (x86_64/linux) on Ubuntu 14.04.2 LTS Release: 14.04 I have a video conference unit and I want to be able make SIP calls to other video conference units over the Internet. I believe I need to set up some type of routing to route calls from this device out to the Internet. I believe I need to add some commands to the route section of the configuration file. Can someone please let me know what commands I need to the config to allow the unit to call other units via sip over the Internet. I am using the “default routing” from the residential script. I have registered the video conference unit to the opensips server Contact:: sip:LifeSize@10.89.71.12;transport=UDP<mailto:sip:LifeSize@10.89.71.12;transport=UDP> Q= from config listen=udp:10.88.23.13:5060 # CUSTOMIZE ME listen=tcp:10.88.23.13:5060 # CUSTOMIZE ME Please let me know if you need more information. Thank you, Eric Freeman ------------------------------------------------------------------------------- This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure. If you received this e-mail in error, any review, use, dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify us immediately of the error via e-mail to disclai...@email-abuse.com<mailto:disclai...@email-abuse.com> and please delete the e-mail from your system, retaining no copies in any media. We appreciate your cooperation. -------------------------------------------------------------------disc99999999 _______________________________________________ Users mailing list Users@lists.opensips.org<mailto:Users@lists.opensips.org> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users