[asterisk-users] DEVICE_STATE - Solved
Magnus Benngård
magnus.b at inputinterior.se
Sun Dec 13 02:28:57 CST 2009
Thx, that did the trick!
On Sat, 12 Dec 2009 17:34:19 +0100, Philipp Kempgen wrote:
Magnus Benngård schrieb:
> I am trying to figure out how DEVICE_STATE is working, no luck so far.
>
> sip.conf
> [0317998975]
Set
call-limit=10
(or any other value > 0)
> extensions.conf
> exten => 0317998975,hint,SIP/0317998975
> exten => 0317998975,1,NoOp(0317998975 at inputinterior.se has state
> ${DEVICE_STATE(SIP/0317998975)})
> exten => 0317998975,2,Dial(SIP/0317998975)
>
> It doesn't matter if I have a call on 0317998975 or not. i always get:
> -- Executing [0317998975 at inputinterior.se:1]
> NoOp("SIP/0317998985-00000011", "0317998975 at inputinterior.se has state
> NOT_INUSE") in new stack
>
> So I figure out that I have missed something but cant figure out what.
:(
> Any ideeas?
sip.conf:
[general]
allowsubscribe = yes
notifyringing = yes
notifyhold = yes
limitonpeers = yes
Philipp Kempgen
--
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer:
Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de
--
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091213/3934e12b/attachment.htm
More information about the asterisk-users
mailing list