[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
Mon Nov 24 15:32:24 CST 2008
A NOTE has been added to this issue.
======================================================================
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: feedback
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-24 15:32 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
======================================================================
----------------------------------------------------------------------
(0095422) Corydon76 (administrator) - 2008-11-24 15:32
http://bugs.digium.com/view.php?id=13945#c95422
----------------------------------------------------------------------
It is intentionally coded that way and it's not likely to be something that
we're going to change in 1.4. Increasing the substitution buffer may cause
stack issues. This will, however, be fixed as of the 1.6.2 release.
Issue History
Date Modified Username Field Change
======================================================================
2008-11-24 15:32 Corydon76 Note Added: 0095422
======================================================================
More information about the asterisk-bugs
mailing list