[Freeswitch-users] Two FreeSWITCH Box IVR Call Transfer

Jigar Thakkar thakkar.jigar at gmail.com
Wed Jul 7 06:00:19 PDT 2010


I am sorry to send this message again. But i dont see my mails in archive so
I changed membership settings and tried to send it again.

Thanks.
Jigs

---------- Forwarded message ----------
From: Jigar Thakkar <thakkar.jigar at gmail.com>
Date: Wed, Jul 7, 2010 at 11:11 AM
Subject: Re: Two FreeSWITCH Box IVR Call Transfer
To: freeswitch-users at lists.freeswitch.org


Hi,

I have tried this to forward a call from BoxA to BoxB;

1. session.Execute("bridge", [user_id=123456]sofia/internal/5111 at BoxB)

     It forwards the call successfully; BoxB answer the call and does the
process but here I don't see the variable "user_id" value I set.
session.GetVariable("user_id") returns empty string.

2. I also tried session.Execute
("originate",[user_id=123456]sofia/internal/5111 at BoxB)

    In this case it creates a new Channel successfully but I don't see any
call request to BoxB; It just creates a new channel successfully and after
some time call gets cleared.

Please Help me regarding this; i want to know what is the difference between
Bridge and Originate; and Also Let me know the best possible scenario to
implement the following mentioned scenario.

Thanks & Regards,

Jigs.


On Tue, Jul 6, 2010 at 12:01 PM, Jigar Thakkar <thakkar.jigar at gmail.com>wrote:

> Hi Guys,
>
> I am a beginner to FreeSWITCH. I have few questions.
>
> 1. What is the difference between BRIDGE, ORIGINATE and TRANSFER.
> 2. I have two FreeSWITCH box. BoxA and BoxB
>     1. User will make a call to BoxA; BoxA's IVR collect some information
> i.e. userid and pin.
>     2. Now BoxA will forward/transfer/bridge call to BoxB's IVR ( here i
> want to pass userid as channel variable)
>     3. Box B will ask for another pin i.e. pin2, verifies the same and pass
> whether pin2 is correct or not to BoxA (also transfers the call to boxA's
> ivr)
>     4. Box A  shall play message to User whether this process is successful
> or not. And then call shall be hanged up.
>
>     My work till date is
>    1. setup the two freeswitch ivr, box a and box b.
>    2. I wrote .net code to handle the individual role. i.e. to ask user id
> and pin
>    3. I facing the problem in forwarding a call from boxA to boxB along
> with the userID
> Please suggest the best way to implement it. I hope I have explained the
> scenario properly.
>
> Thanks & Regards,
>
> Jigs.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100707/557ea4c7/attachment.html 


More information about the FreeSWITCH-users mailing list