[sipxtapi-dev] How I can select correct contactId for sipxLineAdd?
- From: Alexey Trizno <xpg934@xxxxxxx>
- Date: Tue, 29 Apr 2008 13:57:58 +0400
Hi!
I have up to 3 local ethernet interfaces. When I call sipxLineAdd with
contactId = 0 - it always use default interface, and I cannot successfully
register with sip-proxy, because I must use another local interface for
registering.
But, I look at sipxLineAdd source code, and I think it not use IP-address from
sipx_contact_address structure, only contact_type and protocol_type, and always
select only first local contact in list.
help plz.
--
Best regards,
Alexey [ xpg934@xxxxxxx ]