<font size="2">Hi all!<br><br></font>I have Asterisk 1.2.14 (bristuff0.3.0preR8x) installed and i have 2 sip accounts (A and B) registered at a sip-provider&nbsp; <br><br>I want my leds (functionkey 1) on the snom 190 to be lighted when a call comes in on account A and my 
<br>functionkey 2 on account B. <br><br>Is there a way to do this with making a hint extension for the SIP account A and B?<br>I tried it this way (without success):<br><br>sip.conf:<br>[11]<br>...<br>subscribecontext=Snom11
<br><br>extensions.conf:<br>[Snom11]<br>


exten =&gt; 141,hint,DS/141<br><br>[from_Account_A]<br>exten =&gt; ${ACCOUNT_A},1,Devstate(141,2)<br>exten =&gt; ${ACCOUNT_A},2,Dial(SIP/21)<br>...<br>exten =&gt; h,1,Devstate(141,0)<br>exten =&gt; h,2,Hangup<br>on the Snom 190: Functionkey 1 - destination - 
141@asterisk-server<br><br>in asteriskdb: database put DEVSTATES 141 0<br>&nbsp;&nbsp;&nbsp;  <br>The database value changes on an incoming call, but i get no leds lighted. <br><br>Sip log: <br><br>SIP/2.0 401 Unauthorized<br>Via: SIP/2.0/UDP
<br><a href="http://192.168.100.231:2060/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.100.231:2060</a>;branch=z9hG4bK-kwu8eayxe3qg<div style="direction: ltr;">;received=<a href="http://192.168.100.231/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


192.168.100.231</a>;rport=2060<br>From: &lt;<a href="mailto:sip:31@naar.hauer-wien.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip:11@asterisk-server</a>&gt;;tag=ho8i2el01x<br>To: &lt;<a href="mailto:sip:**67@hauer-wien.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


sip:141@asterisk-server</a>;user=phone&gt;;tag=as70240b9f<br>Call-ID: 3c26700bea60-yfh9fhrbons0@snom190<br>CSeq: 29 SUBSCRIBE<br>User-Agent: Buero Hauer PBX<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
<br>WWW-Authenticate: Digest algorithm=MD5, realm=&quot;<a href="http://naar.hauer-wien.at/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-server</a>&quot;,<br>nonce=&quot;094bd9b6&quot;
<br>
Content-Length: 0</div><br>I know that this is not the best solution, because when i got 2 calls from one Sip-account my leds would light<br>not as they should. But, is there another way to do this?<br><br><br>christian gansberger
<br><br>-- <br>... Do you know what this is? Neither do I, I made it last night in my sleep, but I put a button on it ... (Goon)