[asterisk-users] DEVICE_STATE
Philipp Kempgen
philipp.kempgen at amooma.de
Sat Dec 12 10:34:19 CST 2009
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
--
More information about the asterisk-users
mailing list