Hi all,
I'm experiencing interesting problem when trying to register SIP or
H.323 client (in this case callgen sample program) to SIP registrar or
H.323 gatekeeper, in case when host(linux) have more than one IP address
(IP aliases).
When using any other IP address, except first one ( by using -H and -S
callgen options), client, either SIP or H.323, fails to register to
appropriate SIP registrar or H.323 gatekeeper.
According to logs, although started and listening on IP address provided
by -H or -S option, client always uses first (default ) IP address for
communication toward SIP registrar or H.323 gatekeeper.
There is an option for H.323 client (--gk-interface <arg> : Gatekeeper
network interface to use for RAS. ) which forces which IP address will
be used for registration, however it seems that there isn't anything
similar for SIP (or I'm missing something? :) )
Does anybody have similar problem? I would appreciate if someone have
any kind of solution(s), especially for SIP.
System OS: Linux Debian stable
Versions: ptlib 2.14.4 (revision 33370), opal 3.14.4 (revision 33370)
Sample program: callgen
Older versions of opal/ptlib doesn't have similar problem, and normally
worked (and still does) with multiple IP addresses.
I suppose that there is a reason why this is changed in recent versions
(introduced --gk-interface option), and it would be nice if anybody is
willing to clarify that to me. :)
Thanks in advance.
cheers,
Sasha D.
|