<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY LINK="#0000ff">
Hi Oleg, <BR>
These are the steps to perform the call forwarding, may be you can use something like that (avp_pushto) to perform the transfer:<BR>
<BR>
Enable CF<BR>
*33 to enable:<BR>
<BR>
  if ($rU=~"^\*33.*") {<BR>
      strip(3);<BR>
      avp_printf("$avp(s:fwd_blind)","$ruri");<BR>
      .......<BR>
      avp_db_delete("$from/username","$avp(s:fwd_blind)");<BR>
      avp_db_store("$from/username","$avp(s:fwd_blind)");<BR>
      sl_send_reply("404","CFWD Set");<BR>
      ....}<BR>
<BR>
Disable CF<BR>
*32 to disable:<BR>
<BR>
  if ($rU=~"^\*32") {<BR>
      avp_db_delete("$from/username","$avp(s:fwd_blind)");<BR>
      sl_send_reply("404","CFWD UnSet");<BR>
       ......  }<BR>
<BR>
Forwarding<BR>
<BR>
if (avp_db_load("$ruri/username", "$avp(s:fwd_blind)")) {<BR>
   $from=$ruri;<BR>
   avp_pushto("$ruri", "$avp(s:fwd_blind)");<BR>
   ...<BR>
   route(RELAY);<BR>
   ....<BR>
<BR>
Setup<BR>
<BR>
loadmodule "avpops.so"<BR>
modparam("avpops","db_url","mysql://openser:<A HREF="mailto:openserrw@localhost">openserrw@localhost</A>/kamailio")<BR>
modparam("avpops","avp_table","usr_preferences")<BR>
<BR>
<BR>
Regards,<BR>
<BR>
Lucas Girard<BR>
<BR>
<BR>
<BR>
On Tue, 2013-11-05 at 09:15 +0800, Гергарт Олег (Мобилон) wrote:
<BLOCKQUOTE TYPE=CITE>
    Hello!<BR>
    <BR>
    Tell me please, is there in kamailio opportunity to call transfer and pickup? If yes, where can I about this to read?<BR>
    <BR>
     <BR>
    <BR>
    Thanks!<BR>
    <BR>
     <BR>
    <BR>
    Regards, Oleg Gergart<BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<A HREF="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>