jrosetto
(Justin Rosetto)
1
I am integrating asterisk and vTigerCRM.
I need this line in my trunk in extensions_additional.conf
exten => _X.,1,Agi(agi://0.0.0.0/incoming.agi)
If I add it manually and do ‘core asterisk restart’ everything works.
When I make a change in FreePBX the addition is removed and the CRM integration stops.
How do I add the extra dialplan to the trunk without FreePBX overriding it?
cynjut
(Dave Burgess)
2
Nope - you need to add this to extensions_custom.conf.
The file extensions_additional.conf is overwritten by FreePBX on every change.
jrosetto
(Justin Rosetto)
3
How do I make sure it gets added to the context in extensions_additional.conf when adding to extensions_custom.conf?
Basically I need this
[from-trunk-sip-BroadvoxDL]
exten => _.,1,Set(GROUP()=OUT_2)
exten => _.,n,Goto(from-trunk,${EXTEN},1)
from extensions_additional.conf
to become this
[from-trunk-sip-BroadvoxDL]
exten => _X.,1,Agi(agi://0.0.0.0/incoming.agi)
exten => _.,1,Set(GROUP()=OUT_2)
exten => _.,n,Goto(from-trunk,${EXTEN},1)
How do I make this happen with extensions_custom.conf?
Thanks for the help.
jrosetto
(Justin Rosetto)
4
OK, think I just figured it out. If I add the
[from-trunk-sip-BroadvoxDL]
exten => _X.,1,Agi(agi://0.0.0.0/incoming.agi)
exten => .,1,Set(GROUP()=OUT2)
exten => _.,n,Goto(from-trunk,${EXTEN},1)
to extensions_override_freepbx.conf everything works as expected. Thanks for pointing me in the right direction.