POSSA / freepbx-weather-by-zip

FreePBX module, reads back weather forcast from dtmf zip code input
4 stars 5 forks source link

Not compatible with Asterisk newer than 1.6 #2

Closed lgaetz closed 12 years ago

lgaetz commented 12 years ago

Dial plan uses pipes

VERBOSE[27199] pbx.c:     -- Executing [s@noah-flite:10] AGI("SIP/201-00000014", "nvweather-zip.php|90210") in new stack
WARNING[27199] pbx.c: The application delimiter is now the comma, not the pipe.  Did you forget to convert your dialplan?  (AGI(nvweather-zip.php|90210))
lgaetz commented 12 years ago

The 1.1.7 code would check for Asterisk 1.6 and if it failed would assume Asterisk 1.4. I deleted all of that for ver. 1.2 and used dialplans with commas, not the pipe. I am pretty sure that commas work all the way back to Asterisk 1.4 but it is possible that 1.2 will not work anymore with Asterisk 1.4. This needs to be tested and I don't have a 1.4 system.

lgaetz commented 12 years ago

Module no longer checks for asterisk version, it is assumed that commas will work with the dialplan