Hi all,
 
How to get the referred-by value from sip message header?
I need it to transfer the call by dialing speeddial number which was stored in speeddial table.
Because it will take the original caller (first caller) as the username instead of the second party who did the transfer.
 
For example,
 
speeddial table:
-----------------------------------------------------------
username        sd_number        new_uri
55555555             123            55555550@205.5.5.5    
33333333             123            33333330@205.5.5.5
          
 
 
When i call from 33333333 to 55555555, then 55555555 transfer the call to 123, by right it will call 55555550@205.5.5.5 , but now my system call 33333330@205.5.5.5
 
 
 
How can i solve it?
Thanks.
 
 
Regards,
jorain