]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
skypiax: fixed transferred call to skype user busy in another call: was transferring...
authorGiovanni Maruzzelli <gmaruzz@gmail.com>
Thu, 26 Mar 2009 10:29:28 +0000 (10:29 +0000)
committerGiovanni Maruzzelli <gmaruzz@gmail.com>
Thu, 26 Mar 2009 10:29:28 +0000 (10:29 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12790 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_skypiax/skypiax_protocol.c

index 0b609c1a37b81c4f6a9d435e7b442cd7d6f1b655..d7cb411a5e1dcf78902dd4562bfd4596320a03c6 100644 (file)
@@ -245,11 +245,11 @@ int skypiax_signaling_read(private_t * tech_pvt)
                 if (available_skypiax_interface) {
                   /* there is a skypiax interface idle, let's transfer the call to it */
                   DEBUGA_SKYPE
-                    ("Let's transfer the skype_call %s to %s interface, because we are already in a skypiax call(%s)\n",
+                    ("Let's transfer the skype_call %s to %s interface (with skype_user: %s), because we are already in a skypiax call(%s)\n",
                      SKYPIAX_P_LOG, tech_pvt->skype_call_id,
-                     available_skypiax_interface->name, id);
+                     available_skypiax_interface->name, available_skypiax_interface->skype_user, id);
                   sprintf(msg_to_skype, "ALTER CALL %s TRANSFER %s", id,
-                          available_skypiax_interface->name);
+                          available_skypiax_interface->skype_user);
                 } else {
                   /* no skypiax interfaces idle, let's refuse the call */
                   DEBUGA_SKYPE