Re: [Asterisk-java-users] GetVarAction() problems...
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-06-09 09:47:25
|
idir arabi wrote: > Her is my code: >=20 > getvar.setVariable("SIP_CODEC"); You can't get the value of built-in channel variables via the Manager API= =2E Thats why I wrote in the javadocs: "You cannot read built-in channel variables such as LANGUAGE or CALLERIDNUM using the Manager API. You can only read channel variables that you have explicitly set using the Set or SetVar (for Asterisk 1.0.x) applications in the dialplan, in an AGI script or by using the SetVarAction through the Manager API itself." =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... |