Prob with long uri in pjsua_call_make_call

JM
Joseph Maiquez
Sat, Feb 7, 2009 4:56 AM

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

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
BP
Benny Prijono
Tue, Feb 10, 2009 12:12 PM

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.comwrote:

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 sip%3Amysamplesips@samplesip.com) locally
and publicly no problem
but when i tried something longer than 30 (e.g.
sip:mysamplesips2@samplesip.com sip%3Amysamplesips2@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

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 <sip%3Amysamplesips@samplesip.com>) locally > and publicly no problem > but when i tried something longer than 30 (e.g. > sip:mysamplesips2@samplesip.com <sip%3Amysamplesips2@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 > >
JM
Joseph Maiquez
Tue, Feb 10, 2009 1:00 PM

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

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
BP
Benny Prijono
Tue, Feb 10, 2009 1:16 PM

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.comwrote:

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.comwrote:

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 sip%3Amysamplesips@samplesip.com)
locally and publicly no problem
but when i tried something longer than 30 (e.g.
sip:mysamplesips2@samplesip.com sip%3Amysamplesips2@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 listpjsip@lists.pjsip.orghttp://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

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 <sip%3Amysamplesips@samplesip.com>) >> locally and publicly no problem >> but when i tried something longer than 30 (e.g. >> sip:mysamplesips2@samplesip.com <sip%3Amysamplesips2@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 listpjsip@lists.pjsip.orghttp://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 > >
JM
Joseph Maiquez
Wed, Feb 11, 2009 1:40 AM

Thanks Benny

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

Thanks

--- 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


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

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

Thanks Benny When I set PJSIP_ENCODE_SHORT_HNAME to 1, the app works fine.. Thanks --- 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 _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org