[asterisk-dev] Python gvoice calls now fail with Asterisk 1.8.0 and 1.8.1-rc1
Tilghman Lesher
tlesher at digium.com
Wed Dec 8 04:04:28 UTC 2010
On Tuesday 07 December 2010 18:29:59 Steve Edwards wrote:
> On Tue, 7 Dec 2010, Ward Mundy wrote:
> > This code works fine with Asterisk 1.6.2. The workaround with Asterisk
> > 1.8.x has been to restart Asterisk after logging in to the Linux CLI.
> > Sometimes, a single restart will suffice, but often two or three are
> > required. Then the outbound calls work properly with the syntax above
> > until the server is rebooted. Attempts to embed the multiple restarts
> > in the Linux startup script have no effect. The calls continue to
> > fail.
>
> Any chance the PATH is different when Asterisk is started on boot and
> when it is restarted from the command line?
This sounds like the correct approach. Try using the full path to the
gvoice script and see if it doesn't work correctly upon reboot.
Alternatively, you can encode a path environment variable in [globals] in
extensions.conf:
[globals]
ENV(PATH)=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
--
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list