[GnomeMeeting-devel-list] [PATCH] Fix INVITE on call (qsc.de)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This fixes the INVITE when calling with QSC IPfonie.
Without this patch a BAD REQEST is generated when an INVITE is sent. QSC
hates the "tag=" in "To:".

It works perfectly for me. :)

Please test if you can still place calls with other providers than QSC!!

YEAH!! Now I can call other people with QSC and receive calls! This
wasn't the case just one week ago! :D

Greetings,
Jan Schiefer!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCYBG3zC00UKXFdVcRAklhAKCQINtO7gm15n8K31rxz2BsyupKpACgv8kZ
lqmJdMeQdV/Cx1jObELZggM=
=givu
-----END PGP SIGNATURE-----
--- opal/src/sip/sippdu.cxx	2005-04-15 13:05:46.000000000 +0200
+++ opalnew/src/sip/sippdu.cxx	2005-04-15 21:05:06.569012498 +0200
@@ -1179,7 +1179,14 @@
   uri = dest;
   uri.AdjustForRequestURI();
 
-  mime.SetTo(to);
+  if(meth == Method_INVITE) {
+	PINDEX end = to.Find (';');
+	if (end != P_MAX_INDEX)mime.SetTo(to.Left(end));
+	else mime.SetTo(to);
+
+  }
+  else mime.SetTo(to);
+
   mime.SetFrom(from);
   mime.SetCallID(callID);
   mime.SetCSeq(PString(cseq) & MethodNames[method]);


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