[asterisk-bugs] [Asterisk 0013945]: Asterisk can't watch for more than 5 devices on a single hint

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 21 13:26:28 CST 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13945 
====================================================================== 
Reported By:                mdu113
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13945
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 155861 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-21 13:26 CST
Last Modified:              2008-11-21 13:26 CST
====================================================================== 
Summary:                    Asterisk can't watch for more than 5 devices on a
single hint
Description: 
Here's the hint in dialplan:
[xyz]
exten =>
__PRS2_010,hint,SIP/xyz010001&SIP/xyz010002&SIP/xyz210001&SIP/xyz110001&SIP/xyz010101
there're currently 5 devices to watch and everything works fine if i make
a call to SIP/xyz010101 (last one):
    -- Executing [101 at xyz:1] Set("SIP/xyz112201-b7304288",
"TIMEOUT(absolute)=10800") in new stack
    -- Channel will hangup at 2008-11-21 22:17:36 UTC.
    -- Executing [101 at xyz:2] AGI("SIP/xyz112201-b7304288",
"agi://pbxtest") in new stack
    -- AGI Script Executing Application: (SetCallerPres) Options:
(allowed_passed_screen)
    -- AGI Script Executing Application: (Set) Options:
(CALLERID(name)=Michael)
    -- AGI Script Executing Application: (Dial) Options:
(SIP/xyz010101|15|)
    -- Called xyz010101
    -- SIP/xyz010101-081f8b58 is ringing
devel*CLI> show hints
devel*CLI>
    -= Registered Asterisk Dial Plan Hints =-
             __PRS2_010 at xyz                 : SIP/xyz010001&SIP/xy 
State:Ringing         Watchers  0
----------------
- 1 hints registered
    -- SIP/xyz010101-081f8b58 answered SIP/xyz112201-b7304288
devel*CLI> show hints
devel*CLI>
    -= Registered Asterisk Dial Plan Hints =-
             __PRS2_010 at xyz                 : SIP/xyz010001&SIP/xy 
State:InUse           Watchers  0
----------------
- 1 hints registered

Now I'm adding another device to watch in front of SIP/xyz010101 making it
6th device:
[xyz]
exten =>
__PRS2_010,hint,SIP/xyz010001&SIP/xyz010002&SIP/xyz210001&SIP/xyz110001&SIP/xyz011101&SIP/xyz010101
and do 'dialplan reload'. asterisk takes this configurion without a word
of complain, but now the state of SIP/xyz010101 is always Idle:
    -- Executing [101 at xyz:1] Set("SIP/xyz112201-b7304288",
"TIMEOUT(absolute)=10800") in new stack
    -- Channel will hangup at 2008-11-21 22:21:20 UTC.
    -- Executing [101 at xyz:2] AGI("SIP/xyz112201-b7304288",
"agi://pbxtest") in new stack
    -- AGI Script Executing Application: (SetCallerPres) Options:
(allowed_passed_screen)
    -- AGI Script Executing Application: (Set) Options:
(CALLERID(name)=Michael)
    -- AGI Script Executing Application: (Dial) Options:
(SIP/xyz010101|15|)
    -- Called xyz010101
    -- SIP/xyz010101-081f8b58 is ringing
devel*CLI> show hints
devel*CLI>
    -= Registered Asterisk Dial Plan Hints =-
             __PRS2_010 at xyz                 : SIP/xyz010001&SIP/xy 
State:Idle            Watchers  0
----------------
- 1 hints registered
    -- SIP/xyz010101-081f8b58 answered SIP/xyz112201-b7304288
devel*CLI> show hints
devel*CLI>
    -= Registered Asterisk Dial Plan Hints =-
             __PRS2_010 at xyz                 : SIP/xyz010001&SIP/xy 
State:Idle            Watchers  0
----------------
- 1 hints registered

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-21 13:26 mdu113         New Issue                                    
2008-11-21 13:26 mdu113         Asterisk Version          => SVN             
2008-11-21 13:26 mdu113         SVN Branch (only for SVN checkouts, not tarball
releases) =>  1.4            
2008-11-21 13:26 mdu113         SVN Revision (number only!) => 155861          
======================================================================




More information about the asterisk-bugs mailing list