[Osip] INFO message causes an 481 reply
Aymeric Moizard
jack at atosc.org
Tue Jan 29 17:58:54 CET 2008
On Tue, 29 Jan 2008, Dagani Itay-BID123 wrote:
> Hi Aymeric and thank you for your answer.
>
> I would like to send some data using SDP between two user agents which
> is not within a call,
> You wrote that INFO is allowed only within calls, so it is not a good
> candidate, can you please
> suggest a different SIP method/request that I can use in osip2/exosip2
> that is suitable to
> transfer information between two user agents outside of a call.
Any non-existing method is a good idea as far
as you know there will not be conflict with any other
possible private or future SIP extensions.
MOTOROLASTART?
MOTOROLAINVITE?
MOTOROLAINFO?
tks,
Aymeric
> Thanks :-)
>
> Itay
>
> -----Original Message-----
> From: osip-bounces at atosc.org [mailto:osip-bounces at atosc.org] On Behalf
> Of Aymeric Moizard
> Sent: Monday, January 28, 2008 5:02 PM
> To: osip mailing list
> Subject: Re: [Osip] INFO message causes an 481 reply
>
>
> On Mon, 28 Jan 2008, Dagani Itay-BID123 wrote:
>
>> Hello,
>>
>> I have two user agents (A & B) which register to the same proxy.
>>
>> After registering both, I cause an INFO message to be sent from A to
> B.
>>
>> INFO
>> A ----> B
>>
>> Even before the code reaches the receiving message handler (on B), I
>> can see
>>
>> 481
>> B ----> A
>>
>>
>> B sends "SIP/2.0 481 Call Leg/Transaction Does Not Exist" to A
>>
>> Is this because this INFO message is outside of a call ?
>
> yes.
>
>> how can I prevent this ? (and if I prevent this, do I break
>> compatibility with the sip rfc 3261 ?)
>
> yes.
>
> INFO method is a method that is only allowed within call. That's why I
> have decided in eXosip2 to reject INFO outside calls.
>
> You can change this internally, this won't break much.
> Aymeric
>
>> Thanks :-)
>>
>> Itay
>>
>>
>> _______________________________________________
>> Osip mailing list
>> Osip at atosc.org
>> http://www.atosc.org/mailinglist/listinfo/osip
>>
>>
>
> _______________________________________________
> Osip mailing list
> Osip at atosc.org
> http://www.atosc.org/mailinglist/listinfo/osip
>
> _______________________________________________
> Osip mailing list
> Osip at atosc.org
> http://www.atosc.org/mailinglist/listinfo/osip
>
>
More information about the Osip
mailing list