VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
n.geordzhev at gmail.com Guest
|
Posted: Sun Sep 06, 2009 5:46 am Post subject: [Freeswitch-users] Call Forwarding Question |
|
|
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 |
|
Back to top |
|
|
n.geordzhev at gmail.com Guest
|
Posted: Sun Sep 06, 2009 1:33 pm Post subject: [Freeswitch-users] Call Forwarding Question |
|
|
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 |
|
Back to top |
|
|
nandy1925 at gmail.com Guest
|
Posted: Sun Sep 06, 2009 7:04 pm Post subject: [Freeswitch-users] Call Forwarding Question |
|
|
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@gmail.com (n.geordzhev@gmail.com)> wrote:
Quote: | 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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
stephen.l.davies at gm... Guest
|
Posted: Mon Sep 07, 2009 1:40 pm Post subject: [Freeswitch-users] Call Forwarding Question |
|
|
On 9/6/09, Nikolai Geordzhev <n.geordzhev@gmail.com> wrote:
Quote: | 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
|
--
Sent from my mobile device
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
n.geordzhev at gmail.com Guest
|
Posted: Tue Sep 08, 2009 3:32 pm Post subject: [Freeswitch-users] Call Forwarding Question |
|
|
I`ve already tried the legs variable in cdr_csv.conf.xml, I have also tried to use the loopback endpoint and to bridge the call to the internal interface(so it can go out and in again generating the 2cdr-s I need) and still haven`t achieved any success. Can anyone please share some experience in doing CallForwarding in FreeSwitch. I beleive I`m not the only guy tryiig to achieve this, what`s the Best Practices for this task?
Regards,
NG
On Mon, Sep 7, 2009 at 2:54 AM, Nandy Dagondon <nandy1925@gmail.com (nandy1925@gmail.com)> wrote:
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Sep 09, 2009 3:59 pm Post subject: [Freeswitch-users] Call Forwarding Question |
|
|
On Tue, Sep 8, 2009 at 1:20 PM, Nikolai Geordzhev <n.geordzhev@gmail.com (n.geordzhev@gmail.com)> wrote:
Quote: | I`ve already tried the legs variable in cdr_csv.conf.xml, I have also tried to use the loopback endpoint and to bridge the call to the internal interface(so it can go out and in again generating the 2cdr-s I need) and still haven`t achieved any success. Can anyone please share some experience in doing CallForwarding in FreeSwitch. I beleive I`m not the only guy tryiig to achieve this, what`s the Best Practices for this task?
|
Nik,
Can you pastebin your dialplan where you do this? I'd like to see what you're doing and perhaps see if I can duplicate your scenario for testing.
Thanks,
MC |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|