Call Hold/Resume Using pjsip-1.2

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

 



Hi all

Still unable to resolve "call hold" functionality , cfg.max_calls =2 as
earlier I mentioned that call_id =0 successfully get on "Hold" on calling
this function pjsua_call_set_hold(call_id, NULL); , after hangup current
call if I want to dial another call which have call_id =1, and
pjsua_call_set_hold(call_id, NULL); failed to hold the call. If I set
cfg.max_calls=1 problem still persist; please help, how to initialize
pjsua_call_id call_id; in containerview.

Thanks

Bharat

From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org]
On Behalf Of Ponik Supapupa
Sent: Friday, May 29, 2009 6:24 PM
To: pjsip list
Subject: Re: Call Hold/Resume Using pjsip-1.2

 

2009/5/29 Bharat Yadav <bharat.yadav at axisconvergence.com>

Case EAawazContainerViewCallHoldMenuItemCommand:

pjsua_call_info ci;

                        pjsua_call_id call_id;

Not initialised call_id !!! 

                        pjsua_call_get_info(call_id, &ci);

Just UA don't know which call you want get info from. call_id is in
parameter not out.! You must set it to 0 for first call, 1 - for second etc.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090603/813b4204/attachment.html>


[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