Function not Registered??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

 

I am running the same Asterisk 1.4.21.2 with the same configuration on all the servers in the region.

I got this function called func_devstate which I use to control the lights of the Polycom phones.

This module works well for all the Asterisk servers except this one.

 

To get it to work, I basically compile this module together with the others and there is no need to explicitly load it in modules.conf.

The problem is when my script uses function DEVSTATE, the Asterisk console shows that it is not registered.

 

However, when I did a module show, it was there.

 

I did restart Asterisk or include it in module.conf but it did not resolve the problem.

 

Do you have any clues why this is happening?

Thanks in advance.

 

-- Executing [*1223*1**1900@incoming:78] Set("SIP/1900-08ee1da8", "DEVSTATE(Custom:cfalw1900)=INUSE") in new stack
[May 25 11:59:46] ERROR[8913]: pbx.c:1564 ast_func_write: Function DEVSTATE not registered

 

/usr/lib/asterisk/modules/func_devstate.so
/usr/src/asterisk-1.4.21.2/funcs/.func_devstate.makeopts
/usr/src/asterisk-1.4.21.2/funcs/.func_devstate.moduleinfo
/usr/src/asterisk-1.4.21.2/funcs/.func_devstate.o.d
/usr/src/asterisk-1.4.21.2/funcs/func_devstate.c
/usr/src/asterisk-1.4.21.2/funcs/func_devstate.o
/usr/src/asterisk-1.4.21.2/funcs/func_devstate.so

 

*CLI> module show like func_devstate.so

Module Description Use Count
func_devstate.so Gets or sets a device state in the dialp 0
1 modules loaded

 

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [DCCP]     [Gimp]     [100% Free Online Dating]     [Yosemite News]     [Arts & Crafts]     [Yosemite Photos]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]


Add to Google Powered by Linux