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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 5 22:28:12 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:                   Applications/app_followme
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for review
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-05 22:28 CST
====================================================================== 
Summary:                    [patch] 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 _...
====================================================================== 

---------------------------------------------------------------------- 
 (0119046) mutineer612 (reporter) - 2010-03-05 22:28
 https://issues.asterisk.org/view.php?id=16929#c119046 
---------------------------------------------------------------------- 
I experienced the same issue described with Asterisk 1.6.2.4 and applied
the patch.  Followme is now working correctly.   

Steps used to patch 1.6.2.4
1.) Goto the directory that contains the app_followme.c source file >
/asterisk-1.6.2.4/apps 
2.) Run > wget
'https://issues.asterisk.org/file_download.php?file_id=25455&type=bug' -O -
| patch -p0
3.) When prompted for file to patch type > 'app_followme.c'
4.) Re-Run 'make' to recompile the patched 'c' file to the .so file
5.) Copy the patched app_followme.so to > /usr/lib/asterisk/modules/ and
overwrite the original. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-05 22:28 mutineer612    Note Added: 0119046                          
======================================================================




More information about the asterisk-bugs mailing list