RE: [Asterisk-Users] Monitor via Manager question

2005-04-20 Thread mattf
Doesn't work that way, you have to know the exact channel that you want to Monitor on SIP. What you can do is a Command Show Channels in the manager and parse through the output to find the first channel then do your Monitor command. MATT--- -Original Message- From: Dana Olson

Re: [Asterisk-Users] Monitor via Manager question

2005-04-20 Thread Dana Olson
Alright, thanks you guys. I was hoping to not have to do that, but I guess it's time to get my PHP on. I find myself re-learning it every time I start a new project. I love the language, I'm just forgetful. :-) ___ Asterisk-Users mailing list

RE: [Asterisk-Users] Monitor via Manager question

2005-04-20 Thread Alexander Lopez
It is a kludge but should work: Action: Command command: show channels Then sort based upon the result and you should have the two final variables you need. SIP/8000-? And Zap/?? You can then Monitor the SIP channel or just grab the Zap. I would go with the former as you could then

Re: [Asterisk-Users] Monitor via Manager question

2005-04-20 Thread Dana Olson
Well, I guess that I'm not as good as I once was... If anyone would care to assist me in this, I would appreciate it. If you want to contact me even on IM, IRC or off-list, anything's cool with me... I would really appreciate the help. -- Dana ___