[asterisk-bugs] [Asterisk 0018672]: MOH on park stops and restarts - causes CDR error as well

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 7 11:09:09 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18672 
====================================================================== 
Reported By:                Raffles
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18672
Category:                   Features/Parking
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.16.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-25 03:45 CST
Last Modified:              2011-02-07 11:09 CST
====================================================================== 
Summary:                    MOH on park stops and restarts - causes CDR error as
well
Description: 
On call park - the MOH is stopped only to start again/  This, also, seems
to cause a CDR problem (see below).

    -- Executing [7000 at chambers:1] Park("SIP/2000-00000008", "") in new
stack
  == Parked SIP/2000-00000008 on 7001 (lot default). Will timeout back to
extension [chambers] s, 1 in 60 seconds
    -- Added extension '7001' priority 1 to parkedcalls (0xb6fd1160)
    -- <SIP/2000-00000008> Playing 'digits/7.gsm' (language 'en')
    -- <SIP/2000-00000008> Playing 'digits/0.gsm' (language 'en')
    -- <SIP/2000-00000008> Playing 'digits/0.gsm' (language 'en')
    -- <SIP/2000-00000008> Playing 'digits/1.gsm' (language 'en')
  == Spawn extension (chambers, s, 1) exited non-zero on
'Parked/SIP/2000-00000008<ZOMBIE>'
    -- Stopped music on hold on DAHDI/1-1
    -- Started music on hold, class 'dv-ip', on DAHDI/1-1
[Jan 21 13:39:17] ERROR[22913]: cdr_addon_mysql.c:313 mysql_log: Failed to
insert into database: (1062) Duplicate entry 'DV-IP-1295617064.8' for key
1
  == Spawn extension (park-dial, SIP02000, 1) exited non-zero on
'SIP/2000-00000008<ZOMBIE>'

BTW 'DV-IP-1295617064.8' is the CDR entry for when the call first came in
to the queue.  So, it looks like it's trying to use the same unique ID
again.
====================================================================== 

---------------------------------------------------------------------- 
 (0131570) Raffles (reporter) - 2011-02-07 11:09
 https://issues.asterisk.org/view.php?id=18672#c131570 
---------------------------------------------------------------------- 
Sorry for late reply - had to rebuild a server ;)

Anyway, I've created a copy of this PBX on another machine and the problem
follows it.

Scenario (this time):

x802 calls x801.  x801 answers with no problem.  x801 transfers x802 to
700 (park code).  x801 hears '701' (first park slot).  x802 hears MOH. 
x801 hangs up.  x802 still hears MOH BUT now hears a different piece of
music (I have 6 files all together).

This is because the MOH stopped and started again.  Call comes back to
x801 after 30 seconds and call proceeds (between x802 and x801).

This is SIP to SIP btw.

    -- Called 801
    -- SIP/801-00000003 is ringing
    -- SIP/801-00000003 answered SIP/802-00000002
    -- fixed jitterbuffer created on channel SIP/802-00000002
    -- fixed jitterbuffer created on channel SIP/801-00000003
    -- Started music on hold, class 'dv-ip', on SIP/802-00000002
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [700 at dv-ip:1] Park("SIP/801-00000004", "") in new stack
  == Parked SIP/801-00000004 on 701 (lot default). Will timeout back to
extension [dv-ip] s, 1 in 30 seconds
    -- Added extension '701' priority 1 to parkedcalls (0x8866ea0)
    -- <SIP/801-00000004> Playing 'digits/7.gsm' (language 'en')
    -- <SIP/801-00000004> Playing 'digits/0.gsm' (language 'en')
    -- <SIP/801-00000004> Playing 'digits/1.gsm' (language 'en')
  == Spawn extension (dv-ip, s, 1) exited non-zero on
'Parked/SIP/801-00000004<ZOMBIE>'
    -- Stopped music on hold on SIP/802-00000002
    -- Started music on hold, class 'dv-ip', on SIP/802-00000002

[x801 hung up here]
    -- fixed jitterbuffer destroyed on channel SIP/801-00000003
    -- fixed jitterbuffer destroyed on channel SIP/801-00000004<ZOMBIE>
    -- Stopped music on hold on SIP/802-00000002
    -- Registered extension context 'park-dial' (0xb5c02538) in table
0x885fd78; registrar: features
    -- Added extension 'SIP0801' priority 1 to park-dial (0xb5c02538)
  == Timeout for SIP/802-00000002 parked on 701 (default). Returning to
park-dial,SIP0801,1
    -- Executing [SIP0801 at park-dial:1] Dial("SIP/802-00000002",
"SIP/801,30,Wtw") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called 801
    -- SIP/801-00000005 is ringing
    -- SIP/801-00000005 answered SIP/802-00000002
    -- fixed jitterbuffer created on channel SIP/801-00000005
    -- fixed jitterbuffer destroyed on channel SIP/801-00000005
  == Spawn extension (park-dial, SIP0801, 1) exited non-zero on
'SIP/802-00000002'

Would you like full debug thingy for this?  If so, can you please post the
instructions again?  

Thanks 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-07 11:09 Raffles        Note Added: 0131570                          
======================================================================




More information about the asterisk-bugs mailing list