PRI registation reject on PJSIP but work on SIP

Hi team ,
I’m trying to convert my setup sip to PJSIP but i have faced on issue there is PRI registration below configuration is pjsip but if i’m using SIP then it will work properly please suggest me what i need to do in PJSIP conf file and why ?? it is not register on PJSIP.

[global]
type = global
user_agent = LITE PBX
debug = no

[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0:5060
local_net = 192.XXX.XX.0/255.255.252.0

[reg_10.X.XXX.197]
type = registration
retry_interval = 60
max_retries = 0
contact_user = +91224XXX6799
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_10.X.XXX.197
client_uri = sip:+91224XXX6799@mu.ims.airtel.in:5060
server_uri = sip:10.X.XXX.197:5060

[auth_reg_10.X.XXX.197]
type = auth
password = Tataca#1
username = +91224XXX6799@mu.ims.airtel.in

[7XX1]
type = aor
contact = sip:10.X.XXX.197:5060
maximum_expiration = 3600
default_expiration = 300

[7XX1]
type = identify
endpoint = 7XX1
match = 10.X.XXX.197

[7XX1]
type = auth
username = 7XX1
password = Tataca#1

[7XX1]
type = endpoint
context = outgoing
dtmf_mode = rfc4733
disallow = all
allow = alaw
allow = ulaw
rtp_symmetric = yes
rtp_timeout = 60
outbound_proxy = 10.X.XXX.197
direct_media = no
callerid = LITE
call_group = 1
pickup_group = 1
allow_transfer = yes
from_user = +91224XXX6799@mu.ims.airtel.in
from_domain = 10.X.XXX.197
language = En
auth = 7XX1
outbound_auth = 7XX1
aors = 7XX1

You haven’t shown what actually happens, such as the console output or SIP trace (pjsip set logger on). You should also provide the working configuration from chan_sip.

Dear sir,
Please check the chan_sip configuration
;SIP.CONF General Section********

[general]
context=FROMOTHERPBX
;context=outbound
websocket_enabled = false
port=5060
bindaddr=0.0.0.0:5060
qualify=yes
srvlookup=yes
disallow=all
allow=alaw
nat=no
callerid = LITE
autocreatepeer=yes
autodomain=yes
localnet=192.168.80.0/255.255.252.0
canreinvite=no
language=En
allowtransfer=yes
realm=telunet
domain=192.168.80.23
maxexpiry=3600
defaultexpiry=300
useragent=LITE PBX
usereqphone = yes
dtmfmode = info
alwaysauthreject = no
regcontext=sipregistrations
rtptimeout=60
rtpholdtimeout=300
rtcachefriends=yes
;--------------------------- SIP DEBUGGING ---------------------------------------------------
sipdebug = no
registertimeout=60
registerattempts=0
callgroup=1
pickupgroup=1
callevents=yes

register => +91224XXX6799@mu.ims.airtel.in:Tataca#1:+91224XXX6799@mu.ims.airtel.in@10.X.XXX.197:5060/+91224XXX6799

[7XX1] ;;;========================================Airtel SIP Trunk - 30 Channles
type=peer
host=10.X.XXX.197
outboundproxy=10.X.XXX.197
fromdomain=10.X.XXX.197
dtmfmode=rfc2833
fromuser=+91224XXX6799@mu.ims.airtel.in
secret=Tataca#1
directrtpsetup=no
directmedia=no
canreinvite=no
reinvite=no
insecure=invite
nat=comedia
context=outgoing
disallow=all
allow=alaw
allow=ulaw
qualify=yes
port=5060

You haven’t set the contact user, so s will be used.

It is not normal to have a port number in an address of record.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.