Re: [pjsip] Prob with long uri in pjsua_call_make_call

JM
Joseph Maiquez
Thu, Feb 26, 2009 12:24 AM

Hi Benny i just wanna ask can we also increase the size of MTU?

--- On Tue, 2/10/09, Benny Prijono bennylp@teluu.com wrote:

From: Benny Prijono bennylp@teluu.com
Subject: Re: [pjsip] Prob with long uri in pjsua_call_make_call
To: "pjsip list" pjsip@lists.pjsip.org
Date: Tuesday, February 10, 2009, 8:16 AM

Well if it's fragmented then it's a problem with message size getting larger than MTU. See this entry on the FAQ on how to reduce message size: http://trac.pjsip.org/repos/wiki/FAQ#sip-msg-size

On Tue, Feb 10, 2009 at 1:00 PM, Joseph Maiquez josephmaiquez@yahoo.com wrote:

Im behind NAT, im using PJSIP connecting to asterisk, no error in log, it doesn't exceeds the 1500 bytes MTU, and I get Fragmented IP Protocol on wireshark..
 
here is the pattern:
 
INVITE
407
ACK
FRAGMENTED IP PROTOCOL
INVITE

After fragmented protocol the packets is not received by the asterisk, I confirm this by TCPDUMP on Linux
 

--- On Tue, 2/10/09, Benny Prijono bennylp@teluu.com wrote:

From: Benny Prijono bennylp@teluu.com
Subject: Re: [pjsip] Prob with long uri in pjsua_call_make_call
To: "pjsip list" pjsip@lists.pjsip.org
Date: Tuesday, February 10, 2009, 7:12 AM

Could you explain exactly what application are you using? Have you checked if you have any errors in the log? And where is the log anyway. Is the client behind NAT? Does the request exceeds 1500 bytes MTU? As you can see we need more info to help you, and simply saying xlite works doesn't help at all.

The default max URI length is 256, so there's plenty of space there.

cheers
 Benny

On Sat, Feb 7, 2009 at 4:56 AM, Joseph Maiquez josephmaiquez@yahoo.com wrote:

Hi Benny..

Here is the situation..

I can make a call when I call uri with length 30 or less (e.g. sip:mysamplesips@samplesip.com) locally and publicly no problem
but when i tried something longer than 30 (e.g. sip:mysamplesips2@samplesip.com) the request doesnt reach the host (verfied by using tcpdump in host) I tried it many times where the server is not local.. Please advised me what to to I really need to resolve this..

But using xlite no prob at all..

is there any setting for the length of message etc?

Thanks


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-----Inline Attachment Follows-----


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Benny i just wanna ask can we also increase the size of MTU? --- On Tue, 2/10/09, Benny Prijono <bennylp@teluu.com> wrote: From: Benny Prijono <bennylp@teluu.com> Subject: Re: [pjsip] Prob with long uri in pjsua_call_make_call To: "pjsip list" <pjsip@lists.pjsip.org> Date: Tuesday, February 10, 2009, 8:16 AM Well if it's fragmented then it's a problem with message size getting larger than MTU. See this entry on the FAQ on how to reduce message size: http://trac.pjsip.org/repos/wiki/FAQ#sip-msg-size On Tue, Feb 10, 2009 at 1:00 PM, Joseph Maiquez <josephmaiquez@yahoo.com> wrote: Im behind NAT, im using PJSIP connecting to asterisk, no error in log, it doesn't exceeds the 1500 bytes MTU, and I get Fragmented IP Protocol on wireshark..   here is the pattern:   INVITE 407 ACK FRAGMENTED IP PROTOCOL INVITE After fragmented protocol the packets is not received by the asterisk, I confirm this by TCPDUMP on Linux   --- On Tue, 2/10/09, Benny Prijono <bennylp@teluu.com> wrote: From: Benny Prijono <bennylp@teluu.com> Subject: Re: [pjsip] Prob with long uri in pjsua_call_make_call To: "pjsip list" <pjsip@lists.pjsip.org> Date: Tuesday, February 10, 2009, 7:12 AM Could you explain exactly what application are you using? Have you checked if you have any errors in the log? And where is the log anyway. Is the client behind NAT? Does the request exceeds 1500 bytes MTU? As you can see we need more info to help you, and simply saying xlite works doesn't help at all. The default max URI length is 256, so there's plenty of space there. cheers  Benny On Sat, Feb 7, 2009 at 4:56 AM, Joseph Maiquez <josephmaiquez@yahoo.com> wrote: Hi Benny.. Here is the situation.. I can make a call when I call uri with length 30 or less (e.g. sip:mysamplesips@samplesip.com) locally and publicly no problem but when i tried something longer than 30 (e.g. sip:mysamplesips2@samplesip.com) the request doesnt reach the host (verfied by using tcpdump in host) I tried it many times where the server is not local.. Please advised me what to to I really need to resolve this.. But using xlite no prob at all.. is there any setting for the length of message etc? Thanks _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -----Inline Attachment Follows----- _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org