[OpenSIPS-Users] registrant.

Alexey Kazantsev kurgan-rus at inbox.ru
Fri Aug 26 11:13:30 UTC 2022


Hi Johan ,
 
your SQL insert will look like this:
 
INSERT INTO registrant (registrar, aor, username, password, binding_URI, expiry) VALUES (‘sip:11.11.11.11’, ’sip:79993332211 at voip-isp.com’, ’79993332211’, ’PaSsWoRd’, ‘sip:79993332211 at 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 at 11.11.11.11),
- 79993332211 is your username (usually equals to phone number, but also depends on ISP settings),
- sip:79993332211 at 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/20220826/f8ef0799/attachment.html>


More information about the Users mailing list