[Freeswitch-users] Two FreeSWITCH Box IVR Call Transfer
Jigar Thakkar
thakkar.jigar at gmail.com
Tue Jul 6 22:41:18 PDT 2010
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/58fe4d3c/attachment.html
More information about the FreeSWITCH-users
mailing list