On 9/24/18 2:57 PM, John T. Bittner wrote:
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 =>
17185553...@sip.ringcentral.com:ARi4uYb2Mz:332940285...@sip12.ringcentral.com:5090/17185553321
<mailto:17185553...@sip.ringcentral.com:ARi4uYb2Mz:332940285...@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:332940285...@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
I'd try the convert script again and make sure the input file is
sip.conf. A lot of this pjsip config doesn't make sense.
And I hope these numbers and passwords are fake !
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Astricon is coming up October 9-11! Signup is available at:
https://www.asterisk.org/community/astricon-user-conference
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users