Re: [reSIProcate-users] Sending on particular transport
Hi,
(see below)
On Thu, Jun 28, 2012 at 5:50 PM, Nauman Sulaiman
<nauman762-home@xxxxxxxxxxx> wrote:
> Hi,
>
> On resip 1.7 I initialise the transports on the stack like this
>
> profile->addTransport(UDP, sipPort,V4, address);
> profile->addTransport(TCP, sipPort, V4, address);
>
> where sip port = 5060
>
> How can I choose to send a sip message over TCP as the stack defaults to UDP
> because there is no
> transport=UDP param on the request uri etc
>
> Is there any setting somewhere
>
> Thanks
>
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
You can have a look at this thread:
http://list.resiprocate.org/archive/resiprocate-devel/msg07937.html
I've never tested it, but you could try having 'transport=tcp' in the
Uri passed to setForceTarget. You can also configure a DUM outbound
proxy and put the transport parameter in there, which I've used in the
past (however, this will force all messages to go to that URI).
Hope this helps,
Francis