Page 1 of 1

Call transfer to other PBX after 5

PostPosted: Fri Aug 27, 2021 9:43 pm
by ftan
Hello,

We have 2 offices.

Site A head office: Running Elastix and taking calls from 6AM to 5PM. Site has PBX already configured and has an IAX trunk configured with the following.

type=friend
qualify=yes
host=ip of my pbx server
dtmfmode=rfc2833
disallow=all
context=from-internal
allow=g729&ulaw&alaw

Site B outsource call center: had a server running vicidial and the agents at site B connect to the server there locally and only use it for inbound calls starting at 5PM. If clients call the main line in site A and press 1 or 2 it gets routed to our PBX.

The problem is the server in site B crashed (hard disk) and we have no backup. I'm unsure how to set it up so I can again start accepting calls again using our own PBX.

Could someone guide me on what I should setup in order to get this running again.

Everything was working fine before the crash so configuration is just really on site B.

Thanks.

Re: Call transfer to other PBX after 5

PostPosted: Fri Aug 27, 2021 9:59 pm
by carpenox
Sure, you can ask someone like myself to set it up for you of which it would be a paid service, or you can follow the instructions on my free blog in my signature, or better yet, if you can install it with an ISO image, just go to vicibox.com and download the iso, install it and follow the instruction manual on that site, hit me up on skype if you need additional help bro

Re: Call transfer to other PBX after 5

PostPosted: Fri Aug 27, 2021 10:05 pm
by ftan
Thanks for the answer.

i can install and setup the OS i'm just unfamiliar with VOIP so i'm not sure where to configure the settings needed at my end in order to get this working again.

Do i just create an IAX trunk also on my end and create an inbound campaign and that would be it?

Re: Call transfer to other PBX after 5

PostPosted: Fri Aug 27, 2021 10:46 pm
by carpenox
you input your voip carrier settings in admin > carriers, setup a campaign, load leads and start dialing, you should download the managers manual

Re: Call transfer to other PBX after 5

PostPosted: Fri Aug 27, 2021 11:01 pm
by ftan
is my carrier the PBX in site A? The 2 boxes are just connected over the internet. This is for inbound only we are not doing outbound.

Re: Call transfer to other PBX after 5

PostPosted: Fri Aug 27, 2021 11:28 pm
by carpenox
your carrier is whoever your calls go through to reach your servers

Re: Call transfer to other PBX after 5

PostPosted: Fri Aug 27, 2021 11:40 pm
by ftan
We only connect to the PBX server at Site A. Do i create an IAX trunk like what is configured at their side at enter the same details

type=friend
qualify=yes
host=ip of site A pbx
dtmfmode=rfc2833
disallow=all
context=from-internal
allow=g729&ulaw&alaw

Re: Call transfer to other PBX after 5

PostPosted: Sat Aug 28, 2021 8:28 am
by ambiorixg12
I recommend use SIP trunk instead of IAX2 trunk, for the following reasons

SIP is a well known protocol and standardized by the IETF
.

You have a big range of option when setting SIP

A lot of documentation and examples

And easy to debug,
It has been a while that the Asterisk team touch the IAX2 source code,

Re: Call transfer to other PBX after 5

PostPosted: Sat Aug 28, 2021 9:19 am
by ftan
Only server in site B failed. We will not be touching the config in site A since that will just create more problems for us since we are not yet familiar with config and we have to use what site A wants since they are the client. I just need to know what do I do in site B to get the calls again from Site A? Do i just put the code i put above?

Re: Call transfer to other PBX after 5

PostPosted: Sat Aug 28, 2021 11:37 am
by ambiorixg12
Doesn't matter if you use IAX2 or SIP you to create a peer entry on both server, the configuration you have above could work but is needed to debug it making sure server B does not challenge authentication on server A and if so that you can be valid authenticated, and also you have the correct context configuration for handling inbound calls

Re: Call transfer to other PBX after 5

PostPosted: Mon Aug 30, 2021 6:15 am
by ftan
i created a inbound campaign wouldnt all calls be routed there.

We only have the one campaign in site B.

Re: Call transfer to other PBX after 5

PostPosted: Mon Aug 30, 2021 8:25 am
by ambiorixg12
Call routing is based on the business need, If you use that campaign on site B to manage inbound calls, make sure you associated to an in group and set up the DID correctly,

Re: Call transfer to other PBX after 5

PostPosted: Wed Sep 01, 2021 1:05 pm
by ftan
What is the DID i should enter? i'm just connected to the PBX in Site A and they are the ones who setup the connection the SIP provider.

When i type iax2 show peers i can see the other PBX and it says OK.

But when we call i don't see any inbound calls to the PBX in site B.

Re: Call transfer to other PBX after 5

PostPosted: Wed Sep 01, 2021 1:19 pm
by ambiorixg12
I'm not an IAX2 fan, but let me try to help you

What is the DID i should enter?

This is the extension where the calls arriving to site B will be handled


When i type iax2 show peers i can see the other PBX and it says OK.




This mean there is network connection, now you need to enable the debug and see if the call is reaching the server