[OpenSIPS-Users] Routing in opensips

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Nov 3 11:34:06 CET 2016


Hi Eric,

First of all, have you managed to get the SIP reply back ? I guess this 
was the original issue. If this works, we can move on to solving the RTP 
part too.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02.11.2016 22:40, Eric Freeman wrote:
>
> I am not clear of what I am doing. I did some googling.
>
>
> I added the if nat_uac line to the fix_nated line. It did not fix my 
> issue.
>
> In the Invite Request Packet I see the Owner Address as the 10 address 
> next to the Owner Address section of the packet. The same for the 
> Connection information.Does that mean I didn't set up the 
> fix_nates_sdp correctly? Let me know if you want to see my entire 
> opensips.cfg file.
>
>
> route[relay] {
>
> # for INVITEs enable some additional helper routes
>
> if (is_method("INVITE")) {
>
> if(nat_uac_test("8")) {
>
>         xlog("We have incoming SDP, let's fix if it's behind NAT\n");
>
>         fix_nated_sdp("2");
>
>          }
>
>
> t_on_branch("per_branch_ops");
>
> t_on_reply("handle_nat");
>
> t_on_failure("missed_call");
>
>
> Thank you for all of your help,
>
>
> 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 <bogdan at opensips.org>
> *Sent:* Tuesday, November 1, 2016 8:34:05 AM
> *To:* Eric Freeman; users at lists.opensips.org
> *Subject:* Re: [OpenSIPS-Users] Routing in opensips
> Eric,
>
> You can simply change it with the fix_nated_sdp() function:
> http://www.opensips.org/html/docs/modules/2.2.x/nathelper.html#id294042
>
> But you have to be careful that the IP:port you force in SDP is also 
> valid from IP perspective - like any RTP traffic landing on that IP is 
> actually getting to the right application.
>
> Regards,
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> On 01.11.2016 14:24, Eric Freeman wrote:
>>
>> Thank you. I will test with that IP. How do I change the SDP to my 
>> public IP address so I can get RTP information back?
>>
>>
>> Thank you,
>>
>>
>> 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 <bogdan at opensips.org>
>> *Sent:* Tuesday, November 1, 2016 7:10:45 AM
>> *To:* Eric Freeman; users at lists.opensips.org
>> *Subject:* Re: [OpenSIPS-Users] Routing in opensips
>> Hi Eric,
>>
>> The outgoing INVITE request looks ok - the RR and VIA headers carry 
>> the public IP of your OpenSIPS. You should get back some reply. Not 
>> sure how valid is that test server, but you can try sending to 
>> sip:opensips.org:5060 ( or 78.46.64.50:5060 ) - this sip server is 
>> definitely up .
>>
>> BTW, the SDP you send out is bogus as it contain only private IPs, so 
>> the other end point will not be able to send you ant RTP back.
>>
>> Regards,
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>> On 31.10.2016 14:21, Eric Freeman wrote:
>>>
>>> Please attached pcap file. Is this what you need?
>>>
>>>
>>> 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 <bogdan at opensips.org>
>>> *Sent:* Monday, October 31, 2016 6:36:18 AM
>>> *To:* Eric Freeman; OpenSIPS users mailling list
>>> *Subject:* Re: [OpenSIPS-Users] Routing in opensips
>>> Hi Eric,
>>>
>>> What I'm asking here is to post the full INVITE packet from your 
>>> opensips server to the external host - I Want to to check the SIP 
>>> headers and the SDP.
>>>
>>> Regards,
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developer
>>> http://www.opensips-solutions.com
>>> On 25.10.2016 16:38, Eric Freeman wrote:
>>>>
>>>> The opensips server is 10.88.23.13 the video conference server is 
>>>> 10.89.71.12. The IP I am trying to connect to 199.48.152.152, I 
>>>> believe is a valid host. I found it on a test SIP site on the Internet
>>>>
>>>>
>>>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161103/bbff26ac/attachment.htm>


More information about the Users mailing list