is subscribe context an addiotional switch/field ? <br>or its the peer context ?<br><br><div><span class="gmail_quote">On 8/9/07, <b class="gmail_sendername">Mike</b> <<a href="mailto:list@virtutel.ca">list@virtutel.ca
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I feared so, but I have already started working on this. Thanks for the
<br>confirmation.<br><br>Too bad, the rest of my design was relatively elegant (IMO) and easily to<br>modify.<br><br><br><br>Mike<br><br><br><br><br><br>-----Original Message-----<br>From: <a href="mailto:asterisk-users-bounces@lists.digium.com">
asterisk-users-bounces@lists.digium.com</a><br>[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Anthony<br>Francis<br>Sent: Thursday, August 09, 2007 12:15
<br>To: Asterisk Users Mailing List - Non-Commercial Discussion<br>Subject: Re: [asterisk-users] The quest for making "hint" more flexible<br>continues - using Realtime now<br><br>Mike wrote:<br>> Ok, now that I've learned I cannot use any variables when using the
<br>> `hint` priority (for BLF), I figured I'd try to use the next best<br>> thing: hardcoded values using realtime. This way I avoid variables<br>> such as ${ACCOUNTCODE} but I can at least change the DB more easily
<br>> than text files. This is the appropriate line in the DB:<br>><br>><br>> +------+--------------+-------+----------+--------------------+---------+<br>> | id | context | exten | priority | app | appdata |
<br>> +------+--------------+-------+----------+--------------------+---------+<br>> | 2000 | hint-context | 705 | hint | SIP/test-1 | |<br>> +------+--------------+-------+----------+--------------------+---------+
<br>><br>><br>> This is what I put in mt hint-context in extensions.conf:<br>> [hint-context]<br>> switch => Realtime/hint-context@extensions<br>> <mailto:<a href="mailto:Realtime/hint-context@extensions">
Realtime/hint-context@extensions</a>><br>><br>> And this is what I get from the CLI:<br>> Aug 9 11:34:14 NOTICE[19894]: chan_sip.c:11187<br>> handle_request_subscribe: Got SUBSCRIBE for extension 705@hint-context
<br>> <mailto:<a href="mailto:705@hint-context">705@hint-context</a>> from xx.xxx.xx.xx, but there is no hint for<br>> that extension<br>><br>> Well....there is! Is there any way I can do this?<br>><br>
> Mike<br>> ----------------------------------------------------------------------<br>> --<br>><br>> _______________________________________________<br>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">
http://www.api-digital.com--</a><br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>I personally opened a bug in the bugtracker about this and it was closed as<br>wont fix. You simply cannot use the hint priority in realtime with out a<br>major change to the API. So until the code is changed, you are going to have
<br>to have a separate hint context with nothing but hint priority extensions<br>and set the subscribe context in sip.conf for all concerned devices to that<br>context.<br>This is how I am running in production now.<br><br>
Anthony<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by
<a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Mike<br>Sales Manager<br><a href="http://www.voicemeup.com">http://www.voicemeup.com</a><br>Making it happen
<br>1.877.807.VOIP (8647)<br>1.514.312.7030