kirm/sip.js — Issue #10: send() request to specific remote address?
Author: agranig
Created: 2012-01-26 07:06:45+00:00
State: open

When sending an initial request to a SIP peer, one might want to do a DNS SRV lookup with the domain part of the request URI and use the result as remote address (like an outbound-proxy setting), while leaving the request URI intact. Is there a setting/param I might have missed? Something like:

send(options,msg[,callback]), e.g.:
send({address:'server1.example.com', port:5070}, {uri:'sip:example.com', ...}, cb);