QG
Qh guo
Tue, Jul 14, 2009 9:31 AM
Hi,
PjSIP 1.3 said it supported large message transfer switching TCP
automatically.
So my question is: How large can it transfer using send_request_msg() in a
call?
For application, Does it need do extra efforts to deal with the large
message receiving. Eg: wait until the end of the message.
or the PjSIP has done this for us and we just using the callback of the
PjSIP.
--
Thanks & Best Regards!
~~I play every game like the last one!~~
Hi,
PjSIP 1.3 said it supported large message transfer switching TCP
automatically.
So my question is: How large can it transfer using send_request_msg() in a
call?
For application, Does it need do extra efforts to deal with the large
message receiving. Eg: wait until the end of the message.
or the PjSIP has done this for us and we just using the callback of the
PjSIP.
--
Thanks & Best Regards!
Email:rashaguo@gmail.com <Email%3Arashaguo@gmail.com>
MSN:ra8310abc@hotmail.com <MSN%3Ara8310abc@hotmail.com>
------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~I play every game like the last one!~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NI
Nanang Izzuddin
Tue, Jul 14, 2009 3:57 PM
Hi,
PjSIP 1.3 said it supported large message transfer switching TCP
automatically.
So my question is: How large can it transfer using send_request_msg() in a
call?
Not sure if I got the question right. The feature of auto-switch to
TCP in 1.3 is: whenever the SIP message size (that is about to be sent
via UDP) exceeds PJSIP_UDP_SIZE_THRESHOLD (default value is 1300
bytes), the stack will automatically switch transport to TCP, if it
fails (e.g: timeout, TCP transport not available), the message will
still be sent via UDP. While maximum message size is configurable via
PJSIP_MAX_PKT_LEN (default is 2000 bytes).
For application, Does it need do extra efforts to deal with the large
message receiving. Eg: wait until the end of the message.
or the PjSIP has done this for us and we just using the callback of the
PjSIP.
Hi,
On Tue, Jul 14, 2009 at 4:31 PM, Qh guo<rashaguo@gmail.com> wrote:
> Hi,
>
> PjSIP 1.3 said it supported large message transfer switching TCP
> automatically.
>
> So my question is: How large can it transfer using send_request_msg() in a
> call?
Not sure if I got the question right. The feature of auto-switch to
TCP in 1.3 is: whenever the SIP message size (that is about to be sent
via UDP) exceeds PJSIP_UDP_SIZE_THRESHOLD (default value is 1300
bytes), the stack will automatically switch transport to TCP, if it
fails (e.g: timeout, TCP transport not available), the message will
still be sent via UDP. While maximum message size is configurable via
PJSIP_MAX_PKT_LEN (default is 2000 bytes).
>
> For application, Does it need do extra efforts to deal with the large
> message receiving. Eg: wait until the end of the message.
No.
>
> or the PjSIP has done this for us and we just using the callback of the
> PjSIP.
Yes.
Regards,
nanang
X
xutm
Wed, Jul 15, 2009 12:30 AM
Hi Nanang lzzuddin,
Large message? Do you mean pjsip 1.3 supports sending large message such as
big files? Does it do that using MSRP protocol?
2009/7/14 Nanang Izzuddin nanang@pjsip.org
Hi,
PjSIP 1.3 said it supported large message transfer switching TCP
automatically.
So my question is: How large can it transfer using send_request_msg() in
Not sure if I got the question right. The feature of auto-switch to
TCP in 1.3 is: whenever the SIP message size (that is about to be sent
via UDP) exceeds PJSIP_UDP_SIZE_THRESHOLD (default value is 1300
bytes), the stack will automatically switch transport to TCP, if it
fails (e.g: timeout, TCP transport not available), the message will
still be sent via UDP. While maximum message size is configurable via
PJSIP_MAX_PKT_LEN (default is 2000 bytes).
For application, Does it need do extra efforts to deal with the large
message receiving. Eg: wait until the end of the message.
or the PjSIP has done this for us and we just using the callback of the
PjSIP.
Hi Nanang lzzuddin,
Large message? Do you mean pjsip 1.3 supports sending large message such as
big files? Does it do that using MSRP protocol?
2009/7/14 Nanang Izzuddin <nanang@pjsip.org>
> Hi,
>
> On Tue, Jul 14, 2009 at 4:31 PM, Qh guo<rashaguo@gmail.com> wrote:
> > Hi,
> >
> > PjSIP 1.3 said it supported large message transfer switching TCP
> > automatically.
> >
> > So my question is: How large can it transfer using send_request_msg() in
> a
> > call?
>
> Not sure if I got the question right. The feature of auto-switch to
> TCP in 1.3 is: whenever the SIP message size (that is about to be sent
> via UDP) exceeds PJSIP_UDP_SIZE_THRESHOLD (default value is 1300
> bytes), the stack will automatically switch transport to TCP, if it
> fails (e.g: timeout, TCP transport not available), the message will
> still be sent via UDP. While maximum message size is configurable via
> PJSIP_MAX_PKT_LEN (default is 2000 bytes).
>
> >
> > For application, Does it need do extra efforts to deal with the large
> > message receiving. Eg: wait until the end of the message.
>
> No.
>
> >
> > or the PjSIP has done this for us and we just using the callback of the
> > PjSIP.
>
> Yes.
>
> Regards,
> nanang
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
NI
Nanang Izzuddin
Wed, Jul 15, 2009 5:08 AM
No, I got it wrong about "large message" then :) The auto-switch to
TCP feature in pjsip 1.3 I was talking about is related to RFC 3261
section 18.1.1:
- If a request is within 200 bytes of the path MTU, or if it is larger
- than 1300 bytes and the path MTU is unknown, the request MUST be sent
- using an RFC 2914 [43] congestion controlled transport protocol, such
- as TCP.
Regards,
nanang
On Wed, Jul 15, 2009 at 7:30 AM, xutmxutom2006@gmail.com wrote:
Hi Nanang lzzuddin,
Large message? Do you mean pjsip 1.3 supports sending large message such as
big files? Does it do that using MSRP protocol?
2009/7/14 Nanang Izzuddin nanang@pjsip.org
Hi,
PjSIP 1.3 said it supported large message transfer switching TCP
automatically.
So my question is: How large can it transfer using send_request_msg() in
a
call?
Not sure if I got the question right. The feature of auto-switch to
TCP in 1.3 is: whenever the SIP message size (that is about to be sent
via UDP) exceeds PJSIP_UDP_SIZE_THRESHOLD (default value is 1300
bytes), the stack will automatically switch transport to TCP, if it
fails (e.g: timeout, TCP transport not available), the message will
still be sent via UDP. While maximum message size is configurable via
PJSIP_MAX_PKT_LEN (default is 2000 bytes).
For application, Does it need do extra efforts to deal with the large
message receiving. Eg: wait until the end of the message.
or the PjSIP has done this for us and we just using the callback of the
PjSIP.
No, I got it wrong about "large message" then :) The auto-switch to
TCP feature in pjsip 1.3 I was talking about is related to RFC 3261
section 18.1.1:
---
* If a request is within 200 bytes of the path MTU, or if it is larger
* than 1300 bytes and the path MTU is unknown, the request MUST be sent
* using an RFC 2914 [43] congestion controlled transport protocol, such
* as TCP.
---
Regards,
nanang
On Wed, Jul 15, 2009 at 7:30 AM, xutm<xutom2006@gmail.com> wrote:
> Hi Nanang lzzuddin,
>
> Large message? Do you mean pjsip 1.3 supports sending large message such as
> big files? Does it do that using MSRP protocol?
>
> 2009/7/14 Nanang Izzuddin <nanang@pjsip.org>
>>
>> Hi,
>>
>> On Tue, Jul 14, 2009 at 4:31 PM, Qh guo<rashaguo@gmail.com> wrote:
>> > Hi,
>> >
>> > PjSIP 1.3 said it supported large message transfer switching TCP
>> > automatically.
>> >
>> > So my question is: How large can it transfer using send_request_msg() in
>> > a
>> > call?
>>
>> Not sure if I got the question right. The feature of auto-switch to
>> TCP in 1.3 is: whenever the SIP message size (that is about to be sent
>> via UDP) exceeds PJSIP_UDP_SIZE_THRESHOLD (default value is 1300
>> bytes), the stack will automatically switch transport to TCP, if it
>> fails (e.g: timeout, TCP transport not available), the message will
>> still be sent via UDP. While maximum message size is configurable via
>> PJSIP_MAX_PKT_LEN (default is 2000 bytes).
>>
>> >
>> > For application, Does it need do extra efforts to deal with the large
>> > message receiving. Eg: wait until the end of the message.
>>
>> No.
>>
>> >
>> > or the PjSIP has done this for us and we just using the callback of the
>> > PjSIP.
>>
>> Yes.
>>
>> Regards,
>> nanang
>>
>> _______________________________________________
>> 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
>
>
QG
Qh guo
Wed, Jul 15, 2009 5:32 AM
Great!
Many thanks Nanang!
You got my question. "large message" I said means the large request message.
One more question:
PJSIP_MAX_PKT_LEN, this macro, Can I configure it with big value? like 10M
bytes? Will it cause lower efficiency for PjSIP?
And if it was configureed with default value and no TCP available, can pjsip
send request message with larger message body (much more lager than
2000bytes) successfully?
Thanks!
2009/7/15 Nanang Izzuddin nanang@pjsip.org
No, I got it wrong about "large message" then :) The auto-switch to
TCP feature in pjsip 1.3 I was talking about is related to RFC 3261
section 18.1.1:
- If a request is within 200 bytes of the path MTU, or if it is larger
- than 1300 bytes and the path MTU is unknown, the request MUST be sent
- using an RFC 2914 [43] congestion controlled transport protocol, such
- as TCP.
Regards,
nanang
On Wed, Jul 15, 2009 at 7:30 AM, xutmxutom2006@gmail.com wrote:
Hi Nanang lzzuddin,
Large message? Do you mean pjsip 1.3 supports sending large message such
big files? Does it do that using MSRP protocol?
2009/7/14 Nanang Izzuddin nanang@pjsip.org
Hi,
PjSIP 1.3 said it supported large message transfer switching TCP
automatically.
So my question is: How large can it transfer using send_request_msg()
Not sure if I got the question right. The feature of auto-switch to
TCP in 1.3 is: whenever the SIP message size (that is about to be sent
via UDP) exceeds PJSIP_UDP_SIZE_THRESHOLD (default value is 1300
bytes), the stack will automatically switch transport to TCP, if it
fails (e.g: timeout, TCP transport not available), the message will
still be sent via UDP. While maximum message size is configurable via
PJSIP_MAX_PKT_LEN (default is 2000 bytes).
For application, Does it need do extra efforts to deal with the large
message receiving. Eg: wait until the end of the message.
or the PjSIP has done this for us and we just using the callback of
--
Thanks & Best Regards!
~~I play every game like the last one!~~
Great!
Many thanks Nanang!
You got my question. "large message" I said means the large request message.
One more question:
PJSIP_MAX_PKT_LEN, this macro, Can I configure it with big value? like 10M
bytes? Will it cause lower efficiency for PjSIP?
And if it was configureed with default value and no TCP available, can pjsip
send request message with larger message body (much more lager than
2000bytes) successfully?
Thanks!
2009/7/15 Nanang Izzuddin <nanang@pjsip.org>
> No, I got it wrong about "large message" then :) The auto-switch to
> TCP feature in pjsip 1.3 I was talking about is related to RFC 3261
> section 18.1.1:
> ---
> * If a request is within 200 bytes of the path MTU, or if it is larger
> * than 1300 bytes and the path MTU is unknown, the request MUST be sent
> * using an RFC 2914 [43] congestion controlled transport protocol, such
> * as TCP.
> ---
>
> Regards,
> nanang
>
>
> On Wed, Jul 15, 2009 at 7:30 AM, xutm<xutom2006@gmail.com> wrote:
> > Hi Nanang lzzuddin,
> >
> > Large message? Do you mean pjsip 1.3 supports sending large message such
> as
> > big files? Does it do that using MSRP protocol?
> >
> > 2009/7/14 Nanang Izzuddin <nanang@pjsip.org>
> >>
> >> Hi,
> >>
> >> On Tue, Jul 14, 2009 at 4:31 PM, Qh guo<rashaguo@gmail.com> wrote:
> >> > Hi,
> >> >
> >> > PjSIP 1.3 said it supported large message transfer switching TCP
> >> > automatically.
> >> >
> >> > So my question is: How large can it transfer using send_request_msg()
> in
> >> > a
> >> > call?
> >>
> >> Not sure if I got the question right. The feature of auto-switch to
> >> TCP in 1.3 is: whenever the SIP message size (that is about to be sent
> >> via UDP) exceeds PJSIP_UDP_SIZE_THRESHOLD (default value is 1300
> >> bytes), the stack will automatically switch transport to TCP, if it
> >> fails (e.g: timeout, TCP transport not available), the message will
> >> still be sent via UDP. While maximum message size is configurable via
> >> PJSIP_MAX_PKT_LEN (default is 2000 bytes).
> >>
> >> >
> >> > For application, Does it need do extra efforts to deal with the large
> >> > message receiving. Eg: wait until the end of the message.
> >>
> >> No.
> >>
> >> >
> >> > or the PjSIP has done this for us and we just using the callback of
> the
> >> > PjSIP.
> >>
> >> Yes.
> >>
> >> Regards,
> >> nanang
> >>
> >> _______________________________________________
> >> 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 & Best Regards!
Email:rashaguo@gmail.com <Email%3Arashaguo@gmail.com>
MSN:ra8310abc@hotmail.com <MSN%3Ara8310abc@hotmail.com>
------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~I play every game like the last one!~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NI
Nanang Izzuddin
Wed, Jul 15, 2009 6:09 PM
Great!
Many thanks Nanang!
You got my question. "large message" I said means the large request message.
One more question:
PJSIP_MAX_PKT_LEN, this macro, Can I configure it with big value? like 10M
bytes? Will it cause lower efficiency for PjSIP?
Honestly, I am not sure what will happen (or perhaps don't wanna think
about it for now).
And if it was configureed with default value and no TCP available, can pjsip
send request message with larger message body (much more lager than
2000bytes) successfully?
AFAIK, no, PJSIP_MAX_PKT_LEN is there for something :)
Regards,
nanang
Hi,
On Wed, Jul 15, 2009 at 12:32 PM, Qh guo<rashaguo@gmail.com> wrote:
> Great!
> Many thanks Nanang!
>
> You got my question. "large message" I said means the large request message.
>
> One more question:
> PJSIP_MAX_PKT_LEN, this macro, Can I configure it with big value? like 10M
> bytes? Will it cause lower efficiency for PjSIP?
Honestly, I am not sure what will happen (or perhaps don't wanna think
about it for now).
> And if it was configureed with default value and no TCP available, can pjsip
> send request message with larger message body (much more lager than
> 2000bytes) successfully?
AFAIK, no, PJSIP_MAX_PKT_LEN is there for something :)
Regards,
nanang
QG
Qh guo
Thu, Jul 16, 2009 2:34 AM
Hi,
Here I will clarify what I concern. Now SIP is used in VoIP mostly but it
can be used in many fields from SIP feature. Eg.: It likes HTTP protocol and
even replaces HTTP which uses TCP transport. So I am working on an
application based on SIP, and it can work for VoIP + Http Like application
(send request response with SIP msg body) and the later will need TCP
support if large message.
So, I am not sure PjSIP group have cared about this part, that is sending
request and response using SIP like HTTP did. I hope pjSIP can extend a
module which can deal with it. It will make SIP used in much more fields not
only VoIP IM. Even Web server...
Thanks!
2009/7/16 Nanang Izzuddin nanang@pjsip.org
Great!
Many thanks Nanang!
You got my question. "large message" I said means the large request
One more question:
PJSIP_MAX_PKT_LEN, this macro, Can I configure it with big value? like
bytes? Will it cause lower efficiency for PjSIP?
Honestly, I am not sure what will happen (or perhaps don't wanna think
about it for now).
And if it was configureed with default value and no TCP available, can
send request message with larger message body (much more lager than
2000bytes) successfully?
--
Thanks & Best Regards!
~~I play every game like the last one!~~
Hi,
Here I will clarify what I concern. Now SIP is used in VoIP mostly but it
can be used in many fields from SIP feature. Eg.: It likes HTTP protocol and
even replaces HTTP which uses TCP transport. So I am working on an
application based on SIP, and it can work for VoIP + Http Like application
(send request response with SIP msg body) and the later will need TCP
support if large message.
So, I am not sure PjSIP group have cared about this part, that is sending
request and response using SIP like HTTP did. I hope pjSIP can extend a
module which can deal with it. It will make SIP used in much more fields not
only VoIP IM. Even Web server...
Thanks!
2009/7/16 Nanang Izzuddin <nanang@pjsip.org>
> Hi,
>
> On Wed, Jul 15, 2009 at 12:32 PM, Qh guo<rashaguo@gmail.com> wrote:
> > Great!
> > Many thanks Nanang!
> >
> > You got my question. "large message" I said means the large request
> message.
> >
> > One more question:
> > PJSIP_MAX_PKT_LEN, this macro, Can I configure it with big value? like
> 10M
> > bytes? Will it cause lower efficiency for PjSIP?
>
> Honestly, I am not sure what will happen (or perhaps don't wanna think
> about it for now).
>
> > And if it was configureed with default value and no TCP available, can
> pjsip
> > send request message with larger message body (much more lager than
> > 2000bytes) successfully?
>
> AFAIK, no, PJSIP_MAX_PKT_LEN is there for something :)
>
> Regards,
> nanang
>
> _______________________________________________
> 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 & Best Regards!
Email:rashaguo@gmail.com <Email%3Arashaguo@gmail.com>
MSN:ra8310abc@hotmail.com <MSN%3Ara8310abc@hotmail.com>
------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~I play every game like the last one!~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~