SIP to PJSIP is not trivial or at least did not seem trivial to me. Took me quite a long time to get it working. I think these three threads contain what helped me get it working:
Hi,
I am sorry if it is not the good place for this question.
On asterisk I use 2 SIP phone numbers.
1 from OVH and 1 from TWILIO.
in sip.conf I have:
[general]
...
register=>OVHnumber:OVHpass@xxx.yy.sip.ovh
register=>TWILIOnum:TWILIOpass@zzz.sip.us1.twilio.com
...
[OVHnumber]
type=friend
host=xxx.yy.sip.ovh
context=incoming
username=OVHnumber
remotesecret=OVHpass
[provider1]
type=peer
username=OVHnumber
remotesecret=OVHpass
nat=force_rport,comedia
host=OVHnumber:OVHpass@xxx.yy.sip.ovh:50…
Hi all,
I currently have a raspberry with buster and asterisk 16.x that I need to migrate to bookworm and asterisk 20.x. I’m trying to migrate the sip.conf/users.conf config to pjsip.conf, unfortunately without success at the moment.
My asterisk server (192.168.1.25) is connected to an analog telephone adapter (ATA 192.168.1.55 → 1000 in the config) and an external provider (my.sip.domain).
;===============================================
; pjsip.conf
;======================================…
I got about 70% of my sip.conf working in pjsip, but this incoming line that uses registration, escapes me.
Thanks in advance for anyone who might give me some direction.
This is what was in sip.conf:
;register => 6xxxxxxxx9:PassWord@2way.ipcomms.net/6xxxxxxxx9
;[6xxxxxxxx9]
;type=friend
;secret=PassWord
;defaultuser=6xxxxxxxx9
;fromuser=6xxxxxxxx9
;bindport=5060
;port=5060
;fromdomain=64.154.41.158
;host=64.154.41.158
;context=ipcomms
;disallow=all
;allow=ulaw
;dtmfmode=auto
;qualify=55000
…