How to convert a SIP trunk to PJSIP trunk?

I have a working SIP trunk, how can I convert it to a PJSIP trunk ?

I tried several things, but it is not working, I did not find a lot of FreePBX documentation about PJSIP trunking.

Here is my config :

Trunk name : Sunrise

allow=g722, ulaw, alaw

Please tell us what you tried that did not work.

A trunk like that is trivial in PJSIP:

Pick the codecs you want on the codecs tab:

and pick the DTMF mode in the Advanced tab:

(auto is default and should be fine)

1 Like

Thank you very much for your answer !

The log was flooded with this message (50 pro seconds) :

I will try again tomorow.

It work ! But, the log is filled again with WARNING[5116]: res_pjsip_registrar.c:1102 registrar_on_rx_request: Endpoint ‘anonymous’ has no configured AORs

So I had to turn OFF “Allow SIP Guests” there :

Problem is solved, thank you very much for your help !!

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