Sip.conf to pjsip.conf: what to put together in the same section?

Hello everybody,

I’ve setup a fresh Asterisk 20 instance.
I imported the configuration from a v18 with the Python script included with the distribution.

I wanted to set the DTMF mode and made it in the “endpoint” section:

[my3cx]
type = aor
max_contacts = 1

[my3cx]
type = auth
username = my3cx
password = thahRoi2Bohjo9th

[my3cx]
type = endpoint
context = demo
dtmf_mode = rfc2833
disallow = ALL
allow = ulaw
allow = alaw
allow = gsm
allow = g729
rtp_symmetric = yes
rewrite_contact = yes
auth = my3cx
outbound_auth = my3cx
aors = my3cx

It failed. It only accepts it when it goes alone like this:

[my3cx]
dtmf_mode = rfc2833

[my3cx]
type = aor
max_contacts = 1

[my3cx]
type = auth
username = my3cx
password = thahRoi2Bohjo9th

[my3cx]
type = endpoint
context = demo
disallow = ALL
allow = ulaw
allow = alaw
allow = gsm
allow = g729
rtp_symmetric = yes
rewrite_contact = yes
auth = my3cx
outbound_auth = my3cx
aors = my3cx

So… Where can I find a documentation to know what goes together or not?

“rfc2833” is not a valid option. It is “rfc4733”. It is documented here[1].

[1] res_pjsip: SIP Resource using PJProject - Asterisk Documentation

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