Can I place where variable? As I know - I can't. 

Calls placed with to queue with destination number, for example "4238569", should be originated from freeswitch with same number "4238569". Also will be very good to keep originator number. 

From: Andrew Cassidy
Sent: Monday, 2 December 2013 00:40
To: FreeSWITCH Users Help
Reply To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Disastery Plan

You can put what should be the To username for the call as part of the dialstring (something cool I found recently)

So say you have your contact set to:

sofia/profile/user%domain

add a caret(^) followed by the username you want in the To: header in the outgoing invite, for example:

sofia/profile/user%domain^443300100960

If I could remember where I found that I'd cite it.



On 30 November 2013 18:50, Nikita Tarasov <luckyraul@gmx.com> wrote:
I already have tried mod_callcenter with queue.

All worked perfectly except only one thing -  calls was routed with "call center server" peer number(if it was registered as agent). So I can't keep original destination number. 
Also I have tried to make mod_callcenter agent concact via sofia external gateway. Nevertheless my attempts to change destination number for restoring calls via channel's sip header variables ended with security issue.

Really helpfull will be xml diaplan code, if it can be done another way.

Thanks.


30.11.2013 22:34, Ali Pey пишет:
Why don't you try to use Freeswitch queue feature? When calls are routed to freeswitch, freeswitch can queue them up and then route them to your call center server when you call center is reachable.

Freeswitch can ping (Options) your call center server to detect if it's reachable or not. 

Regards,
Ali Pey


On Sat, Nov 30, 2013 at 2:31 AM, Nikita Tarasov <luckyraul@gmx.com> wrote:
Let me rephrase. I am trying to make redundant our priopretary call center server, which doesn't have own capabilities to do it. For that I am using opensips for detection of failure, and for traffic routing.  freeswitch is for temporary  replacement, while that software is down. I need to make on freeswitch waiting buffer and release it to recovered server with keeping destination number. 

From: Ali Pey
Sent: Saturday, 30 November 2013 07:48
To: FreeSWITCH Users Help
Reply To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Disastery Plan

Hello,

It's not quite clear what you are asking. Are you trying to have redundant opensips servers or redundant freeswitch servers?
What do you mean by ONE sip server? Everything is a sip server.

Opensips is quite capable of detecting if a server is down and re-route the calls to a redundant server. That's what the load balancer module does.

Regards,
Ali Pey


On Thu, Nov 28, 2013 at 6:21 AM, Nikita Tarasov <luckyraul@gmx.com> wrote:

Hi guys. 

 

We have loadbalancer(opensips) and a huge amount of incoming calls going to ONE sip server, which is unscalable and priopretary.

I need to create some kind of disastery plan for this server service is down or on high load.

The main idea of this plan is, when disastery happends, to balance all incoming calls to freeswitch and keep them with music, while main server is down.

On recovery calls should be forwarded to main server with the same destination number as they was.

I have tryed to make it with mod_callcenter. It was done by placing calls in queue and when main server is on and re-registered on freeswitch, calls was forwarded. But without destination number.

And I can't copy destination number to forwarded calls.


Can you help me?

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




--
Andrew Cassidy BSc (Hons) MBCS SSCA
Managing Director


T 03300 100 960  F 03300 100 961