<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dynamic AgentLogin causes fop2 to crash]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">first of all thank your for the great job on fop2. It's very cool and working well.</p>
<p dir="auto">One problem we found is when an dynamic agent wants to login or logoff to queues.</p>
<p dir="auto">Error: Can't call method "setMemberName" on an undefined value at script/fop2_server.pl line 2281<br />
appears if the agent wants to login.<br />
Error: Can't call method "setMemberName" on an undefined value at script/fop2_server.pl line 2255<br />
appears if the agent wants to logoff.<br />
And so FOP2 crashes.</p>
<p dir="auto">The agents and queues are coming out of a mysql database.</p>
<p dir="auto">Do you need any further information?</p>
<p dir="auto">Cheers ,<br />
Marc</p>
]]></description><link>http://localhost:4567/topic/6/dynamic-agentlogin-causes-fop2-to-crash</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 05:28:40 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/6.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Jun 2009 11:28:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dynamic AgentLogin causes fop2 to crash on Mon, 29 Jun 2009 22:13:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">When using dynamic queue members using Local channels, the button configuration should match the extension and context that is used in the Local channel name. For example, if you add a member like:</p>
<p dir="auto">Local/1234@agents/n</p>
<p dir="auto">The button file has to have a button with <strong>extension=1234</strong> and <strong>context=agents</strong>. That way fop2 will be able to rename the button to the memberinterface name set on your dialplan (if you use the member interface parameter).</p>
<p dir="auto">Anyways, the crash was indeed a bug, because that misconfiguration should not crash the server. The problem is now fixed for the centos 5 32 bit package.</p>
<p dir="auto">I have yet to streamline the daemon production using virtualization in order to compile versions for every platform at the same time.</p>
<p dir="auto">Thanks for your report!</p>
<p dir="auto">--<br />
Nicolás</p>
]]></description><link>http://localhost:4567/post/39</link><guid isPermaLink="true">http://localhost:4567/post/39</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 29 Jun 2009 22:13:12 GMT</pubDate></item><item><title><![CDATA[Reply to Dynamic AgentLogin causes fop2 to crash on Mon, 29 Jun 2009 12:09:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello Marc,</p>
<blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">first of all thank your for the great job on fop2. It's very cool and working well.</p>
<p dir="auto">One problem we found is when an dynamic agent wants to login or logoff to queues.</p>
<p dir="auto">Error: Can't call method "setMemberName" on an undefined value at script/fop2_server.pl line 2281<br />
appears if the agent wants to login.<br />
Error: Can't call method "setMemberName" on an undefined value at script/fop2_server.pl line 2255<br />
appears if the agent wants to logoff.<br />
And so FOP2 crashes.</p>
<p dir="auto">The agents and queues are coming out of a mysql database.</p>
<p dir="auto">Do you need any further information?</p>
</blockquote>
<p dir="auto">What tarball did you download? What I will need is to have the debug output from fop2_server when you try to add or remove members. You will have to start it like:</p>
<p dir="auto">/usr/local/fop2/fop2_server -X 15</p>
<p dir="auto">And then try to add or remove the members. To capture the output I use "script", so you can do:</p>
<p dir="auto">cd /usr/local/fop2<br />
script output.log<br />
./fop2_server -X 15</p>
<p dir="auto">After capturing please send me the log directly so I can trace the problem.</p>
<p dir="auto">Best regards,</p>
<p dir="auto">--<br />
Nicolás</p>
]]></description><link>http://localhost:4567/post/38</link><guid isPermaLink="true">http://localhost:4567/post/38</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 29 Jun 2009 12:09:36 GMT</pubDate></item></channel></rss>