On 11/10/2011 06:08 PM, bilal ghayyad wrote:
In other words, what is the channel variable that I can place it to return the 
SIP/PhoneUserName, this will simplify the login.

You may want to try ${CUT(CHANNEL,-,1)}

You may find this list of variables useful for the future:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables
> From the other side, where I can find a GUI tool that enable the agent and 
the administrator to do login and logout instead of using the code?
Though I have never used it, you may want to check out: http://www.vicidial.org/vicidial.php

--
"The truth speaks for itself. I'm just the messenger."
     Lyta Alexander - Babylon 5


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to