<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Use different prefixes for different outgoing 
calls?</FONT></DIV>
<DIV><FONT face=Arial size=2>(I know that's a nuisance though)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>PaulH</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=fwebb@imminc.com href="mailto:fwebb@imminc.com">Franklin Webb</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=asterisk-users@lists.digium.com 
  href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, January 24, 2006 7:34 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Asterisk-Users] Fw: setting 
  outgoing caller ID by the queue anextension is logged into</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Greetings fellow list members,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>I am trying to add some tricky functionality to 
  Asterisk dialplan and I was curious if anyone else has come up with a solution 
  to something like this.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Basically I have phone representatives that log 
  into one of several queues (not using chan Agent, we log in by the 
  extension), and frequently these agents have to make attended transfer calls 
  to outside numbers.  This transfer basically amounts to a new outgoing 
  call.  I have been asked to set the caller ID for these outgoing calls 
  based on the queue the phone representative is currently logged in 
  to.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Unfortunetly I cannot think of a way to do 
  this.  The incomming and outgoing calls are two different calls.  I 
  have considered using DBPut and DBGet to store this information in a 
  database.  This might work, but I am also concerned about the overhead 
  involved.  I cannot think of a way to do this using global variables 
  since I need to store a seperate value for each extension.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Has anyone run into an issue like this and come 
  up with a solution?  Any thoughts are much appreciated.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Thank you,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Franklin Webb</FONT></DIV>
  <DIV><FONT face=Arial size=2>Assistant IT Project Leader</FONT></DIV>
  <DIV><FONT face=Arial size=2>Inter Media Marketing Solutions</FONT></DIV>
  <P>
  <HR>
  <P></P>_______________________________________________<BR>--Bandwidth and 
  Colocation provided by Easynews.com --<BR><BR>Asterisk-Users mailing 
  list<BR>To UNSUBSCRIBE or update options visit:<BR>   
  http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE></BODY></HTML>