Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: timn on September 24, 2009, 06:37:01 PM
-
I am using 2.3.2-12 and have just tried the custom app *901* to save backup files. I had to set the phone dialplan to accept *xxx* first and then the call went through, but instead of getting an email of backup files I got a message about call forwarding. I believe this has something to do with http://forums.contribs.org/index.php/topic,44549.0.html and the *xx codes implemented.
Changing the custom app to *991* I got an email to admin with the backup, but changing it back to *901* gave me the call forward voice announcement again.
I haven't tried the other custom apps but assume a similar problem.
-
You are quite correct...
Unfortunately the *90nnnn NANPA code interferes with *901* (as you've spotted). We'll take a look at it for you. *90X* isn't part of SARK, it's just an example of how to build custom apps. You can change *901* to anything you like.
Kind Regards
S
-
This has been fixed and will be included in the next out.
If you can't wait then here is a patch for you..
Using your favourite editor load the following template...
/etc/e-smith/templates/etc/asterisk/extensions.conf/90-presets
At or near line 208 find
exten => _*90X.,1,agi(selintra,*22*$\{EXTEN:3\})
Replace it with
exten => _*90XX.,1,agi(selintra,*22*$\{EXTEN:3\})
save it back and issue a commit from Globals Panel.
That should do it.
Kind Regards
S
-
Thanks
I'll give it a go and let you know if it doesn't work