Attended call transfer

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

 



Hi,

I have made progress with this. I am able to make transfers with one provider, but not the other.
Now what I would like to do is show the reason in my application, and I have found an issue with "xfer_client_on_evsub_state" callback in pjsua_call.c.
It never raises the "on_call_transfer_status" when the 500 error is received, as it expects a body ("Warning: received NOTIFY without message body").

Surely it should populate status_line.code and status_line.reason, then send them up to on_call_transfer_status, right?

16:06:16.530   pjsua_core.c  .RX 374 bytes Response msg 500/REFER/cseq=10505 (rdata007083AC) from UDP xxx.xxx.210.38:5060:
SIP/2.0 500 Internal Server Error - Unknown In-Dialog Request
Via: SIP/2.0/UDP xxx.xxx.0.6:5060;branch=z9hG4bKPj748e2d7a91484bfdb0046d1824ae4976;rport=5060
From: <sip: extnumber@xxxxxxxxxxxxxxxx>;tag=6c9cd6eddb864362995b46d3e92c6e62
To: <sip:xxxxxxxxxx at proxy.voip.co.uk>;tag=098c0c9ee6ce
Call-ID: ac854cc4a7384cdfabf05f2be9943e42
CSeq: 10505 REFER
Content-Length: 0
--end msg---


Erwann



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux