|
Hello Mike,
Thanks for the response.
From sipXtapi docs:
sipxCallGetLocalID (const SIPX_CALL
hCall, char *szID, const size_t iMaxLength);
Get the SIP identity of the local connection. The identity represents either 1) who was
called in the case of a inbound call, or 2) the line identity used in an
outbound call.
I get the following results with it:
Incoming Call:
<sip:[EMAIL PROTECTED]:5060>;tag=31760
Outgoing Call:
"logan"<sip:[EMAIL PROTECTED]>
For all outgoing calls I get
"logan"<sip:[EMAIL PROTECTED]> and this is exactly what I use in a call
to sipxLineAdd.
So, can I use this method to distinguish between
an incoming and an outgoing call? If there is a catch then please let me know.
If this doesn't work then I would store the
handles of all outgoing calls.
Best Wishes, Hitesh
|
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
