> 
> I have a Sofia-based application in a test environment, but I don't
have
> any SRV records setup.  Up until now when I created my TO and FROM
> SIPTAG's I've been using IP addresses.  Since my NTLM authentication
> code is now working the IP addresses won't do.
> 
> I'd like to create my TO and FROM in my REGISTER requests as such:
> 
> SIPTAG_TO_STR("sip:u...@sipdomain.local;transport=tls")
> SIPTAG_FROM_STR("sip:u...@sipdomain.local;epid=010101010101")
> 
> But then specify my SIP registrar and, for now, not have NTA do DNS
SRV
> resolution on sipdomain.local (refer to my other mail about adding
code
> to handle non-standard SRV records like _sipinternaltls._tcp).
> 
> Is there a SIPTAG or other TAG macro that allows me to explicitly tell
> the stack to which SIP servername/IP to send the REGISTER?
> 

Answering my own question here.  I used:

nua_set_params(nua,
NUTAG_PROXY("sip:myserver.local:5061;transport=tls"), TAG_END());



Confidentiality Notice: This e-mail message including attachments, if any, is 
intended only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message. If you are the intended recipient, but do not wish to 
receive communications through this medium, please so advise the sender 
immediately.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to