[asterisk-dev] no audio in chan_sip.c 15187 and above ?
Luigi Rizzo
rizzo at icir.org
Tue Mar 28 13:18:35 MST 2006
bug found: for the original version that introduced
the problem, the patch is below.
Index: channels/chan_sip.c
===================================================================
--- channels/chan_sip.c (revision 15187)
+++ channels/chan_sip.c (working copy)
@@ -7244,7 +7244,7 @@
}
if (!(res = check_auth(p, req, user->name, user->secret, user->md5secret, sipmethod, uri, reliable, ignore))) {
sip_cancel_destroy(p);
- ast_copy_flags(&p->flags[0], &user->flags[1], SIP_FLAGS_TO_COPY);
+ ast_copy_flags(&p->flags[0], &user->flags[0], SIP_FLAGS_TO_COPY);
ast_copy_flags(&p->flags[1], &user->flags[1], SIP_PAGE2_FLAGS_TO_COPY);
/* Copy SIP extensions profile from INVITE */
if (p->sipoptions)
On Tue, Mar 28, 2006 at 08:46:03AM -0800, Luigi Rizzo wrote:
> not sure if there is something local that is not handled
> properly, but in the transition from SVN 15186 -> 15187
> (a large change to chan_sip.c) i have lost the audio
> at least on SIP calls, and apparently newer versions
> of chan_sip.c (up to 15610 which is HEAD now) don't fix the problem.
>
> On the other hand, everything at SVN15610 and chan_sip.c.15186
> gives me the audio so the bug must be there.
>
> I am pretty sure it is something trivial;
> however, probably who made that change might have
> a more clear idea of what is going on ?
>
> Are others seeing this too ?
>
> thanks
> luigi
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list