Re: [reSIProcate] multiple IP interfaces & via
You can specify a hint to the application by specifying an interface
in the host portion of the Via.
Via via;
via.sentHost() = "10.1.1.1";
SipMessage msg;
msg.header(h_Vias).push_back(via);
We might need to add an option into the Profile to do this for you if
you are using dum. I'll take a look at this.
Jason
On 6/23/05, Justin Matthews <justin.matthews@xxxxxxx> wrote:
> Hello,
>
> If I am specifying an interface for dum/resip to use in dum::addTransport()
> and also want any outgoing INVITE's and all other responses (for both UAS
> and UAC behavior) from app to use this interface, how do I accomplish that?
>
>
> If I use addTransport, resip/dum will listen on that specific IP interface
> and port, but responses and INVITE requests sent from my app will always use
> the default IP interface and not the one I am specifying. I tried
> manipulating the via header after calling dum::makeInviteSession and before
> dum::send, which causes the INVITE to be sent using the desired IP
> interface, but so far this is only 1 of the many places I need fixed. What
> is the accepted way of doing this?
>
> resip 4957 on Windows (XP SP2)
>
> Thanks,
>
> Justin
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>