› VitalPBX Community Support › General Discussion › Follow Me with Prompt Callee Enabled
- This topic has 15 replies, 3 voices, and was last updated 7 months ago by
PitzKey.
- Post
-
- March 2, 2020 at 4:41 pm
Hi guys,
FollowMe setup:
-Initial ring time = 5 Seconds
-Ring strategy=Ring All
-FollowMe list = Extension and External Number.
-Prompt Callee = Enabled.
-All other Greetings, such as “Please hold while I try to locate” etc, are disabled.2 issues:
1) As soon as the external number answers the call, it stops ringing on the desk phone. Even the external number (callee) did not yet press 1 or 2.
2) If the external number does not press 1 or 2 and chooses to hang up instead, the call gets disconnected.
See log for issue 2: https://pastebin.com/rP7iHSKe (raw version)
Let me know if you need any further info.
Thanks
0
- Replies
-
- May 4, 2020 at 4:34 pm
This is how it works, because, when you receive the announcement to confirm or not the call, actually you already answer the call, but, you can decide if accept it or not.
We will check the possibility to continue ringing the internal phones if the external callee didn’t accept the call, but, I cannot assure anything
0- May 25, 2020 at 11:37 am
Sorry about the delayed response.
I’d look at it this way
Caller = Channel-A
DeskPhone = Channel-B
FollowMe Cellphone = Channel-CAnd lets set there’s a 5 second initial ring time.
As soon as the caller calls in, Channel-B and Channel-C are immediately established, however, Channel-C has a 5 Second wait() before it dials the cellphone.
If the DeksPhone answers, Channel-A and Channel-B are getting bridged and the PBX destroys Channel-C.
If the Cellphone answers, Channel-B continues ringing, and only once Channel-C received a DTMF of the number 1 the PBX will bridge Channel-A and Channel-C and finally destroy Channel-B.
That way, it will also fix the current annoying new call on the desk phone after the initial ring time.
We have a couple of emergency systems that are routed with cellphones and landlines, we can’t migrate them over just for this reason.
I might be able to help working on it and you can tell me a bit how the current FollowMe logic works, and where I should look for the dialplan.
Thank you
0- May 31, 2020 at 1:23 pm
I get your point and this is something special that was not intended for the follow me feature. But still nice if it could be done.Regarding your “That way, it will also fix the current annoying new call on the desk phone after the initial ring time.”
Just set: “Initial Ring Time” to “Not Ring”. This will fix that and will ring both extensions right away.0- May 31, 2020 at 4:19 pm
- June 2, 2020 at 12:24 pm
- June 3, 2020 at 9:16 pm
Hi @ing-joserivera26I tested the possibility of having this in place, the below seems to be working fine. I used extension 201 as the “cellphone”.
With this dialplan, I am focusing on the idea of having a 5 seconds initial ring time, and after 5 seconds the PBX starts calling the FollowMe number as well, so the primary extension continues to ring without any interruption.
The “FollowMe” number in this case is 201. Once 201 answers, they are prompted to press 1, and the call will continue ringing at 100 as long as 201 did not press 1. Again, if 201 pressed 2 or didn’t enter anything, the call will continue ringing by 100.
Dialplan:
[cos-all]
exten => 100,1,Noop(Testing follow me)
exten => 100,n,Dial(Local/deskphone-100@my-phones&Local/cellphone-100@my-phones,30)
exten => 100,n,Hangup
[my-phones]
exten => deskphone-100,1,Noop(Dialing extension 100)
exten => deskphone-100,n,Dial(SIP/100)
exten => cellphone-100,1,Noop(Calling cellphone of extension 100 and 5 seconds before dialing)
exten => cellphone-100,n,Wait(5)
exten => cellphone-100,n,Dial(SIP/201,,HhTtU(followme-confirmation))
[followme-confirmation]
exten => s,1,Noop(Entered follow me confirmation sub)
exten => s,n(start),Set(attempts=$[0${attempts}+1])
exten => s,n,Read(accept,you_have_an_incoming_call,1,,1,5)
exten => s,n,GotoIf($[$["${accept}" != ""] | $["${attempts}" = "3"]]?end:start)
exten => s,n(end),ExecIf($["${accept}" = "1"]?Noop(Connecting Call...):Set(_GOSUB_RESULT=ABORT))
exten => s,n,Return
This obviously needs more work, for example, if 201 answers the call but didn’t press 1 yet, and in the meantime 100 answered, you want that as soon as 201 presses 1 they should hear something like “Call has already been answered”, you also want to check if 100 already answered before playing the “press 1” on every loop, and if so play the “already answered” greeting and Return().
Let me know if you need any further troubleshooting.
Thanks
0- June 3, 2020 at 9:26 pm
- June 3, 2020 at 9:45 pm
- June 3, 2020 at 10:01 pm
- June 3, 2020 at 10:02 pm
We are not using the follow-me application because it has issues on external calls. However, we will do more tests on Asterisk 17.Was working totally fine on my tests with latest VitalPBX. Did exactly what it should do everytime.
1- June 4, 2020 at 10:19 am
Hi @ing-joserivera26I just tested the below with an external phone number, it worked just fine!!
[cos-all-custom]
exten => 100,1,Noop(Testing follow me)
exten => 100,n,Dial(Local/deskphone-100@my-phones&Local/cellphone-100@my-phones,30)
exten => 100,n,Hangup
[my-phones]
exten => deskphone-100,1,Noop(Dialing extension 100)
exten => deskphone-100,n,Dial(SIP/100)
exten => cellphone-100,1,Noop(Calling cellphone of extension 100 and 5 seconds before dialing)
exten => cellphone-100,n,Wait(5)
exten => cellphone-100,n,Dial(local/812XXXXXXX@cos-all,,HhTtU(followme-confirmation))
[followme-confirmation]
exten => s,1,Noop(Entered follow me confirmation sub)
exten => s,n(start),Set(attempts=$[0${attempts}+1])
exten => s,n,Read(accept,followme/no-recording&followme/options,1,,1,5)
exten => s,n,GotoIf($[$["${accept}" != ""] | $["${attempts}" = "3"]]?end:start)
exten => s,n(end),ExecIf($["${accept}" = "1"]?Noop(Connecting Call...):Set(_GOSUB_RESULT=ABORT))
exten => s,n,Return
Let me know if you need me to test anything further
Thank you
0
Tagged: follow me
- You must be logged in to reply to this topic.