plz help me!
I installed freepbx2.7,asterisk 1.6.2,after installation,I added two sip extensions 1001 and 1002. when one extension called another,asterisk replied “404 not found”.
I added a line “exten => _.,1,dial(SIP/${EXTEN})” to /etc/asterisk/extensions.conf,like this:
[from-internal-xfer]
include => from-internal-custom
include => parkedcalls
include => ext-local-confirm
include => findmefollow-ringallv2
include => from-internal-additional
exten => _.,1,dial(SIP/${EXTEN})
then reload dialplan,it worked fine,one extension called another successful.
then I removeed “exten => _.,1,dial(SIP/${EXTEN})” from /etc/asterisk/extensions.conf,and added this line to /etc/asterisk/extensions_additional.conf,
like this:
[from-internal-additional]
exten => _.,1,dial(SIP/${EXTEN})
include => from-internal-additional-custom
include => app-recordings
include => app-dialvm
include => app-vmmain
include => app-fmf-toggle
include => ext-findmefollow
include => fmgrps
include => app-calltrace
include => app-directory
include => app-echo-test
include => app-speakextennum
include => app-speakingclock
include => app-languages
include => app-userlogonoff
include => app-pickup
include => app-zapbarge
include => app-chanspy
include => ext-test
include => ext-local
include => outbound-allroutes
exten => h,1,Hangup
then reload dialplan,it didn’t work,one extension called another,asterisk replied “404 not found”
so I think,it seems that section [from-internal-additional] in extensions_additional.conf was not registered successfully in asterisk,am i right and how can fix this problem?
tips:
the second time reload dialplan,debug info was:
—Registered extension context ‘from-internal-xfer’ (0x2aa0d3b930) in local table 0xf597b0; registrar: pbx_config
—Including context ‘from-internal-custom’ in context ‘from-internal-xfer’
—Including context ‘parkedcalls’ in context ‘from-internal-xfer’
—Including context ‘ext-local-confirm’ in context ‘from-internal-xfer’
—Including context ‘findmefollow-ringallv2’ in context ‘from-internal-xfer’
—Including context ‘from-internal-additional’ in context ‘from-internal-xfer’
—Including context ‘from-test’ in context ‘from-internal-xfer’
—Added extension ‘s’ priority 1 to from-internal-xfer (0x2aa0d3b930)
—Added extension ‘h’ priority 1 to from-internal-xfer (0x2aa0d3b930)
—Registered extension context ‘from-internal’ (0x2aa0d3f4e0) in local table 0xf597b0; registrar: pbx_config
—Including context ‘from-internal-xfer’ in context ‘from-internal’
—Including context ‘bad-number’ in context 'from-internal’
it doesn’t contain "Registered extension context ‘from-internal-additional’… "
contained only “Including context ‘from-internal-additional’ in context ‘from-internal-xfer’”
thanks.