[Home]

Summary:ASTERISK-15054: hangup on transfer
Reporter:Avinoam (avinoash)Labels:
Date Opened:2009-10-29 07:12:30Date Closed:2011-06-07 14:10:04
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/Channels
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:when we use the asterisk feature:
atxfer => ASTERISK-1                    ; Attended transfer
we experience a hangup when we turn the "smart" transfer, into a "blind" one.
meaning, after a call is made between A and B, and A wants the transfer B to C,
he press the right digits to play the DTMF's for "atxfer", get the ring tone after the "transfer" playback, dial to extension C and press the pound key.
when it starts to ring - the call between A and C (B is on hold) - A hangs up to turn the "smart" transfer into "blind". the moment A hangs up, the call is terminated for all sides.

the only error i found in the full log is -
"file.c: Failed to write frame"

****** ADDITIONAL INFORMATION ******

full logs:

_Failed transfer_

[Oct 28 13:25:48] VERBOSE[22852] logger.c:     -- Called g0/0732209009

[Oct 28 13:25:49] VERBOSE[22852] logger.c:     -- DAHDI/5-1 is proceeding passing it to SIP/907-b595bd38

[Oct 28 13:25:51] VERBOSE[22852] logger.c:     -- DAHDI/5-1 answered SIP/907-b595bd38

[Oct 28 13:25:59] VERBOSE[22852] logger.c:     -- Started music on hold, class 'default', on DAHDI/5-1

[Oct 28 13:25:59] VERBOSE[22852] logger.c:     -- <SIP/907-b595bd38> Playing 'pbx-transfer' (language 'en')

[Oct 28 13:26:02] VERBOSE[22852] logger.c:     -- Local/908@from-internal-xfer-3da2,1 is ringing

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Stopped music on hold on DAHDI/5-1

[Oct 28 13:26:03] WARNING[22852] file.c: Failed to write frame

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- <SIP/907-b595bd38> Playing 'beeperr' (language 'en')

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Executing [h@macro-dialout-trunk:1] Macro("SIP/907-b595bd38", "hangupcall|") in new stack

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/907-b595bd38", "1?skiprg") in new stack

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Goto (macro-hangupcall,s,4)

[Oct 28 13:26:03] DEBUG[22852] app_macro.c: Executed application: GotoIf

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Executing [s@macro-hangupcall:4] GotoIf("SIP/907-b595bd38", "1?skipblkvm") in new stack

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Goto (macro-hangupcall,s,7)

[Oct 28 13:26:03] DEBUG[22852] app_macro.c: Executed application: GotoIf

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Executing [s@macro-hangupcall:7] GotoIf("SIP/907-b595bd38", "1?theend") in new stack

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Goto (macro-hangupcall,s,9)

[Oct 28 13:26:03] DEBUG[22852] app_macro.c: Executed application: GotoIf

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Executing [s@macro-hangupcall:9] Hangup("SIP/907-b595bd38", "") in new stack

[Oct 28 13:26:03] VERBOSE[22852] logger.c:   == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/907-b595bd38' in macro 'hangupcall'

[Oct 28 13:26:03] VERBOSE[22852] logger.c:   == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/907-b595bd38'

[Oct 28 13:26:03] DEBUG[22852] chan_dahdi.c: Set option AUDIO MODE, value: ON(1) on DAHDI/5-1

[Oct 28 13:26:03] DEBUG[22852] chan_dahdi.c: Not yet hungup...  Calling hangup once with icause, and clearing call

[Oct 28 13:26:03] DEBUG[22852] chan_dahdi.c: Set option AUDIO MODE, value: OFF(0) on DAHDI/5-1

[Oct 28 13:26:03] VERBOSE[22852] logger.c:     -- Hungup 'DAHDI/5-1'

[Oct 28 13:26:03] VERBOSE[22852] logger.c:   == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/907-b595bd38' in macro 'dialout-trunk'

[Oct 28 13:26:03] VERBOSE[22852] logger.c:   == Spawn extension (from-internal, 0732209009, 4) exited non-zero on 'SIP/907-b595bd38'



_Success transfer_

[Oct 28 13:22:06] VERBOSE[17988] logger.c:     -- Called g0/0732209009

[Oct 28 13:22:06] VERBOSE[17988] logger.c:     -- DAHDI/1-1 is proceeding passing it to SIP/907-b5944c08

[Oct 28 13:22:08] VERBOSE[17988] logger.c:     -- DAHDI/1-1 answered SIP/907-b5944c08

[Oct 28 13:22:15] VERBOSE[17988] logger.c:     -- Started music on hold, class 'default', on DAHDI/1-1

[Oct 28 13:22:15] VERBOSE[17988] logger.c:     -- <SIP/907-b5944c08> Playing 'pbx-transfer' (language 'en')

[Oct 28 13:22:18] VERBOSE[17988] logger.c:     -- Local/908@from-internal-xfer-8dcf,1 is ringing

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- Stopped music on hold on DAHDI/1-1

[Oct 28 13:22:19] DEBUG[17988] chan_dahdi.c: New owner for channel 1 is DAHDI/1-1

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- <Local/908@from-internal-xfer-8dcf,1> Playing 'beep' (language 'en')

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- Executing [h@macro-dialout-trunk:1] Macro("SIP/907-b5944c08", "hangupcall|") in new stack

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/907-b5944c08", "1?skiprg") in new stack

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- Goto (macro-hangupcall,s,4)

[Oct 28 13:22:19] DEBUG[17988] app_macro.c: Executed application: GotoIf

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- Executing [s@macro-hangupcall:4] GotoIf("SIP/907-b5944c08", "1?skipblkvm") in new stack

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- Goto (macro-hangupcall,s,7)

[Oct 28 13:22:19] DEBUG[17988] app_macro.c: Executed application: GotoIf

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- Executing [s@macro-hangupcall:7] GotoIf("SIP/907-b5944c08", "1?theend") in new stack

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- Goto (macro-hangupcall,s,9)

[Oct 28 13:22:19] DEBUG[17988] app_macro.c: Executed application: GotoIf

[Oct 28 13:22:19] VERBOSE[17988] logger.c:     -- Executing [s@macro-hangupcall:9] Hangup("SIP/907-b5944c08", "") in new stack

[Oct 28 13:22:19] VERBOSE[17988] logger.c:   == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/907-b5944c08' in macro 'hangupcall'

[Oct 28 13:22:19] VERBOSE[17988] logger.c:   == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/907-b5944c08'

[Oct 28 13:22:19] VERBOSE[17988] logger.c:   == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/907-b5944c08' in macro 'dialout-trunk'

[Oct 28 13:22:19] VERBOSE[17988] logger.c:   == Spawn extension (from-internal, 0732209009, 4) exited non-zero on 'SIP/907-b5944c08'
Comments:By: Leif Madsen (lmadsen) 2009-11-03 08:40:09.000-0600

I don't quite understand what you're doing here? Are you saying you're using the attended transfer as a blind transfer?

So A answers a call from B
A hits the DTMF associated with the attended transfer, and then dials C
While C is ringing, A hangs up, and then the call from B and the call to C are dropped?

By: Avinoam (avinoash) 2009-11-04 03:42:20.000-0600

yup.
if you use attended transfer but you hangup before the third party answers you, the call will be transfered blindly.

but for some reason on one - only one - of our servers, the call drops as aslmadsen described.

By: Leif Madsen (lmadsen) 2009-11-04 09:24:32.000-0600

This is typically called a "blonde transfer" as you shouldn't be using attended transfers as blind transfers; that's what blind transfers are for.

What does your dialplan look like so this can be reproduced? On the Local channel, do you have a /n at the end?

By: Leif Madsen (lmadsen) 2009-12-21 09:44:01.000-0600

Closed due to lack of response from reporter. Please reopen if you're able to provide additional information. Thanks!