Ok here is somethign else maybe someone can help with, since I cant find anythign else on this issue…
Im trying to do the *3 method from here
voip-info.org/wiki/index.php … md%20Flash
the problem is that the program app_flash is designed to flash the ZAP channel if I understand it, but for some reason it tries to flash the current channel that the command is coming from.
This is me using a custom app in functions.conf
zapflash => *3,caller,flash,()
and calling it using extensions.conf
exten => s,1,Set(DYNAMIC_FEATURES=zapflash)
exten => s,n,Dial(Sip/spa-1000,20,tw)
and this is the output that I get on the console when I press *3
WARNING[4238]: app_flash.c:105 flash_exec: SIP/spa-1000-09da4ce8 is not a Zap channel
Looking at the code of the function
flash_exec ( struct ast_channel * chan,
void * data
) [static]
passes the *chan array which actually has the current channel not the Zap channel parameters. And I cant pass any parameters using Flash().
Is there anyway to change the function to pass parameters such as Zap/1 or just have the flash_exec always flash the Zap/1 channel and nothing else ?
I really appreciate any help. Thank you in advance.
[/code]