[asterisk-users] Convert SIP to PJSIP

John T. Bittner john at xaccel.net
Mon Sep 24 13:57:43 CDT 2018


Hello all,

I am having some trouble converting this setup from SIP to PJSIP. Any help is much appreciated.

I used the converter script and get most of it but don't see a registration entry.
How do you convert this entry into PJSIP.
This working sip config.

register => 17185553321 at sip.ringcentral.com:ARi4uYb2Mz:332940285773 at sip12.ringcentral.com:5090/17185553321<mailto:17185553321 at sip.ringcentral.com:ARi4uYb2Mz:332940285773 at sip12.ringcentral.com:5090/17185553321>

[17185553321]
type = peer
host = sip.ringcentral.com
transport=udp
defaultuser=332940285773       ; Authentication username for outbound proxies
username = 332940285773
fromuser=17185553321           ; Many SIP providers require this
fromdomain=sip.ringcentral.com
secret = ARi4uYb2Mz
canreinvite = no
disallow = all
allow = ulaw
nat = yes
dtmfmode = auto
rfc2833compensate = yes
trustrpid = yes
usereqphone = yes              ; This provider requires ";user=phone" on URI
callcounter = yes              ; Enable call counter for parallel outbound calls
busylevel = 2                  ; Signal busy at 2 or more calls (feel free to adjust)
outboundproxy=sip12.ringcentral.com:5090

This is what it was converted too: But nothing for the registration ?

[17185553321]
type = aor
contact = sip:332940285773 at sip.ringcentral.com

[17185553321]
type = identify
endpoint = 17185553321
match = sip.ringcentral.com

[17185553321]
type = auth
username = 17185553321
password = ARi4uYb2Mz

[17185553321]
type = endpoint
dtmf_mode = none
disallow = all
allow = ulaw
rtp_symmetric = yes
rewrite_contact = yes
outbound_proxy = sip12.ringcentral.com:5090
direct_media = no
from_user = 17185553321
from_domain = sip.ringcentral.com
device_state_busy_at = 2
auth = 17185553321
outbound_auth = 17185553321
aors = 17185553321

John Bittner
CTO
[xaccellogoemail]
380 US Highway 46, Suite 500
Totowa, NJ 07512
Phone: 201.806.2602 x2405
Fax:       201.806.2604
Cell:       973.390.1090
www.xaccel.net<http://www.xaccel.net/>

CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential
and privileged information which should not be shared or forwarded. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the e-mail.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180924/a8f10670/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4300 bytes
Desc: image001.png
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180924/a8f10670/attachment.png>


More information about the asterisk-users mailing list