Hello people,
I found that when you send a SIP MESSAGE inside a call by using
pjsua_call_send_im()
the pager status callback on_pager_status2() is never called.
I then played around a little and found that on_pager_status() (the
first variant) does work.
After doing some digging, I looks like you forgot to check for the
second variant in pjsua_call.c.
Best Regards,
Andreas Wehrmann
On 11.12.19 16:29, Andreas Wehrmann wrote:
Hello people,
I found that when you send a SIP MESSAGE inside a call by using
pjsua_call_send_im()
the pager status callback on_pager_status2() is never called.
I then played around a little and found that on_pager_status() (the
first variant) does work.
After doing some digging, I looks like you forgot to check for the
second variant in pjsua_call.c.
Best Regards,
Andreas Wehrmann
Hello again,
attached to this message you'll find a patch that seems to fix the
problem I described in my previous mail.
Also while I was testing this I noticed that the on_pager_status()
callback would always be called twice when a MESSAGE is sent inside a call
(one for event TSX_STATE and one afterwards for event TIMER).
The patch should fix both problems:
Best Regards,
Andreas Wehrmann