Skip to main content

no longer dialout

Posted by ksupport on Fri, 02/19/2010

Last night I noticed that no trunks were listed under outbound routes. UI showed "*none*" I think, so I selected all my routes and assigned the trunk again. Phones stopped dialing out after I did this.

I recently moved machines and went from ABE to OS 1.6 and used backup and restore to migrate info over. I never applied any script like this thread speak of http://www.thirdlane.com/forum/deprecated-syntax-found and not sure I need to.

Which file(s) should I compare to old server to see what has changed.


Submitted by eeman on Fri, 02/19/2010 Permalink

you need to re-install the thirdlane webmin module, your backup likely has 1.6 syntax lines commented out and 1.4 lines uncommented. re-installing the module will go through the files and set the correct syntax.

Submitted by ksupport on Sat, 02/20/2010 Permalink

I have reinstalled and reloaded PBX. Still isn't working correctly. I had to modify (manually) /etc/asterisk/scripts

;exten => onetrunk,n,Set(TRUNK_PROTOCOL=${TRUNK_PROTOCOL_${TRUNK}})
exten => onetrunk,n,Set(TRUNK_PROTOCOL=DAHDI)

and scripts.include under [macro-tl-dialout-base]
;exten => onetrunk,n,Set(TRUNK_NAME=${TRUNK_NAME_${TRUNK}})
exten => onetrunk,n,Set(TRUNK_NAME=G1)
;exten => onetrunk,n,Set(TRUNK_PROTOCOL=${TRUNK_PROTOCOL_${TRUNK}})
exten => onetrunk,n,Set(TRUNK_PROTOCOL=DAHDI)

I am now able to dial out using seven digits or LD using a 1. Dialiing without using 1 doesn't work because fixlocalprefix doesn't appear to be working.

CLI shows
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
== fixlocalprefix: Failed to execute '/var/lib/asterisk/agi-bin/fixlocalprefix': No such file or directory
[Feb 20 19:10:52] WARNING[19121]: res_agi.c:2804 run_agi: unable to send SIGHUP to AGI
process 19122: No such process
.
.
.
-- Called G1/''14152616600
[Feb 20 19:10:52] WARNING[19121]: app_dial.c:1617 dial_exec_full: Invalid timeout specified: ''''
-- Hungup 'DAHDI/23-1'

file exsits and other AGI scripts work.
-rwxr-xr-x 1 root root 6168 Feb 18 21:20 /var/lib/asterisk/agi-bin/fixlocalprefix

Hope someone can fix me up.