Converting Chan_sip trunk to PJSIP trunk

I am trying to convert a chan_sip trunk:

general
register => nuc7:nuc7@192.168.1.250

; Description:
[nuc7]
type=friend
defaultname=nuc7
defaultuser=nuc7
secret=nuc7
description=nuc7
disallow=all
allow=ulaw
allow=alaw
allow=gsm
rtptimeout=60
rtpholdtimeout=60
rtpkeepalive=60
host=192.168.1.250
context=incoming

to PJSIP trunk using the Wizard

; Description:
[nuc7]
type=wizard
accepts_registrations=no
sends_registrations=yes
accepts_auth=no
sends_auth=yes
outbound_auth/username=nuc7
outbound_auth/password=nuc7
endpoint/allow=!all,ulaw,alaw,gsm
endpoint/rtp_timeout=60
endpoint/rtp_timeout_hold=60
endpoint/rtp_keepalive=60
remote_hosts=192.168.1.250
endpoint/context=incoming
aor/max_contacts=1

But I am not seeing the registration on the server 192.168.1.250
What am I missing to “correctly” setup up a SIP trunk using the type=wizard ?

Thanks

Jerry

Standard troubleshooting applies.

  1. Were there any errors or warnings when the PJSIP config wizard loaded configuration?
  2. Does the outbound registration show in “pjsip show outbound registrations”?
  3. Does the outbound registration attempt show in “pjsip set logger on”?

Thanks for the reply. So I guess its a DIFFERENT problem then I thought.
It is showing registered nuc7/sip:s@192.168.1.19

But the way I was looking (I monitor asrterisk for events) and I did not see “any” event come across for PeerStatus or ContactStatus ? I was expecting that to show up in the monitor items.

I get PeerStatus for other SIP devices. How do I get it for PJSIP (client) connecting to the PJSIP server ?
Thansk

Jerry

Those are unrelated to outbound registration.

ContactStatus does exist for PJSIP, but since you don’t have qualify_frequency set on the endpoint it would just occur quickly at startup once. PeerStatus is chan_sip specific.

This is also unnecessary.

Hi thanks - PeerStatus is chan_sip specfiic - ok. - - How do I get ContactStatus event for a PJSIP client. I am getting ContactStatus for other SIP devices. Just not for PJSIP client.

jerry

When do you expect the event to occur?

Thanks all - I found the issue with your help

send_contact_status_on_update_registration=yes ; This defaulted to no

I now get a ContactStatus event from the PJSIP client.
Cool!

Jerry