[asterisk-bugs] [Asterisk 0013312]: crash when subscribe to pattern match for a hint

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Aug 16 03:57:39 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13312 
====================================================================== 
Reported By:                pj
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   13312
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 136787 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-08-15 13:13 CDT
Last Modified:              2008-08-16 03:57 CDT
====================================================================== 
Summary:                    crash when subscribe to pattern match for a hint
Description: 
I'm using this ael syntax for pattern match for hint
        hint(SIP/${EXTEN}) _ZXX => NoOP;
when I tried to subscribe, it causes asterisk to crash.

subscribe to "normal" match hints using this ...
        hint(SIP/761) 761 => NoOP;
... works fine.

pattern match for hints feature was added into trunk in rev. 109970




====================================================================== 

---------------------------------------------------------------------- 
 (0091474) pj (reporter) - 2008-08-16 03:57
 http://bugs.digium.com/view.php?id=13312#c91474 
---------------------------------------------------------------------- 
thanks for fix for crash when subscribe to pattern match for a hint.
another issues still exists:

- crash when do 'ael reload', if I have pattern match for hints in
extensions.ael:
hint(SIP/${EXTEN}) _ZXX => NoOP;
gdb2.txt uploaded

- when use pattern match for hints, all subcribed lines have status
'idle', even in case, that peers are not registered.


    -= Registered Asterisk Dial Plan Hints =-
                    628 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  1
                    734 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  1
                    777 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  1
                    772 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  1
                    743 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  2
                    693 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  1
                    455 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  2
                    408 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  1
                    324 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  2
                    322 at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  1
                    958 at linestates          : Meetme:100           
State:Unavailable     Watchers  1
                   _ZXX at linestates          : SIP/${EXTEN}         
State:Idle            Watchers  0
 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-16 03:57 pj             Note Added: 0091474                          
======================================================================




More information about the asterisk-bugs mailing list