Work-around for VitalPBX Follow Me!!!

Joe Diamond CPA

Active Member
Joined
May 5, 2022
Messages
235
Reaction score
73
OK I figured out a dialplan where the follow me for an extension will not hang up on the caller if refused, it will go to that extensions VM…Vital has always had an issue with their follow me. If you set “prompt callee” it will play a message that you have an incoming call, press 1 to accept or 2 to reject, ufortunately Vital has never had a failover / reject destination, it just hangs up on the caller! without going back to the extensions VM.

To fix this…log into vital pbx with WinSCP, go to the /etc/asterisk/vitalpbx directory, create a file called…extensions_90-custom.conf (90 could be any available number, and inset this …
[T107_FW1019-confirm]
exten => s,100,NoOp(Confirm Call)
same => n,Set(DIALED_NUMBER=${CUT(DIALEDPEERNUMBER,@,1)})
same => n,Set(RECFILE=${ARG1})
same => n,Set(SOUND=${IF($[“${LEN(${RECFILE})}”=“0”]?followme/no-recording:followme/call-from&${RECFILE})})
same => n,GotoIf(${DB_EXISTS(${TENANT}/extensions/${DIALED_NUMBER}/name)}?accept)
same => n,Set(GOSUB_RESULT=CONTINUE)
same => n,Read(CONFIRM,${SOUND}&followme/options,1,1,5)
; same => n,GotoIf($[“${CONFIRM}”=“1”]?:end)
; same => n(accept),NoOp(Accept Call)
; same => n,Return()
; same => n(end),NoOp(Reject Call)
same => n(accept),Set(_GOSUB_RESULT=${IF($[“${CONFIRM}” = “1”]?:${GOSUB_RESULT})})
same => n,Return()

the exten 100 above is the extension number that you wnat to utilize the follow me. Now of course I take NO credit for this, i just found this work-around with a lot of research, but IT WORKS! now if reject the call it will revert to the extensions VM.
 
thanks Kenn! took me a lot of research to come up with that, i just sent it to miguel today, have great weekend.
 
Have you tried a recent version of VitalPBX? Your dialplan is very identical to a current VitalPBX dialplan...

C++:
[FW6406-confirm]
exten => s,1,NoOp(Confirm Call)
 same => n,ExecIf($["${LEN(${INBOUND_LANGUAGE})}"!="0"]?Set(CHANNEL(language)=${INBOUND_LANGUAGE}):Set(CHANNEL(language)=${DB(${TENANT}/extensions/6406/language)}))
 same => n,Set(DIALED_NUMBER=${CUT(DIALEDPEERNUMBER,@,1)})
 same => n,Set(SOUND=${IF($["${LEN(${FWM_RECORDED_NAME})}"="0"]?followme/no-recording:followme/call-from&${FWM_RECORDED_NAME})})
 same => n,GotoIf(${DB_EXISTS(${TENANT}/extensions/${ARG1}/name)}?accept)
 same => n,Set(GOSUB_RESULT=CONTINUE)
 same => n,Read(CONFIRM,${SOUND}&followme/options,1,,1,5)
 same => n(accept),Set(_GOSUB_RESULT=${IF($["${CONFIRM}" = "1"]?:${GOSUB_RESULT})})
 same => n,Return()
 
probably because i sent my version to vitalpbx last year, but that is good, as you do not want any hangups on call rejection, there should be a VM as final destination.
 
You said on Saturday [1] that it is not working since day one.

FollowMe has been working great for 3 years now [2] with one or two minor hiccups such as the feature code toggle being broken for a couple of days, etc.

probably because i sent my version to vitalpbx last year
Well, no. You literally copied the dialplan my colleague and I worked on [3] and as mentioned, this has been 3 years ago...

[1] https://forums.vitalpbx.org/t/vital-pbx-4-queues-callback-module-issue/4750/6?u=pitzkey
[2] https://forums.vitalpbx.org/t/followme-issues/98/20?u=pitzkey
[3] https://forums.vitalpbx.org/t/followme-issues/98/13?u=pitzkey
 
correct, you probably did not read my full original post above wher i stated....Now of course I take NO credit for this, i just found this work-around with a lot of research, but IT WORKS! now if reject the call it will revert to the extensions VM.
 
Have you updated your VitalPBX? Current release is at 4.5.0-3 and I'm sure you know it is quite easy to update the system. (At least until your move to 4.5.)
 
Last edited:
hi kenn, its always a pleasure to hear from you, at least one person here recognizes my love and interest as a voip hobbyist trying to learn and express my enthusiasm when i find something new and exciting, never even hinting ever for taking any kind of credit, how could i as i know nothing compared to everyone here.....anyway to answer your quedtion, i do have v4 running at crowncloud along with v3, but as PITZKEY already knows im probably too stupid to know how to transfer v3 to v4, so no, i am still running my CPA one person office (me) using v3 and incredible pbx. thank god in a genius, as i have been told by my peers, as a tax accountant! wonder if PITZEK needs help with accounting? LOL
 
Joe, I am in no way calling you stupid or anything. I was just trying to point out that this functionality is working fine for 3 years now.
If you are still running v3, I can assume that you are still running a version that is more than 3 years old which is probably why you need that custom dialplan for your FollowMe to work correctly.

Being a system admin requires you to be on top of patching, both for security and enhancement reasons. Happens to be that upgrading from v3 to v4 isn't that hard, it is just a longer process. Further to that, these forums are here for people like you, to answer and assist with anything you want.

I learned a lot from these forums. When I started, I didn't know what SIP stands for.
 
Have you updated your VitalPBX? Current release is at 4.5.0-3 and I'm sure you know it is quite easy to update the system. (At least until your move to 4.5.)
Hi kenn, yes i have but unable to use v4 yet as I do not know how to upgrade v3 to v4, but thank you for asking.
 
thank you, the only reason i have not done this as of yet, is because as part of my VOIP classes I designed a way for Incredible PBX to use Vital PBX 3 queue callback feature. If you remember back in the day when it came available, it was very affordable, $150, compared to the crazy FreePBX module $475. I i created a breakaway IVR in periodic announcements in the IPBX queue that says "if you would rather not wait in queue and prefer a callback when we become available" "press 1 for a callback, or press 2 to leave a VM" , if you press 1 the caller went to the breakout IVR which announced again "press1 for a callback, or 2 to leave a VM" if you pressed 1 you went to ring group 200, which i called "transfer to vital pbx queue callback" in the extension list i put 400# (a dummy extension), so this ring group dials this extension. I then created an intra-company outbound route from IPBX called "IPBX to VPBX Queue Callback" with route CID <800> and dial pattern of 4. and 4XX, , this outbound route used a trunk i created called IPBX_to_VPBX_PJSIP, with a outbound caller id <800>, and "dial number manipulation rules" of 4XX, then on the Vital side, create inbound route "infromincrediblepbx" with a CID pattern 8XX and destination of "queues callback" , you also have to create a second inbound routeI called "from IPBX" with CID pattern 400 and destination queues callback again. the vital queue callback then uses the vital main queue, which rings the vital pbx extension 100.........................so in the end, on my android i have a IPBX extension 100 thgat i use to call out and receive calls from IPBX (assuming the client did not ask for a callback) AND a vital pbx extension 100 if the caller asks for a callback! so there you have it Incredible PBX with queue callback! wallah! pretty cool!, I got an A grade in my voip class for this!
 

Members online

No members online now.

Forum statistics

Threads
26,695
Messages
174,440
Members
20,264
Latest member
TRENT310
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top