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,
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
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
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
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 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
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
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
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?"
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