<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">In other words : is it
correct to say that hints need to be unique, even if they are defined
in different contexts ?<br>
<br>
<br>
<br>
</font><br>
On 05/20/2011 12:07 PM, Jonas Kellens wrote:
<blockquote cite="mid:4DD63D73.9000208@telenet.be" type="cite">
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<font face="Helvetica, Arial, sans-serif">Hello list,<br>
<br>
I want certain devices to monitor certain extensions/SIPaccounts and
other devices to monitor other extensions/SIPaccounts.<br>
<br>
Therefore I do the following :<br>
<br>
[from-TEST1]<br>
<br>
include => test1-blf<br>
<br>
</font><font face="Helvetica, Arial, sans-serif">[from-TEST2]<br>
<br>
include => test2-blf<br>
<br>
[test1-blf]<br>
exten => 10,hint,SIP/testcorp1<br>
exten => 20,hint,SIP/testcorp2<br>
<br>
[test2-blf]<br>
exten => 10,hint,SIP/testcorp110<br>
exten => 20,hint,SIP/testcorp120<br>
<br>
<br>
SIPaccounts with a context definition of "from-TEST1" can not monitor
the extensions of test2-blf.<br>
SIPaccounts with a context definition of "from-TEST2" can not monitor
the extensions of test1-blf.<br>
<br>
<br>
This works great. But now I have a problem with custom hints.<br>
<br>
When I do the following :<br>
<br>
</font><font face="Helvetica, Arial, sans-serif">[test1-blf]<br>
exten => 10,hint,SIP/testcorp1<br>
exten => 20,hint,SIP/testcorp2<br>
</font><font face="Helvetica, Arial, sans-serif">exten =>
80,hint,custom:light1<br>
<br>
I see that SIPaccounts which enter the dialplan in context [from-TEST2]
also see the state (Green/Red) of hints defined in test1-blf.<br>
<br>
So how can I make a difference between custom hints in one context and
custom hints in another context ??<br>
<br>
Is there something like : Set(DEVSTATE(<b>Custom:light1@test1-blf</b>)=INUSE)</font><font
face="Helvetica, Arial, sans-serif"><b> </b> ??<br>
</font><font face="Helvetica, Arial, sans-serif"><br>
Or can there be only one custom:light1 label ??<br>
<br>
<br>
<br>
Kind regards,<br>
Jonas.<br>
</font>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
</body>
</html>