Need help in registering SIp trunk in Pjsip.conf

Can any one tell me what is wrong in this pjsip.conf it is not getting registered, same config with asterisk 13 with sip.conf is working.

[general]
context=trunkinbound
allowguest=no
allowoverlap=no


;register => +XXXXXXXXXXX@ap.ims.airtel.in:Srinid#1:+XXXXXXXXXXX@ap.ims.airtel.in@10.5.109.147/+XXXXXXXXXXX

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0




[airtel]
type = registration
outbound_auth = airtel
server_uri = sip:+XXXXXXXXXXX@ap.ims.airtel.in:5060
client_uri = sip:+XXXXXXXXXXX@ap.ims.airtel.in:5060
retry_interval = 60
expiration = 3600

[airtel]
type = auth
auth_type = userpass
username = +XXXXXXXXXXX@ap.ims.airtel.in
password = XxxxxxX

[airtel]
type = endpoint
context = outbound-context
disallow = all
allow = ulaw
aors = airtel
outbound_auth = airtel

[airtel]
type = aor
contact = sip:ap.ims.airtel.in:5060

[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0

Not without the logs. However, it is unusual to have a user part in the the server URI, any you seem to be missing a type=identify section.

Once you get past that, I don’t think any of your general section is valid. I think you have run this through a conversion tool, and that part of the output is rejects.

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