Quote:
I am answering my question myself
Hey, I was busy.
Quote:
First of all no need to make modification in asterisk source code and recomiling
"core show channels concise " gives you the required information about the active channels with seperator as "!" and also provides FULL channel names without shortened.
I later found "core show channels concise" works, but it is deprectaed and will be removed in later versions. I should update code to use it while it exists. This will avoid modifying asterisk for sure.
Quote:
now i am implementing your code to work with AMI, instead of shell execute.
Durings tests with AMI , it was found to be many times slower using the socket that way. Script waited up to three seconds to get the reply from asterisk on a server without load, but it may be the only way to get the channel variables using asterisk 1.4.
As you know this was written for 1.8. I'm releasing a much improved code to work with 1.8 . you can wait for that and modify it for 1.4. Send me the changes and I'll post in the usual location.