[asterisk-users] CDR after SIP blind transfer.
Chris Maciejewski
chris at wima.co.uk
Tue May 26 10:13:43 CDT 2009
Hi,
I can't get Asterisk to save CDRs for calls transferred via SIP blind transfer.
My extensions.conf:
[globals]
__TRANSFER_CONTEXT = transfer
[common]
exten => 123,1,Playback(demo-congrats)
exten => 123,n,Hangup()
exten => _0X.,1,Dial(SIP/${EXTEN}@PSTN-GW,60)
exten => _0X.,n,Hangup()
exten => i,1,Hangup()
exten => h,1,Hangup()
exten => t,1,Hangup()
[transfer]
exten => 123,1,Goto(common,${EXTEN},1)
Scenario A:
SIP Phone dials 123 and hangs up after 10 seconds.
CDR is recorded just fine.
Scenario B:
SIP Phone dials 02088441234 which is routed to the external peer.
After 10 seconds call is transferred (blindly) to extension 123. After
another 10 seconds external peer hangs up.
Problem: there is only one CDR recorded for the first 10 seconds long
call. Second part of the call, after 02088441234 was transferred to
123 is NOT recorded.
Is there any way to force Asterisk to record CDR in scenario B
(without using LOCAL channel)?
Regards,
Chris
More information about the asterisk-users
mailing list