Hi All,

I am trying to use the conferencing feature of sipXtapi and have run into 
problems.

Scenario is:
- Multiple lines exist (4).
- there is 1 active call (on line 4).
- other user (not involved in the call) is added to the conference (line 1 
should be used for this call).

The API  I am using for this purpose is bool sipXmgr::addConfParty(SIPX_CALL 
hCall, const char* const szParty). Conference is created successfully and 
active call is joined to the conference.

The problem occurs in this function when sipxConferenceAdd() is called. This 
function expects a parameter of type SIPX_LINE (2nd param) which is passed 
by calling getCurrentLine(). This function returns a 0 and call to 
sipxConferenceAdd() never returns.

I am not sure how 'm_hLine' (whose value is returned by getCurrentLine()) is 
set so as to return the correct line or if I am calling the correct API to 
create a conference in such a case.

Any help in what I am/might be doing wrong will be appreciated.

Thanks,
Anshuman

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to