Anything on this?

 

Any dial-plan gurus out there can weigh on this?

 

Thanks,
 
> From: [email protected]
> To: [email protected]
> Date: Sun, 20 Jun 2010 00:48:01 -0400
> Subject: [on-asterisk] How to check in dial-plan for a specific codec if it's 
> being used?
> 
> 
> Hi Guys,
> 
> 
> I have a need to check and see if a G.729 channel is up and running and then 
> to set a variable as FALSE and TRUE based on the outcome. Can this be done 
> with the dial-plan?
> 
> 
> I can also live with a dial-plan code that check to see if a Trunk is being 
> used and if it is to set a variable to FALSE or TRUE based on the condition.
> 
> 
> I can also work with a method that can check to see if a number dialed on the 
> system start with 678 and if a call is on progress and set a variable to TRUE 
> or FALSE.
> 
> 
> All of the above approaches are fine by me but I prefer the Trunk option to 
> be checked if it's used, and then the G.729 check option.
> 
> 
> Any input is appreciated.
> 
> 
> Running Asterisk v1.4.x
> 
> 
> Note: I have used phpagi to do a system call for "asterisk -rx" and that is 
> not a good solution as the php file itself hangs sometimes in Asterisk 
> dial-plan. Something dial-plan native would make my life much easier.
> 
> 
> Thanks,
> Bruce 
> _________________________________________________________________
> MSN Dating: Find someone special. Start now.
> http://go.microsoft.com/?linkid=9734384
                                          
_________________________________________________________________
Game on: Challenge friends to great games on Messenger
http://go.microsoft.com/?linkid=9734387

Reply via email to