No subject


Thu Jul 12 09:23:04 CDT 2007


 queuename = astman_get_header(m, "Queue");
  uniqueid = astman_get_header(m, "UniqueId");
  interface = astman_get_header(m, "Interface");
  event = astman_get_header(m, "Event");
  message = astman_get_header(m, "Message");

ast_queue_log(queuename, S_OR(uniqueid, "NONE"), interface, event,
"%s", message);

So, agent would be "Interface" and data would be "Message".

However, i wonder why do you need to pass "Login" event, as any kind
of Queue Login (dialplan or AMI) would do that automatically.

Regards,
Atisw

-- 
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835



More information about the asterisk-users mailing list