[Freeswitch-users] Call Forwarding Question

Nandy Dagondon nandy1925 at gmail.com
Sun Sep 6 16:54:21 PDT 2009


nik,

please try the "legs" variable
http://www.nabble.com/CDR-accounting-question-td19212516.html

/nandy


On Sun, Sep 6, 2009 at 6:40 PM, Nikolai Geordzhev <n.geordzhev at gmail.com>wrote:

> Hi,
> I`m trying to implement Call Forwarding in my FS setup. I set a user
> variable managing the type of forwarding (busy,no answer,unconditional) and
> the destination the phone is forwarded to:
>
> <user id='102'>
>      <variables>
>      <variable name='fwd_type' value='unconditional'/>
>      <variable name='fwd_unconditional_number' value='103"/>
>      </variables>
> </user>
>
> Then in my dialplan I check if the called user has ${fwd_type} set and if
> so I set the destination_number to ${fwd_unconditional_number}. After this
> operation I bridge the call to the new destination_number.
> The issue in this scenario is that I get a cdr in which A (101) calls
> C(103) and I need to have two cdrs, one from A(101) to B(102) and one from
> B(102) to C(103).
> Does anyone know how can this be implemented.
>
> 10x,
> NG
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090907/90a29572/attachment-0002.html 


More information about the FreeSWITCH-users mailing list