linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-users] Re: ole!


From: Aymeric Moizard
Subject: [Linphone-users] Re: ole!
Date: Wed, 3 Jul 2002 15:07:36 +0200 (CEST)

Hi,

I have slightly modified libosip to prevent continuing
developpement of SIP application compliant to rfc2543 only.

Of course libosip has backward mechanism for handling remote
uncompliant SIP agent but any SIP application based on oSIP
MUST now be compliant with the latest draft. Linphone has to
follow this rule.

Just for recovering the expected behavior of linphone, you
have to patch the file: osipua/src/osipdialog.c so that
linphone always creates a Via header with a "branch" parameter
and also, I have added the latest rfc2543bis-09 "magic cookie".
(which is "z9hG4bK" for obscur reasons :)

This patch is working fine even through a proxy. I'll test it with the
record-routing feature enabled some day.

> around line 1075
> /*set via header ...*/
> {
>   char *via= (char *) malloc(90*sizeof(char))
>   sprintf(via, "SIP/2.0/UDP %s:%i;branch=z9hG4bK%u"
>       , ua->ua_ip4addr
>       , ua->ua_port
>       , new_random_number());
>   msg_setvia(...
>   ...
> }

Aymeric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]