Re: [reSIProcate] Is there anyway to send a message with out querying dns
On Mon, Feb 13, 2012 at 10:05 PM, sunil kumar <sunil230@xxxxxxxxx> wrote:
> Hi,
>
> I am using resiprocate sip stack to construct the message and to send but
> unfortunately it is trying to resolve the dns name which is provided in my
> SIP REGISTER message. Is there anyway to by pass this check by the sipstack
> class and send them to a particular server who is listening on a port.
>
> I really appreciate your help.
>
> Thanks,
> Sunil.
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
Hi,
You can try SipMessage::setForceTarget(const Uri& uri). I was able to
use it to bypass DNS queries.
Regards,
Francis