pjsua_call_xfer: Difference between local accounts and server accounts

RJ
Richard Jeske
Wed, Apr 11, 2018 11:43 AM

Hi all,

when i try to use pjsua_call_xfer with a server accounts, everything works, like it's supposed to be:

  1. A calls B
  2. A transfers call to C
    (on_call_transfer_status 200)
  3. A is disconnected implicitly
  4. B talks to C

But when i do this with local accounts, I get this:

  1. A calls B
  2. A transfers call to C
    (on_call_transfer_status 200)

Nothing happens, but if I hangup A manually, this happens:

  1. A hangs up
  2. A and B is disconnected
  3. C stays.

It seems to me, that there is a difference in transfer handling depended on the type of account. Do I have to differentiate between both types of accounts? Did I forget something?

I'm using PjSip 2.4.5 on GNU/Linux x86_64

Kind regards,
Richard Jeske

Hi all, when i try to use pjsua_call_xfer with a server accounts, everything works, like it's supposed to be: 1. A calls B 2. A transfers call to C (on_call_transfer_status 200) 3. A is disconnected implicitly 4. B talks to C But when i do this with local accounts, I get this: 1. A calls B 2. A transfers call to C (on_call_transfer_status 200) Nothing happens, but if I hangup A manually, this happens: 3. A hangs up 4. A and B is disconnected 5. C stays. It seems to me, that there is a difference in transfer handling depended on the type of account. Do I have to differentiate between both types of accounts? Did I forget something? I'm using PjSip 2.4.5 on GNU/Linux x86_64 Kind regards, Richard Jeske