External Transfer to Freepbx on Press 1

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

External Transfer to Freepbx on Press 1

Postby elondoninc » Thu Jun 23, 2016 2:12 am

Hello everyone,
I have a cluster setup using vicibox alongside a freepbx server in which the reps make and receieve calls on for ease of use i have elected to connect Vici to freepbx in which case someone press's 1 they're then routed to freepbx for the call to be answered. To do this i have

Done the following:
I. To configure Peer Connection between Vicidial and Elastix
a. Create a new Phone extension in Vicidial
b. Use Phone extension credentials from Vicidial and Create Trunk on Elastix using those credentials. Also make sure that Registry settings on Elastix point to and Inbound DID or the catch all (Default) route

II. Setup Vicidial Voiceblast
a. Create Campaign with Routing Extension set to 8366 (Survey).
b. Create Inbound Call Menu and setup the corresponding key press to route to the proper destination. To route to Elastix Select destination phone and select the Phone Extension used to Peer Vicidial and Elastix.
c. Under Survey Campaign tab. Set the survey to route the calls to Call Menu.
d. Create User to be used by Remote agent. Make sure to use Integer Numbers only on UserID or Username , e.g. 8961 or 5897
e. Create Remote agent and Use the newly created username / user id and setup the campaign to use the Survey campaign


When the phone goes to transfer we receieve invalid extension even though the extension is valid on the freepbx system we also see no activity on the freepbx system when this is initiated please see attached for the trunk from elastix to vici
Code: Select all
username=92341
type=friend
secret=testing123
qualify=yes
port=5060
insecure=port,invite
host=172.16.40.202
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
allow=ulaw&alaw


Please see error
Code: Select all
 -- <SIP/SIPDOTUS1-0004d93d>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Jun 22 23:57:42]     -- Channel 'SIP/SIPDOTUS1-0004d93d' sent to invalid extension: context,exten,priority=default,919992341,1
[Jun 22 23:57:42]     -- Executing [i@default:1] Playback("SIP/SIPDOTUS1-0004d93d", "invalid") in new stack
[Jun 22 23:57:42]     -- <SIP/SIPDOTUS1-0004d93d> Playing 'invalid.gsm' (language 'en')
[Jun 22 23:57:45]   == Spawn extension (default, i, 1) exited non-zero on 'SIP/SIPDOTUS1-0004d93d'

any recommendation or help getting this resolved would be greatly appreciated! :mrgreen:
ViciBox_v.8.0.1 Vicidial VERSION: 2.14-632a BUILD: 170930-0853 Asterisk 11.25.3-vici DB: 2 x Xeon E5520 Quad Core 24GB DDR 3 ECC 2 x 160GB SSD Web,10 Telephonies, (11 Servs ) Xeon X3450 Quad Core - 2.66Ghz 2x147GB SAS 15K Intel Core 2 Quad 8gb DDR2
elondoninc
 
Posts: 14
Joined: Sun May 22, 2016 5:27 pm

Re: External Transfer to Freepbx on Press 1

Postby williamconley » Thu Jun 23, 2016 1:53 pm

I see your context=from-internal in your account settings in FreePBX, but the error shows 'default,919992341,1' which means that the account settings you are showing us are not the ones being used by the FreePBX system during the transferred call.

FreePBX does not have a "default" context. That's a Vicidial context. You probably want to use from-trunk or from-internal. This may require finding the real account being used.

You may also want to send the calls to a Remote Agent instead of the call menu. and of course the remote agent in question would send the call to FreePBX. At that point, you can have one remote agent per FreePBX user (individual tracking, handy) or send to a Queue in FreePBX instead, less tracking in Vicidial but perhaps simpler in FreePBX.

I'd also consider using the "one remote agent per user" concept if you wanted to give the agents the ability to turn their own remote agent on/off and perhaps even go back and change the status of certain leads to "sale" or put notes in Vicidial. There is a special remote agent login for doing this in Vicidial.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 147 guests