Re: [asterisk-users] Convert SIP to PJSIP

2018-09-26 Thread sean darcy

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 



[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

Re: [asterisk-users] Convert SIP to PJSIP

2018-09-26 Thread John T. Bittner
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

[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

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

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.

-- 
_
-- 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

Re: [asterisk-users] Convert SIP to PJSIP

2018-09-26 Thread sean darcy

On 9/24/18 5:04 PM, John T. Bittner wrote:

Hello all,

I am having some trouble getting this to work under pjsip. Any help is 
much appreciated.


I used the converter script and I see it register but can’t receive or 
send to ringcentral.


Anyone get this working with PJSIP?

Works with chan_sip…

This working sip config.

register => 
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



What's your pjsip config ?



--
_
-- 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

Re: [asterisk-users] Convert SIP to PJSIP

2018-09-24 Thread John T. Bittner
Hello all,

I am having some trouble getting this to work under pjsip. Any help is much 
appreciated.

I used the converter script and I see it register but can't receive or send to 
ringcentral.

Anyone get this working with PJSIP?

Works with chan_sip...

This working sip config.

register => 
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

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

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.

-- 
_
-- 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