Realm= for oauth in Trunks

Hi,

how to add:

realm=.....

Via VitalPBX Gui to pjsip__50-1-trunks.conf?

[provider1-oauth]
type=auth
auth_type=userpass
username=XXXXXXX
password=XXXXXX

Thanks

Is this understandable or is more information needed?

What are you trying to achieve?

Provider (Trunk) wants me to set the realm at oauth.

I’m not sure how to do that in the GUI. But you can create a custom file and add it to the existing trunk config.

[provider1-oauth](+type=auth)
realm=....

What does that +type… do exactly?

Thanks

You target the field type

;[mytrunk_auth]
;type=auth
;auth_type=userpass
;password=1234567890
;username=1234567890
;realm=sip.example.com

This is from the asterisk example conf.

So instead of
[provider1-oauth](+type=auth)
Wouldn’t it be just be
[provider1-oauth](+)

?

No, you target an existing Trunk created in the GUI.

Can you please point me to where I get more information regarding this kind of dialplan manipulation so i can understand and learn more? Thanks

https://wiki.asterisk.org/wiki/display/AST/Adding+to+an+existing+section

1 Like

@PitzKey

Another quick one, hope you can help:
dnsmgr.conf

needs

[general]	 
enable=yes
refreshinterval=90

How and where should i do that?

Thanks!

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