SIP.js icon indicating copy to clipboard operation
SIP.js copied to clipboard

doubts about viaHost

Open ifzm opened this issue 4 years ago • 1 comments

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 :)

ifzm avatar May 14 '20 14:05 ifzm

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 )

ifzm avatar May 15 '20 03:05 ifzm

Fixed in https://github.com/onsip/SIP.js/commit/9a9413702015437b1e0abe6226afc1c1b6bb69ea

john-e-riordan avatar Sep 29 '22 14:09 john-e-riordan