Please can I ask for same assistance:
[featuremap]
blindxfer => ##
atxfer => **
- Incoming call transferred with ## records the hole recording in one file, doesn’t stop.
- Internal call from one extension to another continues the call recording in one file doesn’t stop.
- Outgoing call transferred stops recording on first transfer. (Tried the Append but the original recording gets created as soon as the transfer takes place)
My recording macro:
[macro-check-record]
exten => s,1,GotoIf($[${RECORD}=YES]?2:5)
exten => s,2,Set(EXISTS=${STAT(e,/var/spool/asterisk/monitor/${CDR(uniqueid)}.wav)})
exten => s,3,GotoIf(${EXISTS}?5)
exten => s,4,MixMonitor(${CDR(uniqueid)}.wav,b,/usr/local/bitco/convert ${CDR(uniqueid)})
exten => s,5,NoOp(RECORD: ${RECORD})
What I have found with Option 3:
An outgoing call when transferred doesn’t create a new uniqueid for the transferred call. Which cause my Macro to skip MixMonitor.
Caller A phone Caller B, Caller A then transfer the call to Caller C; The call between Caller B and Caller C stops Recording
Regards
Caller A phone Caller B then caller B blind transfers to Caller C: (## transfer)
Caller A to Caller B -
Uniqueid: 1389173420.258
CDR(uniqueid): 1389173420.258
Recording folder: /var/spool/asterisk/monitor/1389173420.258.WAV (Both recordings are linked)
Caller B to Caller C -
Uniqueid: 1389173420.258
CDR(uniqueid): 1389173420.260
Recording folder: /var/spool/asterisk/monitor/1389173420.260.WAV (Only Second call)
Caller A phone Caller B then caller B blind transfers to Caller C: (button transfer)
Caller A to Caller B -
Uniqueid: 1389173770.287
CDR(uniqueid): 1389173770.287
Recording folder: /var/spool/asterisk/monitor/1389173770.287.WAV (Both calls together)
Caller B to Caller C -
Uniqueid: 1389173770.287
CDR(uniqueid): 1389173770.287
Recording folder: Same
Caller A phone Caller B then caller A blind transfers to Caller C: (button transfer)
Caller A to Caller B -
Uniqueid: 1389173839.292
CDR(uniqueid): 1389173839.292
Recording folder: /var/spool/asterisk/monitor/1389173839.292.WAV (First part)
Caller A to Caller C -
Uniqueid: 1389173847.295
CDR(uniqueid): 1389173839.294
Recording folder: /var/spool/asterisk/monitor/1389173839.294.WAV (Second part)
---------------------------------------
Problem call:
Caller A phone Caller B then caller A blind transfers to Caller C: (## transfer)
Caller A to Caller B -
Uniqueid: 1389173483.263
CDR(uniqueid): 1389173483.263
Recording folder: /var/spool/asterisk/monitor/1389173483.263.WAV (Only first call)
Caller A to Caller C -
Uniqueid: 1389173488.266
CDR(uniqueid): 1389173483.263
Recording folder: None
No second part to the call.
Regards
I believe I have found the problem, it seams like Mixmonitor doesn’t continue recording the message because it sees the blind transfer from ## as 2 divert call because both calls have different uniqueid.
Caller A phone Caller B then caller B blind transfers to Caller C: (## transfer)
Caller A to Caller B -
Uniqueid: [color=#4040FF]1389173420.258[/color]
CDR(uniqueid): 1389173420.258
Recording folder: /var/spool/asterisk/monitor/1389173420.258.WAV (Both recordings are linked)
Caller B to Caller C -
Uniqueid: [color=#4040FF]1389173420.258[/color]
CDR(uniqueid): 1389173420.260
Recording folder: /var/spool/asterisk/monitor/1389173420.260.WAV (Only Second call)
Caller A phone Caller B then caller B blind transfers to Caller C: (button transfer)
Caller A to Caller B -
Uniqueid: [color=#800080]1389173770.287[/color]
CDR(uniqueid): [color=#BF0000]1389173770.287[/color]
Recording folder: /var/spool/asterisk/monitor/1389173770.287.WAV (Both calls together)
Caller B to Caller C -
Uniqueid: [color=#800080]1389173770.287[/color]
CDR(uniqueid): [color=#BF0000]1389173770.287[/color]
Recording folder: Same
---------------------------------------
Problem call:
Caller A phone Caller B then caller A blind transfers to Caller C: (## transfer)
Caller A to Caller B -
Uniqueid: 1389173483.263
CDR(uniqueid): [color=#4040BF]1389173483.263[/color]
Recording folder: /var/spool/asterisk/monitor/1389173483.263.WAV (Only first call)
Caller A to Caller C -
Uniqueid: 1389173488.266
CDR(uniqueid): [color=#4040BF]1389173483.263[/color]
Recording folder: None
As we can see in the colour match, if the uniqueid match on both calls MixMonitor continues to keep the recording stream open. However when the uniqueid doesn’t match MixMonitor doesn’t keep the stream open. However these 2 calls now have the sanem CDR(uniqueid) which makes my macro no record a file.
However should this be logged as a Bug? I believe asterisk to be creating the ## blind transfer as 2 different calls rather then having then bridged or linked.
Normal blind transfers from Buttons on the phone works correctly, will it not be possible to have asterisk process the ## transfers the same?