Want to change specific sip extension sip settings in CLI to override gui settings

hi guys,

I want to override few of the SIP settings in sip extension to some other settings.

How to achieve that.

forexample in my /etc/asterisk/sip_additional.conf

[1000]
deny=0.0.0.0/0.0.0.0
secret=admin@123
dtmfmode=rfc2833
canreinvite=no
host=dynamic
defaultuser=
trustrpid=yes
sendrpid=pai
type=friend
session-timers=accept
nat=force_rport,comedia
port=5060
qualify=yes
qualifyfreq=60
transport=udp
avpf=no
force_avp=no
icesupport=no
rtcp_mux=no
encryption=no
namedcallgroup=
namedpickupgroup=
dial=SIP/1000
accountcode=
mailbox=1000@default
permit=0.0.0.0/0.0.0.0
context=from-internal
callerid=testing <1000>
recordonfeature=apprecord
recordofffeature=apprecord
callcounter=yes
faxdetect=no
cc_monitor_policy=generic

I want few of the records to be change for only this extension but from backend.

like faxdetect=yes
callcounter=no

etc.
how can I acheive that?

adding a

[1000](+)
faxdetect=yes
callcounter=no
.
.

section in your custom.conf

To override /etc/asterisk/sip_additional.conf you would add your edits to sip_custom_post.conf in the form:

[1000](+)
like faxdetect=yes
callcounter=no

Hopefullyl you’re already aware, but you should be using pjsip extensions, not sip.

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