[asterisk-bugs] [Asterisk 0016929]: Patch to fix 15609 broke followme

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 1 10:22:26 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16929 
====================================================================== 
Reported By:                ianc
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16929
Category:                   Channels/chan_local
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.16 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-28 17:42 CST
Last Modified:              2010-03-01 10:22 CST
====================================================================== 
Summary:                    Patch to fix 15609 broke followme
Description: 
Upgrading to current 1.6 versions broke followme for me. As soon as I pick
up the phone the channel is dropped. When I revert the patch for issue
15609 implemented in 1.6.1.13 it works as expected ("You have an incoming
call, press 1...")

1.6.1.12

    -- SIP/worldline_outgoing-00000001 is making progress passing it to
Local/17775551212 at follow-2e4c;2
    -- Local/17775551212 at follow-2e4c;1 is making progress passing it to
SIP/worldline1-00000000
    -- SIP/worldline_outgoing-00000001 answered
Local/17775551212 at follow-2e4c;2
    -- Local/17775551212 at follow-2e4c;1 answered SIP/worldline1-00000000
    -- Starting playback of followme/call-from

1.6.1.13

    -- SIP/worldline_outgoing-00000001 is making progress passing it to
Local/17775551212 at follow-d1ba;2
    -- SIP/worldline_outgoing-00000001 answered
Local/17775551212 at follow-d1ba;2
  == Spawn extension (follow, 17775551212, 1) exited non-zero on
'Local/17775551212 at follow-d1ba;2'


followme.conf:

[100]
context=>follow
musicclass=>ringtone
number=>17775551212&200,30


extensions.conf:

[general]
static=yes
writeprotect=yes
clearglobalvars=no
autofallthrough=no

[bogus]
exten => _X.,1,Congestion

[lookupdundi]
switch => DUNDi/priv

[dundiextens]
exten => 100,1,NoOp ; Add more as required...
exten => *97,1,NoOp

[incomingdundi]
exten => 100,1,Goto(internal,100,1)
exten => *97,1,Goto(internal,*97,1)
include => world

[world]
exten => _1XXXXXXXXXX,1,Set(CALLERID(all)=Ian <7775558888>)
exten => _1XXXXXXXXXX,n,Dial(SIP/worldline_outgoing/${EXTEN})
exten => _1XXXXXXXXXX,n,Hangup
exten => _XXXXXXXXXX,1,Set(CALLERID(all)=Ian <7775558888>)
exten => _XXXXXXXXXX,n,Dial(SIP/worldline_outgoing/1${EXTEN})
exten => _XXXXXXXXXX,n,Hangup

[follow]
include => lookupdundi
include => followworld

[followworld]
exten => _1XXXXXXXXXX,1,Dial(SIP/worldline_outgoing/${EXTEN})
exten => _1XXXXXXXXXX,n,Hangup
exten => _XXXXXXXXXX,1,Dial(SIP/worldline_outgoing/1${EXTEN})
exten => _XXXXXXXXXX,n,Hangup

[internal]
include => lookupdundi
include => world

exten => 99,1,Answer
exten => 99,n,Playtones(ring)
exten => 99,n,Followme(100,d)
exten => 99,n,VoiceMail(200,su)
exten => 99,n,Hangup()

exten => *97,1,Answer
exten => *97,n,VoiceMailMain(200 at default)
exten => *97,n,Hangup
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0016923 RTP traffic only seen in one direction ...
related to          0015609 [patch] WARNING[23025]: channel.c:952 _...
====================================================================== 

---------------------------------------------------------------------- 
 (0118688) ianc (reporter) - 2010-03-01 10:22
 https://issues.asterisk.org/view.php?id=16929#c118688 
---------------------------------------------------------------------- 
I want to be clear that this is not a fix... the original patch was put in
there for a reason, it's just not quite right.

Diff channels/chan_local.c between 1.6.1.12 and 1.6.1.13, there's only one
change. All I did was undo that. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-01 10:22 ianc           Note Added: 0118688                          
======================================================================




More information about the asterisk-bugs mailing list