SIP.js
SIP.js copied to clipboard
doubts about viaHost
Hello ~
Doubts about viaHost
, why not allow custom settings to be my own host (
Expect:
| sip.ua | configuration parameters after validation:
| sip.ua | · viaHost: "fs.sipjs.com"
| sip.ua | · uri: sip:[email protected]
Actual:
| sip.ua | configuration parameters after validation:
| sip.ua | · viaHost: "ssd3g2ns4bm9.invalid"
| sip.ua | · uri: sip:[email protected]
hackIpInContact
makes viaHost
a random local ip, which may be useful, but not what I want ...
hope to get help :)
In the new version, a new parameter viaHost
is added, allowing us to set it, but the contactName
parameter is disabled again, and we need to pass a strange hack #791
whether to consider a contactOptions )
Fixed in https://github.com/onsip/SIP.js/commit/9a9413702015437b1e0abe6226afc1c1b6bb69ea