[OpenSIPS-Users] registrant.

Alexey Kazantsev kurgan-rus at inbox.ru
Mon Aug 29 19:50:40 UTC 2022



Hi Johan,
sure I can
 
maybe you were confused because the ‘ @ ‘ symbol
had been substituted in e-mail by ‘at’ word
 
I’ll try to post SQL insert once again, let’s have a look
what will happen
 
INSERT INTO registrant (registrar, aor, username, password, binding_URI, expiry) VALUES (‘sip:11.11.11.11’, ’sip:79993332211 @ voip-isp.com’, ’79993332211’, ’PaSsWoRd’, ‘sip:79993332211 @ 22.22.22.22’, 300);
 
where:
- 11.11.11.11 is VoIP ISP IP address,
- voip-isp.com is a domain you should use for authentication (depends on ISP settings, may be sip:79993332211 @ 11.11.11.11),
- 79993332211 is your username (usually equals to phone number, but also depends on ISP settings),
- sip:79993332211 @ 22.22.22.22 - this will form a Contact: header and must contain IP address of your OpenSIPS (obviously you can insert here some other IP address, and the calls from ISP proxy will go there, but in most cases it’s common to write here the IP address of your OpenSIPS),
300 is an registration expiration value in seconds, you ISP may require some other value.
 
-----------------------------------------------
BR, Alexey
https://alexeyka.zantsev.com/
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220829/137b1f16/attachment.html>


More information about the Users mailing list