Try creating a new file called sip_general_custom.conf in /etc/asterisk
and override the line you want in there.

Then make sure it is being included by freepbx's sip.conf. Open:
[freepbx-path]/modules/core/etc/sip.conf
(or just do a "ls -l /etc/asterisk/sip.conf" and it'll tell you the full
path of the actual sip.conf file)

And check that the following line exists:
#include sip_general_custom.conf

Hope it helps.
Regards,
Juan.

-----Original Message-----
From: Bruce Nik [mailto:[email protected]] 
Sent: Monday, January 19, 2009 10:58 PM
To: asterisk Mailing
Subject: [on-asterisk] Regarding sip_general_additional.conf


Hello All,
 
Almost every .conf file has an equivalent _custom.conf file to it in
FreePBX. I can't seem to know where the custom for SIP General is.
 
sip_general_additional.conf includes the following general parameters:
 
vmexten=*97bindport=5060bindaddr=0.0.0.0disallow=allallow=ulawallow=alaw
context=from-sip-externalcallerid=Unknownnotifyringing=yesnotifyhold=yes
limitonpeers=yestos_sip=cs3tos_audio=eftos_video=af41
How can I add allow=g729 and comment out allow=ulaw and allow=alaw?
Remember, this is FreePBX and adding anything to this file will get
over-written if Asterisk is reloaded.
 
Thanks,
Bruce
_________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to