[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:14:55 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:14 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
======================================================================
----------------------------------------------------------------------
(0095417) mdu113 (reporter) - 2008-11-24 15:14
http://bugs.digium.com/view.php?id=13945#c95417
----------------------------------------------------------------------
You're right it seems to be string length related. With shorter names
(SIP/x1&SIP/x2...) I can watch about 9-10 devices. It looks like the string
is limited to about 80 chars. I hope it's not intended to be like that.
Issue History
Date Modified Username Field Change
======================================================================
2008-11-24 15:14 mdu113 Note Added: 0095417
======================================================================
More information about the asterisk-bugs
mailing list