Limit to the length of a body ? May be a bug.

CL
cedric leveque
Thu, Dec 18, 2008 1:37 PM

Hi everyone,

I use the transport function to send message I create to the target.
When I send a simple message with a SDP or Text plain body with low size, its works.
But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter).

I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent.

I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug.

What do you think about it ?

Regards,
Cédric.


Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  Téléchargez-le maintenant ! 
http://www.windowslive.fr/messenger/1.asp

Hi everyone, I use the transport function to send message I create to the target. When I send a simple message with a SDP or Text plain body with low size, its works. But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter). I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent. I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug. What do you think about it ? Regards, Cédric. _________________________________________________________________ Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  Téléchargez-le maintenant !  http://www.windowslive.fr/messenger/1.asp
AT
Alain Totouom
Thu, Dec 18, 2008 1:57 PM

hi,

may be you should consider using the compact form (rfc3261 §7.3.3) for headers. That might save you some bytes ;)
Your statement "I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size." might not be correct at least not for UDP as transport: MTU.
Please check (rfc3261 § 18.1.1) and so on to see how to proceed...

Cheers,
Alain

cedric leveque wrote:

Hi everyone,

I use the transport function to send message I create to the target.
When I send a simple message with a SDP or Text plain body with low size, its works.
But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter).

I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent.

I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug.

What do you think about it ?

Regards,
Cédric.

--
""
(o)(o)
o00o()o00o__
1024D/A9F85A52  2000-01-18  Alain Totouom  totouom@gmx.de
PGP FingerPrint DA180DF2 FBD25F67 0656452D E3A27531 A9F85A52

hi, may be you should consider using the compact form (rfc3261 §7.3.3) for headers. That might save you some bytes ;) Your statement "I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size." might not be correct at least not for UDP as transport: MTU. Please check (rfc3261 § 18.1.1) and so on to see how to proceed... Cheers, Alain cedric leveque wrote: > Hi everyone, > > I use the transport function to send message I create to the target. > When I send a simple message with a SDP or Text plain body with low size, its works. > But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter). > > I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent. > > I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug. > > What do you think about it ? > > Regards, > Cédric. -- "" (o)(o) _____o00o__(__)__o00o_____ 1024D/A9F85A52 2000-01-18 Alain Totouom <totouom@gmx.de> PGP FingerPrint DA180DF2 FBD25F67 0656452D E3A27531 A9F85A52
AG
Adrian Georgescu
Thu, Dec 18, 2008 2:04 PM

The default packet size is something like 2k, too small for not VoIP
payloads. You can change it here:

pjlib/include/pj/config_site.h

#define PJSIP_MAX_PKT_LEN 65536

Adrian

On Dec 18, 2008, at 2:37 PM, cedric leveque wrote:

Hi everyone,

I use the transport function to send message I create to the target.
When I send a simple message with a SDP or Text plain body with low
size, its works.
But when I send a big sized body, PJSIP says that message is sent
but no message is sent in reality (not see it in wireshark with no
filter).

I have tested the message that isn't sent, and when I use a body
with a size inferior at 1600, it is sent, and when it's superior to
1600 it is not sent.

I haven't found in RFC3261 a section saying that body of SIP
messages are limited to some size. I think that is a bug.

What do you think about it ?

Regards,
Cédric.

Discutez sur Messenger où que vous soyez ! Mettez Messenger sur
votre mobile ! _______________________________________________
Visit our blog: http://blog.pjsip.org

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

The default packet size is something like 2k, too small for not VoIP payloads. You can change it here: pjlib/include/pj/config_site.h #define PJSIP_MAX_PKT_LEN 65536 Adrian On Dec 18, 2008, at 2:37 PM, cedric leveque wrote: > Hi everyone, > > I use the transport function to send message I create to the target. > When I send a simple message with a SDP or Text plain body with low > size, its works. > But when I send a big sized body, PJSIP says that message is sent > but no message is sent in reality (not see it in wireshark with no > filter). > > I have tested the message that isn't sent, and when I use a body > with a size inferior at 1600, it is sent, and when it's superior to > 1600 it is not sent. > > I haven't found in RFC3261 a section saying that body of SIP > messages are limited to some size. I think that is a bug. > > What do you think about it ? > > Regards, > Cédric. > > Discutez sur Messenger où que vous soyez ! Mettez Messenger sur > votre mobile ! _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
GL
Gang Liu
Fri, Dec 19, 2008 4:57 AM

pls be care for large packet size if using UDP transport.

regards,
Gang

On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu ag@ag-projects.comwrote:

The default packet size is something like 2k, too small for not VoIP
payloads. You can change it here:

pjlib/include/pj/config_site.h

#define PJSIP_MAX_PKT_LEN 65536

Adrian

On Dec 18, 2008, at 2:37 PM, cedric leveque wrote:

Hi everyone,

I use the transport function to send message I create to the target.
When I send a simple message with a SDP or Text plain body with low size,
its works.
But when I send a big sized body, PJSIP says that message is sent but no
message is sent in reality (not see it in wireshark with no filter).

I have tested the message that isn't sent, and when I use a body with a
size inferior at 1600, it is sent, and when it's superior to 1600 it is not
sent.

I haven't found in RFC3261 a section saying that body of SIP messages are
limited to some size. I think that is a bug.

What do you think about it ?

Regards,
Cédric.


Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre
mobile ! http://www.messengersurvotremobile.com/


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

pls be care for large packet size if using UDP transport. regards, Gang On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu <ag@ag-projects.com>wrote: > The default packet size is something like 2k, too small for not VoIP > payloads. You can change it here: > > pjlib/include/pj/config_site.h > > #define PJSIP_MAX_PKT_LEN 65536 > > Adrian > > > On Dec 18, 2008, at 2:37 PM, cedric leveque wrote: > > Hi everyone, > > I use the transport function to send message I create to the target. > When I send a simple message with a SDP or Text plain body with low size, > its works. > But when I send a big sized body, PJSIP says that message is sent but no > message is sent in reality (not see it in wireshark with no filter). > > I have tested the message that isn't sent, and when I use a body with a > size inferior at 1600, it is sent, and when it's superior to 1600 it is not > sent. > > I haven't found in RFC3261 a section saying that body of SIP messages are > limited to some size. I think that is a bug. > > What do you think about it ? > > Regards, > Cédric. > > ------------------------------ > Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre > mobile ! <http://www.messengersurvotremobile.com/> > _______________________________________________ > 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 > >
CL
cedric leveque
Fri, Dec 19, 2008 6:26 AM

Thanks for your response.

I don't want to win just some few bytes, because I can have packet sent with a size equal or superior to 5000.

Regards,
Cédric.> Date: Thu, 18 Dec 2008 14:57:33 +0100> From: alain.totouom@gmx.de> To: pjsip@lists.pjsip.org> Subject: Re: [pjsip] Limit to the length of a body ? May be a bug.> > hi,> > may be you should consider using the compact form (rfc3261 §7.3.3) for headers. That might save you some bytes ;)> Your statement "I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size." might not be correct at least not for UDP as transport: MTU. > Please check (rfc3261 § 18.1.1) and so on to see how to proceed...> > Cheers,> Alain> > cedric leveque wrote:> > Hi everyone,> > > > I use the transport function to send message I create to the target.> > When I send a simple message with a SDP or Text plain body with low size, its works.> > But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter).> > > > I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent.> > > > I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug.> > > > What do you think about it ?> > > > Regards,> > Cédric.> > > > -- > ""> (o)(o) > o00o()o00o__> 1024D/A9F85A52 2000-01-18 Alain Totouom totouom@gmx.de> PGP FingerPrint DA180DF2 FBD25F67 0656452D E3A27531 A9F85A52> > _______________________________________________> Visit our blog: http://blog.pjsip.org> > pjsip mailing list> pjsip@lists.pjsip.org> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez à Hotmail ! C'est gratuit !
http://www.windowslive.fr/hotmail/default.asp

Thanks for your response. I don't want to win just some few bytes, because I can have packet sent with a size equal or superior to 5000. Regards, Cédric.> Date: Thu, 18 Dec 2008 14:57:33 +0100> From: alain.totouom@gmx.de> To: pjsip@lists.pjsip.org> Subject: Re: [pjsip] Limit to the length of a body ? May be a bug.> > hi,> > may be you should consider using the compact form (rfc3261 §7.3.3) for headers. That might save you some bytes ;)> Your statement "I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size." might not be correct at least not for UDP as transport: MTU. > Please check (rfc3261 § 18.1.1) and so on to see how to proceed...> > Cheers,> Alain> > cedric leveque wrote:> > Hi everyone,> > > > I use the transport function to send message I create to the target.> > When I send a simple message with a SDP or Text plain body with low size, its works.> > But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter).> > > > I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent.> > > > I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug.> > > > What do you think about it ?> > > > Regards,> > Cédric.> > > > -- > ""> (o)(o) > _____o00o__(__)__o00o_____> 1024D/A9F85A52 2000-01-18 Alain Totouom <totouom@gmx.de>> PGP FingerPrint DA180DF2 FBD25F67 0656452D E3A27531 A9F85A52> > _______________________________________________> Visit our blog: http://blog.pjsip.org> > pjsip mailing list> pjsip@lists.pjsip.org> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _________________________________________________________________ Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez à Hotmail ! C'est gratuit ! http://www.windowslive.fr/hotmail/default.asp
CL
cedric leveque
Fri, Dec 19, 2008 6:28 AM

Thanks for your response,

I will change limit. I don't see it.

Regards,
cédric.

Date: Fri, 19 Dec 2008 12:57:22 +0800From: gangban.lau@gmail.comTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] Limit to the length of a body ? May be a bug.pls be care for large packet size if using UDP transport.regards,Gang
On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu ag@ag-projects.com wrote:

The default packet size is something like 2k, too small for not VoIP payloads. You can change it here:

pjlib/include/pj/config_site.h

#define PJSIP_MAX_PKT_LEN 65536

Adrian

On Dec 18, 2008, at 2:37 PM, cedric leveque wrote:

Hi everyone, I use the transport function to send message I create to the target.When I send a simple message with a SDP or Text plain body with low size, its works.But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter). I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent. I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug. What do you think about it ? Regards,Cédric.

Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre mobile ! _______________________________________________
Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org_______________________________________________Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez à Hotmail ! C'est gratuit !
http://www.windowslive.fr/hotmail/default.asp

Thanks for your response, I will change limit. I don't see it. Regards, cédric. Date: Fri, 19 Dec 2008 12:57:22 +0800From: gangban.lau@gmail.comTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] Limit to the length of a body ? May be a bug.pls be care for large packet size if using UDP transport.regards,Gang On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu <ag@ag-projects.com> wrote: The default packet size is something like 2k, too small for not VoIP payloads. You can change it here: pjlib/include/pj/config_site.h #define PJSIP_MAX_PKT_LEN 65536 Adrian On Dec 18, 2008, at 2:37 PM, cedric leveque wrote: Hi everyone, I use the transport function to send message I create to the target.When I send a simple message with a SDP or Text plain body with low size, its works.But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter). I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent. I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug. What do you think about it ? Regards,Cédric. Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre mobile ! _______________________________________________ Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org_______________________________________________Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _________________________________________________________________ Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez à Hotmail ! C'est gratuit ! http://www.windowslive.fr/hotmail/default.asp
CL
cedric leveque
Fri, Dec 19, 2008 1:09 PM

I test it and it's work fine thanks.

Regards,
Cédric.

From: levequecedric@hotmail.comTo: pjsip@lists.pjsip.orgDate: Fri, 19 Dec 2008 07:28:32 +0100Subject: Re: [pjsip] Limit to the length of a body ? May be a bug.

Thanks for your response, I will change limit. I don't see it. Regards,cédric.

Date: Fri, 19 Dec 2008 12:57:22 +0800From: gangban.lau@gmail.comTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] Limit to the length of a body ? May be a bug.pls be care for large packet size if using UDP transport.regards,Gang
On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu ag@ag-projects.com wrote:

The default packet size is something like 2k, too small for not VoIP payloads. You can change it here:

pjlib/include/pj/config_site.h

#define PJSIP_MAX_PKT_LEN 65536

Adrian

On Dec 18, 2008, at 2:37 PM, cedric leveque wrote:

Hi everyone, I use the transport function to send message I create to the target.When I send a simple message with a SDP or Text plain body with low size, its works.But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter). I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent. I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug. What do you think about it ? Regards,Cédric.

Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre mobile ! _______________________________________________
Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org_______________________________________________Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo


Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez à Hotmail ! C'est gratuit !
http://www.windowslive.fr/hotmail/default.asp

I test it and it's work fine thanks. Regards, Cédric. From: levequecedric@hotmail.comTo: pjsip@lists.pjsip.orgDate: Fri, 19 Dec 2008 07:28:32 +0100Subject: Re: [pjsip] Limit to the length of a body ? May be a bug. Thanks for your response, I will change limit. I don't see it. Regards,cédric. Date: Fri, 19 Dec 2008 12:57:22 +0800From: gangban.lau@gmail.comTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] Limit to the length of a body ? May be a bug.pls be care for large packet size if using UDP transport.regards,Gang On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu <ag@ag-projects.com> wrote: The default packet size is something like 2k, too small for not VoIP payloads. You can change it here: pjlib/include/pj/config_site.h #define PJSIP_MAX_PKT_LEN 65536 Adrian On Dec 18, 2008, at 2:37 PM, cedric leveque wrote: Hi everyone, I use the transport function to send message I create to the target.When I send a simple message with a SDP or Text plain body with low size, its works.But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter). I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent. I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug. What do you think about it ? Regards,Cédric. Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre mobile ! _______________________________________________ Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org_______________________________________________Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo _________________________________________________________________ Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez à Hotmail ! C'est gratuit ! http://www.windowslive.fr/hotmail/default.asp
GL
Gang Liu
Mon, Dec 22, 2008 4:20 AM

Did you do testing at internet?
UDP fragmentation may cause problem. I don't know whether pjsip can handle
this. But when I used Microsoft RTC before, I must use TCP transport to
build internet SIP APP when large SIP message needed.

regards,
Gang

On Fri, Dec 19, 2008 at 9:09 PM, cedric leveque
levequecedric@hotmail.comwrote:

I test it and it's work fine thanks.

Regards,
Cédric.


From: levequecedric@hotmail.com
To: pjsip@lists.pjsip.org
Date: Fri, 19 Dec 2008 07:28:32 +0100

Subject: Re: [pjsip] Limit to the length of a body ? May be a bug.

Thanks for your response,

I will change limit. I don't see it.

Regards,
cédric.


Date: Fri, 19 Dec 2008 12:57:22 +0800
From: gangban.lau@gmail.com
To: pjsip@lists.pjsip.org
Subject: Re: [pjsip] Limit to the length of a body ? May be a bug.

pls be care for large packet size if using UDP transport.

regards,
Gang

On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu ag@ag-projects.comwrote:

The default packet size is something like 2k, too small for not VoIP
payloads. You can change it here:

pjlib/include/pj/config_site.h

#define PJSIP_MAX_PKT_LEN 65536

Adrian

On Dec 18, 2008, at 2:37 PM, cedric leveque wrote:

Hi everyone,

I use the transport function to send message I create to the target.
When I send a simple message with a SDP or Text plain body with low size,
its works.
But when I send a big sized body, PJSIP says that message is sent but no
message is sent in reality (not see it in wireshark with no filter).

I have tested the message that isn't sent, and when I use a body with a
size inferior at 1600, it is sent, and when it's superior to 1600 it is not
sent.

I haven't found in RFC3261 a section saying that body of SIP messages are
limited to some size. I think that is a bug.

What do you think about it ?

Regards,
Cédric.


Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre
mobile ! http://www.messengersurvotremobile.com/ _______________________________________________

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


Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur
votre mobile ? la réponse en vidéo la réponse en vidéohttp://www.microsoft.com/france/windows/bts/default.mspx

Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur
votre mobile ? la réponse en vidéo la réponse en vidéohttp://www.microsoft.com/france/windows/bts/default.mspx


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

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

Did you do testing at internet? UDP fragmentation may cause problem. I don't know whether pjsip can handle this. But when I used Microsoft RTC before, I must use TCP transport to build internet SIP APP when large SIP message needed. regards, Gang On Fri, Dec 19, 2008 at 9:09 PM, cedric leveque <levequecedric@hotmail.com>wrote: > I test it and it's work fine thanks. > > Regards, > Cédric. > > > ------------------------------ > > From: levequecedric@hotmail.com > To: pjsip@lists.pjsip.org > Date: Fri, 19 Dec 2008 07:28:32 +0100 > > Subject: Re: [pjsip] Limit to the length of a body ? May be a bug. > > Thanks for your response, > > I will change limit. I don't see it. > > Regards, > cédric. > > > > ------------------------------ > > > Date: Fri, 19 Dec 2008 12:57:22 +0800 > From: gangban.lau@gmail.com > To: pjsip@lists.pjsip.org > Subject: Re: [pjsip] Limit to the length of a body ? May be a bug. > > pls be care for large packet size if using UDP transport. > > regards, > Gang > > > > > On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu <ag@ag-projects.com>wrote: > > The default packet size is something like 2k, too small for not VoIP > payloads. You can change it here: > > pjlib/include/pj/config_site.h > > #define PJSIP_MAX_PKT_LEN 65536 > > Adrian > > > On Dec 18, 2008, at 2:37 PM, cedric leveque wrote: > > Hi everyone, > > I use the transport function to send message I create to the target. > When I send a simple message with a SDP or Text plain body with low size, > its works. > But when I send a big sized body, PJSIP says that message is sent but no > message is sent in reality (not see it in wireshark with no filter). > > I have tested the message that isn't sent, and when I use a body with a > size inferior at 1600, it is sent, and when it's superior to 1600 it is not > sent. > > I haven't found in RFC3261 a section saying that body of SIP messages are > limited to some size. I think that is a bug. > > What do you think about it ? > > Regards, > Cédric. > > ------------------------------ > Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre > mobile ! <http://www.messengersurvotremobile.com/> _______________________________________________ > > 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 > > > > ------------------------------ > Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur > votre mobile ? la réponse en vidéo la réponse en vidéo<http://www.microsoft.com/france/windows/bts/default.mspx> > ------------------------------ > Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur > votre mobile ? la réponse en vidéo la réponse en vidéo<http://www.microsoft.com/france/windows/bts/default.mspx> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
CL
cedric leveque
Mon, Dec 22, 2008 6:27 AM

"Did you do testing at internet?"

No.
I'm on private network.

I can't use TCP connection. It's a requirement of my client.

Regards,
Cédric.

Date: Mon, 22 Dec 2008 12:20:22 +0800From: gangban.lau@gmail.comTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] Limit to the length of a body ? May be a bug.Did you do testing at internet?UDP fragmentation may cause problem. I don't know whether pjsip can handle this. But when I used Microsoft RTC before, I must use TCP transport to build internet SIP APP when large SIP message needed. regards,Gang
On Fri, Dec 19, 2008 at 9:09 PM, cedric leveque levequecedric@hotmail.com wrote:

I test it and it's work fine thanks. Regards,Cédric.

From: levequecedric@hotmail.com
To: pjsip@lists.pjsip.orgDate: Fri, 19 Dec 2008 07:28:32 +0100

Subject: Re: [pjsip] Limit to the length of a body ? May be a bug.Thanks for your response, I will change limit. I don't see it. Regards,cédric.

Date: Fri, 19 Dec 2008 12:57:22 +0800From: gangban.lau@gmail.comTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] Limit to the length of a body ? May be a bug.pls be care for large packet size if using UDP transport.regards,Gang
On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu ag@ag-projects.com wrote:

The default packet size is something like 2k, too small for not VoIP payloads. You can change it here:

pjlib/include/pj/config_site.h

#define PJSIP_MAX_PKT_LEN 65536

Adrian

On Dec 18, 2008, at 2:37 PM, cedric leveque wrote:

Hi everyone, I use the transport function to send message I create to the target.When I send a simple message with a SDP or Text plain body with low size, its works.But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter). I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent. I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug. What do you think about it ? Regards,Cédric.

Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre mobile ! _______________________________________________
Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org_______________________________________________Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo

Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo_______________________________________________Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Inédit ! Des Emoticônes Déjantées! Installez les dans votre Messenger !
http://www.ilovemessenger.fr/Emoticones/EmoticonesDejantees.aspx

"Did you do testing at internet?" No. I'm on private network. I can't use TCP connection. It's a requirement of my client. Regards, Cédric. Date: Mon, 22 Dec 2008 12:20:22 +0800From: gangban.lau@gmail.comTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] Limit to the length of a body ? May be a bug.Did you do testing at internet?UDP fragmentation may cause problem. I don't know whether pjsip can handle this. But when I used Microsoft RTC before, I must use TCP transport to build internet SIP APP when large SIP message needed. regards,Gang On Fri, Dec 19, 2008 at 9:09 PM, cedric leveque <levequecedric@hotmail.com> wrote: I test it and it's work fine thanks. Regards,Cédric. From: levequecedric@hotmail.com To: pjsip@lists.pjsip.orgDate: Fri, 19 Dec 2008 07:28:32 +0100 Subject: Re: [pjsip] Limit to the length of a body ? May be a bug.Thanks for your response, I will change limit. I don't see it. Regards,cédric. Date: Fri, 19 Dec 2008 12:57:22 +0800From: gangban.lau@gmail.comTo: pjsip@lists.pjsip.orgSubject: Re: [pjsip] Limit to the length of a body ? May be a bug.pls be care for large packet size if using UDP transport.regards,Gang On Thu, Dec 18, 2008 at 10:04 PM, Adrian Georgescu <ag@ag-projects.com> wrote: The default packet size is something like 2k, too small for not VoIP payloads. You can change it here: pjlib/include/pj/config_site.h #define PJSIP_MAX_PKT_LEN 65536 Adrian On Dec 18, 2008, at 2:37 PM, cedric leveque wrote: Hi everyone, I use the transport function to send message I create to the target.When I send a simple message with a SDP or Text plain body with low size, its works.But when I send a big sized body, PJSIP says that message is sent but no message is sent in reality (not see it in wireshark with no filter). I have tested the message that isn't sent, and when I use a body with a size inferior at 1600, it is sent, and when it's superior to 1600 it is not sent. I haven't found in RFC3261 a section saying that body of SIP messages are limited to some size. I think that is a bug. What do you think about it ? Regards,Cédric. Discutez sur Messenger où que vous soyez ! Mettez Messenger sur votre mobile ! _______________________________________________ Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org_______________________________________________Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur votre mobile ? la réponse en vidéo la réponse en vidéo_______________________________________________Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _________________________________________________________________ Inédit ! Des Emoticônes Déjantées! Installez les dans votre Messenger ! http://www.ilovemessenger.fr/Emoticones/EmoticonesDejantees.aspx