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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 18 21:40:18 CDT 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-18 21:40 CDT
====================================================================== 
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 _...
====================================================================== 

---------------------------------------------------------------------- 
 (0119593) qualleyiv (reporter) - 2010-03-18 21:40
 https://issues.asterisk.org/view.php?id=16929#c119593 
---------------------------------------------------------------------- 
I applied this patch to 1.6.2.5 and it worked. Upgraded to 1.6.2.6 and
although the call doesn't disconnect, it now plays the wrong sound file.
After Followme calls and plays the caller's name, it SHOULD say "Press 1 to
accept..." instead it says "I'm sorry, the party you are calling could not
be located..." 

I wasn't sure if this should be a separate issue, but I kind of thought
that this was probably pretty closely related so I posted it here. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-18 21:40 qualleyiv      Note Added: 0119593                          
======================================================================




More information about the asterisk-bugs mailing list