[Asterisk-Users] Caller stuck in MoH after being answered by a phone that was forwarded to.

Chad Osmond chad.osmond at holburn.com
Thu Feb 9 10:08:56 MST 2006


Can anyone shed some light on what happened?
Asterisk 1.2.1 with Zaptel 1.2.1

Here is what I know happened:
A call came into our main number and was answered 
Asterisk set the monitor CALLFILENAME and then started monitor.
The call was directed to a context called "open" where all calls go
during business hours.
The dial plan has a Answer() again, and then played a message (custom/1)

The next dial plan was for a Dial SIP/221&SIP/222 statement to dial our
reception phones.
One of the Receptions phones was forwarded because they were out on
lunch.
Extension 222 was forwarded to 249 who answered the call (Polycom 501)
249 Answered the call and then transferred to another users phone (223).

The phone (223) rang once and then stopped ringing.
The user on Zap/1-1 was stuck in MOH until he hung up.


4:45 [21637] :     -- Accepting call from '416497XXXX' to '1484' on
channel 0/1, span 1
4:45 [23545] :     -- Executing Answer("Zap/1-1", "") in new stack
4:45 [23545] :     -- Executing Set("Zap/1-1",
"CALLFILENAME=i416497XXXX-20060201-143445") in new stack
4:45 [23545] :     -- Executing Monitor("Zap/1-1",
"wav|i416497XXXX-20060201-143445|m") in new stack
4:45 [23545] :     -- Executing Wait("Zap/1-1", "1") in new stack
4:46 [23545] :     -- Executing NoOp("Zap/1-1", "416497XXXX") in new
stack
4:46 [23545] :     -- Executing GotoIfTime("Zap/1-1",
"8:30-16:30|mon-fri|*|*?open|s|1") in new stack
4:46 [23545] :     -- Goto (open,s,1)
4:46 [23545] :     -- Executing Answer("Zap/1-1", "") in new stack
4:46 [23545] :     -- Executing BackGround("Zap/1-1", "custom/1") in new
stack
4:46 [23545] :     -- Playing 'custom/1' (language 'en')
4:53 [23545] :     -- Executing Dial("Zap/1-1", "SIP/221&SIP/222|30|t")
in new stack
4:53 [23545] :     -- Called 221
4:53 [23545] :     -- Called 222
4:53 [21640] :     -- Got SIP response 302 "Moved Temporarily" back from
192.168.129.131
4:53 [23545] :     -- Now forwarding Zap/1-1 to 'Local/249 at from_sip'
(thanks to SIP/222-e1ef)
4:53 [23548] :     -- Executing Dial("Local/249 at from_sip-cf74,2",
"SIP/249|30|t") in new stack
4:53 [23548] :     -- Called 249
4:53 [23545] :     -- SIP/221-fa0f is ringing
4:53 [23548] :     -- SIP/249-579c is ringing
4:53 [23545] :     -- Local/249 at from_sip-cf74,1 is ringing
5:01 [23548] :     -- SIP/249-579c answered Local/249 at from_sip-cf74,2
5:01 [23545] :     -- Local/249 at from_sip-cf74,1 stopped sounds
5:01 [23545] :     -- Local/249 at from_sip-cf74,1 answered Zap/1-1
5:01 [23545] :   == Spawn extension (open, s, 3) exited non-zero on
'Local/249 at from_sip-cf74,2<ZOMBIE>'
5:17 [21640] :     -- Started music on hold, class 'default', on channel
'Zap/1-1'
5:21 [23564] :     -- Executing Dial("SIP/249-a869", "SIP/223|30|t") in
new stack
5:21 [23564] :     -- Called 223
5:22 [23564] :     -- SIP/223-885d is ringing
5:24 [23564] :   == Spawn extension (from_sip, 223, 1) exited non-zero
on 'SIP/249-a869'
8:33 [21637] :     -- Channel 0/1, span 1 got hangup request
8:33 [23548] :     -- Stopped music on hold on Zap/1-1
8:33 [23548] :   == Spawn extension (from_sip, 249, 1) exited non-zero
on 'Zap/1-1'
8:33 [23548] :     -- Hungup 'Zap/1-1'

Chad



More information about the asterisk-users mailing list