as it turns out if the agent (with callbacklogin) is logged into SIP/123 it 
will try to dial 123
in local context.

only variable I can get so far that is passed on is callerid

If i want auto answer I set caller id to include a specific string 

In local context I have a dialplan matching 123 and other SIP extensions which 
checks the callerid
for this string  if it exists sets _alert_info=something

CallerId: blah blah (autopickup) <1234>
Channel: AGENT/1001
Context: autodial
Exten: 123456789
Priority: 1 

There must be a better way though.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to