Ticket #1972 (new Feature Requests)

Opened 3 years ago

Last modified 2 years ago

[patch] callback on busy with blind transfer

Reported by: francesco_r Assigned to:
Priority: minor Milestone: Cut Line
Component: Core Version: 2.2.1
Keywords: Cc:
Confirmation: Need testing SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

This is a little patch for extensions.conf to implement feature #1833. It works only for IAX and SIP extensions (works also with SIP native transfer). I didn't get it work for zap channels. Some ideas?

Attachments

patch_blind (1.1 kB) - added by francesco_r on 06/04/07 22:21:05.
patch for extensions.conf - FreePBX 2.2.1
patch_blind2.txt (1.4 kB) - added by francesco_r on 07/17/07 06:11:13.
patch_blind3.txt (1.4 kB) - added by francesco_r on 07/17/07 19:10:03.

Change History

06/04/07 22:21:05 changed by francesco_r

  • attachment patch_blind added.

patch for extensions.conf - FreePBX 2.2.1

06/05/07 01:35:20 changed by francesco_r

I think this patch is valid only when you set "extensions" mode in amportal.conf, not valid for "deviceanduser" mode. I have not yet tried.

06/05/07 13:08:54 changed by wiseoldowl

I tested this patch, manually pasting the added code into the appropriate locations in extensions.conf. Please note I'm still running FreePBX version 2.2.0 for various reasons, and also have patched extensions.conf before, so it's possible my experience may be unique, though I doubt that. But, this is what I observed.

I busied out an extension that does not have voicemail by calling an internal recording (one that supervises). Next, I dialed into another extension using a DID number that goes direct to that extension. On the called extension I hit ## to transfer, then dialed the number of the busy extension. The outside caller then heard: "The person at extension [pause] is on the phone" (note it does not read the extension number) and then one cycle of ringback tone (which appears to be an intentional delay).

IF, by that time, the extension that originally transferred the call has hung up, then that extension actually begins to ring. However, and this is significant, if the extension that originally transfered the call has not yet disconnected, the call seems to go into dead air. This MAY have something to do with the fact that in my test, the transferring extension has a follow-me enabled - one line I see on the CLI is "Returning there are no members left in the hunt group to ring."

I don't claim to have the perfect test bed for this but I did want to point out that it's playing the recording but omitting the extension number - that's because there is no code to play the extension between these two lines:

exten => blindtr,n,Background(vm-theperson)
exten => blindtr,n,Background(vm-isonphone)

In order to solve that problem, I changed those lines to:

exten => blindtr,n,Background(the-party-you-are-calling)
exten => blindtr,n,Background(is-curntly-unavail)
exten => blindtr,n,Background(pls-hold-while-try)

(Perhaps not the best choices, but not as glaring as a missing extension number).

And also, if the person who causes the transfer delays in hanging up the phone (or, presumably, their line is immediately busied out again by another incoming call or something similar) then the transferred call MAY wind up in a black hole (it does NOT honor a follow-me and go to another extension in the follow-me group, which may or may not be desirable behavior). Still, I like the idea of not transferring a caller to a busy signal (which is what can happen without this patch), so I'd encourage a bit more work on this patch to resolve the problem, if at all possible.

07/17/07 06:10:42 changed by francesco_r

I have upgraded the patch. You are right wiseoldowl, in Italy sounds ok "the person is on phone", but not in english. I think that it's not right choice go through follow-me when calling-back: the person that transfers the call is obviously in that extension. I have added a GotoIf? when busy, so the call go to the operator extension (defined in General Settings -> Operator Extension)

07/17/07 06:11:13 changed by francesco_r

  • attachment patch_blind2.txt added.

07/17/07 06:13:43 changed by francesco_r

The new patch also call-back when the extension is unavailable, before was only when busy.

07/17/07 19:09:45 changed by francesco_r

I have a new patch, if the operator was a queue or a ring-group didn't the call it. Now works well.

07/17/07 19:10:03 changed by francesco_r

  • attachment patch_blind3.txt added.

07/23/07 08:30:03 changed by mbrevda

I was looking for something like this for a while! But is this really necessary now that we have VmX?

07/23/07 19:12:25 changed by francesco_r

I think it's still necessary, and this callback function only when you have vmx/voicemail disabled. It' a basic feature of many traditional pbx and key systems.

(follow-up: ↓ 9 ) 08/08/07 03:17:13 changed by draguzet

Callback on busy works fine, but if function Follow me is enabled this patch not working. Follow me function is used for "no answer" transfer to return on ring group, perfect solution is to add patch code for callback "no answer" blindtranfered call to original extension. Is this possible francesco_r !? How, please help !

(in reply to: ↑ 8 ) 08/08/07 03:56:36 changed by draguzet

Replying to draguzet:

Callback on busy works fine, but if function Follow me is enabled this patch not working. Follow me function is used for "no answer" transfer to return on ring group, perfect solution is to add patch code for callback "no answer" blindtranfered call to original extension. Is this possible francesco_r !? How, please help !

And + if extension is busy and call is not blindtransfer send busy tone. Full PBX solution without voice mail IMHO !

11/13/07 11:10:34 changed by p_lindheimer

  • confirmation set to Confirmed.
  • milestone deleted.

07/01/08 16:57:43 changed by mbrevda

  • confirmation changed from Confirmed to Need testing.

Houskeeping: anyone interested in testing this patch and providing feedback?

07/01/08 17:38:31 changed by p_lindheimer

  • type changed from Patches to Feature Requests.

07/25/08 07:17:49 changed by ryppn

  • milestone set to Cut Line.