Sure!<br><br>Here it is:<br><br>--pascal-boundary<br>Content-Type: application/sdp<br><br>v=0<br>o=- 3376939113 3376939113 IN IP4 10.1.1.248<br>s=pjmedia<br>c=IN IP4 10.1.1.248<br>t=0 0<br>a=X-nat:0<br>m=audio 4000 RTP/AVP 115<br>
a=rtcp:4001 IN IP4 10.1.1.248<br>a=rtpmap:115 AMR/8000<br>a=fmtp:115 octet-align=1<br>a=ptime:20<br>a=maxptime:400<br>a=sendrecv<br>m=application 4001 udp TBCP<br>a=fmtp:TBCP queuing=0; tb_priority=1; timestamp=0; tb_granted=0; poc_sess_priority=1; poc_lock=0<br>
<br>--pascal-boundary<br>Content-Type: application/resource-lists+xml<br><br><?xml version="1.0" encoding="UTF-8"?><br><resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"><br>
<list><br> <entry uri="<a href="mailto:sip%3Ablue@pascal.net">sip:blue@pascal.net</a>" /><br> </list><br></resource-lists><br><br>--pascal-boundary--<br><br><br>I was checking the nathelper source code (nhelpr_func.c) and it looks that only a content-type of application/sdp is accepted.<br>
<br>-pascal<br><br><br><div class="gmail_quote">2009/6/19 Victor Pascual Ávila <span dir="ltr"><<a href="mailto:victor.pascual.avila@gmail.com">victor.pascual.avila@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Pascal,<br>
<br>
could you please attach the INVITE body?<br>
<br>
Thanks,<br>
-Victor<br>
<div><div></div><div class="h5"><br>
On Fri, Jun 19, 2009 at 12:54 PM, Pascal<br>
Maugeri<<a href="mailto:pascal.maugeri@gmail.com">pascal.maugeri@gmail.com</a>> wrote:<br>
> Here is the errors I get when processing the INVITE:<br>
><br>
> Jun 19 14:51:58 sandbox /usr/sbin/kamailio[15560]:<br>
> ERROR:nathelper:check_content_type: invalid type for a message<br>
> Jun 19 14:51:58 sandbox /usr/sbin/kamailio[15560]:<br>
> ERROR:nathelper:extract_body: content type mismatching<br>
> Jun 19 14:51:58 sandbox /usr/sbin/kamailio[15560]:<br>
> ERROR:nathelper:force_rtp_proxy: can't extract body from the message<br>
><br>
> is it familiar to you ?<br>
><br>
> -pascal<br>
><br>
> On Fri, Jun 19, 2009 at 12:25 PM, Alex Balashov <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>><br>
> wrote:<br>
>><br>
>> As I understand it, yes, only the SDP payload per se is modified.<br>
>><br>
>> Pascal Maugeri wrote:<br>
>><br>
>>> Thanks Alex but I'm not sure if I understood correctly your answer : do<br>
>>> you mean that NATHelper only handle INVITE with a unique SDP part<br>
>>> (application/sdp) ? If NATHelper processes my INVITE with multipart, does it<br>
>>> modify only the SDP part ?<br>
>>><br>
>>> -pascal<br>
>>><br>
>>> On Fri, Jun 19, 2009 at 11:58 AM, Alex Balashov<br>
>>> <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a> <mailto:<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>>> wrote:<br>
>>><br>
>>> Nathelper does not attempt to modify parts of SDP not pertinent to<br>
>>> its mission.<br>
>>><br>
>>> Pascal Maugeri wrote:<br>
>>><br>
>>> Hi<br>
>>><br>
>>> Does NATHelper support properly multipart SDP (eg. INVITE with<br>
>>> application/sdp and application/resource-lists+xml) ?<br>
>>><br>
>>> Regards,<br>
>>> Pascal<br>
>>><br>
>>><br>
>>><br>
>>> ------------------------------------------------------------------------<br>
>>><br>
>>> _______________________________________________<br>
>>> Kamailio (OpenSER) - Users mailing list<br>
>>> <a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a> <mailto:<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>><br>
>>> <a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
>>> <a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
>>><br>
>>><br>
>>><br>
>>> -- Alex Balashov<br>
>>> Evariste Systems<br>
>>> Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
>>> Tel : (+1) (678) 954-0670<br>
>>> Direct : (+1) (678) 954-0671<br>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
>> Alex Balashov<br>
>> Evariste Systems<br>
>> Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
>> Tel : (+1) (678) 954-0670<br>
>> Direct : (+1) (678) 954-0671<br>
><br>
><br>
> _______________________________________________<br>
> Kamailio (OpenSER) - Users mailing list<br>
> <a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
</div></div><div><div></div><div class="h5">> <a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
> <a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
<br>
--<br>
</div></div><font color="#888888">Victor Pascual Ávila<br>
</font></blockquote></div><br>