<div style="font-family:Arial;font-size:14px"><div style="font-family: Arial; font-size: 14px;">Thx, that did the trick!<br /></div>
<p>On Sat, 12 Dec 2009 17:34:19 +0100, Philipp Kempgen <philipp.kempgen@amooma.de> wrote:</p>
<blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;">
<p>Magnus Benngård schrieb:<br /><br />> I am trying to figure out how DEVICE_STATE is working, no luck so far.<br />> <br />> sip.conf<br />> [0317998975]<br /><br />Set<br />call-limit=10<br />(or any other value > 0)<br /><br />> extensions.conf<br />> exten => 0317998975,hint,SIP/0317998975<br />> exten => 0317998975,1,NoOp(0317998975@inputinterior.se has state<br />> ${DEVICE_STATE(SIP/0317998975)})<br />> exten => 0317998975,2,Dial(SIP/0317998975)<br />> <br />> It doesn't matter if I have a call on 0317998975 or not. i always get:<br />> -- Executing [0317998975@inputinterior.se:1]<br />> NoOp("SIP/0317998985-00000011", "0317998975@inputinterior.se has state<br />> NOT_INUSE") in new stack<br />> <br />> So I figure out that I have missed something but cant figure out what. :(<br />> Any ideeas?<br /><br />sip.conf:<br /><br />[general]<br />allowsubscribe = yes<br />notifyringing = yes<br />notifyhold = yes<br />limitonpeers = yes<br /><br /><br /> Philipp Kempgen<br />-- <br />AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de<br />Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998<br />Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de<br />Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de<br />-- <br /><br />_______________________________________________<br />-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br /><br />asterisk-users mailing list<br />To UNSUBSCRIBE or update options visit:<br /> http://lists.digium.com/mailman/listinfo/asterisk-users</p>
<p> </p>
</blockquote>
<p> </p></div>