How to convert a SIP trunk to PJSIP trunk?


(Wifx) #1

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

type=friend
qualify=yes
port=5060
insecure=port,invite
host=192.168.10.66
dtmfmode=rfc2833
disallow=all
canreinvite=no
allow=g722, ulaw, alaw


#2

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)


(Wifx) #3

Thank you very much for your answer !

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

I will try again tomorow.


(Wifx) #4

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 !!


(system) closed #5

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