<!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.1578" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>How to get the referred-by value from sip message 
header?</FONT></DIV>
<DIV><FONT face=Arial size=2>I need it to transfer the call by dialing speeddial 
number which was stored in speeddial table.</FONT></DIV>
<DIV><FONT face=Arial size=2>Because it will take the original caller (first 
caller) as the username instead of the second party who did the 
transfer.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>For example,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>speeddial table:</FONT></DIV>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>username&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
sd_number&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; new_uri</FONT></DIV>
<DIV><FONT face=Arial 
size=2>55555555&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
123&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <A 
href="mailto:55555550@205.5.5.5">55555550@205.5.5.5</A></FONT><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>33333333&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp; 123&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; <A 
href="mailto:33333330@205.5.5.5">33333330@205.5.5.5</A></FONT></DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When i call from 33333333 to 55555555, then 
55555555 transfer the call to 123, by right it will call <A 
href="mailto:55555550@205.5.5.5">55555550@205.5.5.5</A> , but now my system call 
<A href="mailto:33333330@205.5.5.5">33333330@205.5.5.5</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>How can i solve it?</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>jorain</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>