DND settings not making it to astmanager
-
DND settings aren't making it to astmanager.
Watching asterisk manager for the events, logged into fop2 via the web interface, and have the daemon running in debug foreground to see what I get.
I login as an extension number, and get the usual flash display. I can change the drop-down to DND, and in the fop2 daemon I see the error:Use of uninitialized value in pattern match (m//) at script/fop2_server.pl line 9302. Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 9360.Logged, and no events make it to the asterisk manager API.
Connection to AMI from fop2 works fine, I can see the active session.
Snippets of the config as follows:[general] ; AMI definitions manager_host=localhost manager_port=5038 manager_user=admin manager_secret=blahblahuser=3228:1234:all [EXTENSION/3228] type=extension label=3228-ACCTS-REP context=from-internalCan anyone spot what the perl/patten match error in fop2_server.pl is please? Nic could you advise what those lines are in the raw uncompiled code that would help where we've gone wrong here please?
Regards,
Andy -
Sorry, I have found the problem!
I didn't have a valid extension=3228 line in the [EXTENSION/3228] section. Therefore it didn't have a full list of buttons along the top, and since it was classed as 'not a valid extension' it wasn't writing values to the asterisk database.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login