Prob with long uri in pjsua_call_make_call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Benny

When I set PJSIP_ENCODE_SHORT_HNAME to 1, the app works fine..

Thanks

--- On Tue, 2/10/09, Benny Prijono <bennylp at teluu.com> wrote:
From: Benny Prijono <bennylp@xxxxxxxxx>
Subject: Re: Prob with long uri in pjsua_call_make_call
To: "pjsip list" <pjsip at 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 at 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 at teluu.com> wrote:

From: Benny Prijono <bennylp@xxxxxxxxx>
Subject: Re: Prob with long uri in pjsua_call_make_call

To: "pjsip list" <pjsip at 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 at 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 at samplesip.com) locally and publicly no problem

but when i tried something longer than 30 (e.g. sip:mysamplesips2 at 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 at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



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

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



      
_______________________________________________

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



pjsip mailing list

pjsip at lists.pjsip.org

http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




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

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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090210/7c11e0ac/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux