<?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[Multi server call pickup and remote extension updates]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I have three Asterisk/Freepbx servers that I'm trying monitor with Fop2</p>
<p dir="auto">I'm not using the automated scrips as there are only 14 users across the whole system but they are spread across the country (Australia)</p>
<p dir="auto">My major issues is that call pickup from a queue for non agents does not work from remote sites<br />
From a debug session it appears that fop2 is trying to pick up the right channel on the wrong server and therefore<br />
failing.  I've updated to the latest beta release since and now transfer to external / cell phone numbers is broken.</p>
<p dir="auto">Also the remote server button status is either slow or fails to update extension status particularly ringing.  Refreshing the browser helps but is not really a solution.</p>
<p dir="auto">Can anyone shed any light on these issues please?</p>
<p dir="auto">sample button config for extension</p>
<p dir="auto">[SIP/207]<br />
type=extension<br />
extension=207<br />
label=Test<br />
mailbox=207@default<br />
context=from-internal<br />
queuecontext=from-internal<br />
extenvoicemail=*207@default<br />
external=042XXXXXXX<br />
group=Sydney<br />
server=0</p>
<p dir="auto">extract from log</p>
<p dir="auto">** MAIN AMI event received...<br />
** MAIN Processing command received from flash clients...</p>
<p dir="auto">192.168.11.81   &lt;= &lt;msg data="20|pickupActive|IAX2/ftel-12961|ce1a1a2f60d28fc4f81ed27601238cc3" /&gt;^M</p>
<p dir="auto">-- PROCESS_FLASH_COMMAND origen 20 accion pickupActive destino IAX2/ftel-12961</p>
<p dir="auto">-- PROCESS_FLASH_COMMAND password ce1a1a2f60d28fc4f81ed27601238cc3</p>
<p dir="auto">VALIDAR USUARIO 305</p>
<p dir="auto">VALIDAR USUARIO 305 OK con clave regular (192.168.11.81)</p>
<p dir="auto">Validation ok, have all permissions</p>
<p dir="auto">It's blessed into class Extension</p>
<p dir="auto">PICKUP origin SIP/305 is defined!!!</p>
<p dir="auto">192.168.11.2    -&gt; Action: Redirect<br />
192.168.11.2    -&gt; Channel: IAX2/ftel-12961<br />
192.168.11.2    -&gt; Exten: 305<br />
192.168.11.2    -&gt; Context: from-internal<br />
192.168.11.2    -&gt; Priority: 1<br />
192.168.11.2    -&gt; Async: True</p>
<p dir="auto">** MAIN AMI event received...<br />
** MAIN Processing command received from flash clients...</p>
<p dir="auto">192.168.11.83   &lt;= &lt;msg data="1|ping||" /&gt;^M</p>
<p dir="auto">-- PROCESS_FLASH_COMMAND origen 1 accion ping destino</p>
<p dir="auto">-- PROCESS_FLASH_COMMAND password</p>
<p dir="auto">Cannot send command to  (unauthenticated or connection failed)</p>
<p dir="auto">192.168.11.83   =&gt; { 'btn': '0', 'cmd': 'pong', 'data': '0', 'slot': '' }</p>
<p dir="auto">** MAIN End of block from 192.168.11.2</p>
<p dir="auto">192.168.11.2    &lt;- Response: Error<br />
192.168.11.2    &lt;- Message: Channel does not exist: IAX2/ftel-12961<br />
192.168.11.2    &lt;- Server: 1</p>
<p dir="auto">** MAIN AMI event received...<br />
** MAIN No 'Event' nor 'End'. Erasing block...</p>
]]></description><link>http://localhost:4567/topic/823/multi-server-call-pickup-and-remote-extension-updates</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 15:01:11 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/823.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Jul 2011 15:50:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Fri, 08 Jul 2011 03:01:49 GMT]]></title><description><![CDATA[<p dir="auto">I will do,</p>
<p dir="auto">At the moment I've gone back to 2.20 and transfer to external numbers works again.</p>
<p dir="auto">I've been trying to pickup calls directly from a queue as the queue status updates much faster than the remote extensions<br />
in fact some never show ringing as the call is answered before the update occurs.</p>
<p dir="auto">Indeed the remote site that really needs the call pickup normally would not have any phones in the queue to ring thus<br />
no ringing phone to pick up.</p>
<p dir="auto">I will change this for the purpose of the test though.</p>
<p dir="auto">Cheers</p>
<p dir="auto">Kevin</p>
]]></description><link>http://localhost:4567/post/3664</link><guid isPermaLink="true">http://localhost:4567/post/3664</guid><dc:creator><![CDATA[kbedford]]></dc:creator><pubDate>Fri, 08 Jul 2011 03:01:49 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Fri, 08 Jul 2011 02:16:28 GMT]]></title><description><![CDATA[<p dir="auto">I have just noticed that you are picking up an active call, not doing a ringing call pickup. From where are you doing the pickup action? Try to use the pickup button in the action toolbar for a ringing call on another server and let me know if that works.</p>
]]></description><link>http://localhost:4567/post/3663</link><guid isPermaLink="true">http://localhost:4567/post/3663</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 08 Jul 2011 02:16:28 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Fri, 08 Jul 2011 01:22:12 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the rapid response,</p>
<p dir="auto">As long as the server numbering starts at 0 I am see sample extract from configs<br />
There is a vpn connection between all three servers thus the local addressing</p>
<p dir="auto">[SIP/207]<br />
type=extension<br />
extension=207<br />
label=Test<br />
mailbox=207@default<br />
context=from-internal<br />
queuecontext=from-internal<br />
extenvoicemail=*207@default<br />
external=0425700227@from-internal<br />
originatechannel=Local/207@from-internal<br />
group=Sydney<br />
server=0</p>
<p dir="auto">;Melbourne Extensions</p>
<p dir="auto">[SIP/300]<br />
type=extension<br />
extension=300<br />
label=Jeff<br />
mailbox=300@default<br />
context=from-internal<br />
queuecontext=from-internal<br />
extenvoicemail=*300@default<br />
external=040333xxxx@from-internal<br />
originatechannel=Local/300@from-internal<br />
group=Melbourne<br />
server=1</p>
<p dir="auto">[SIP/301]<br />
type=extension<br />
extension=301<br />
label=Chris<br />
mailbox=301@default<br />
context=from-internal<br />
queuecontext=from-internal<br />
extenvoicemail=*301@default<br />
external=043150xxxx@from-internal<br />
originatechannel=Local/301@from-internal<br />
group=Melbourne<br />
server=1</p>
<p dir="auto">[general]<br />
; AMI definitions<br />
;Local server Sydney<br />
manager_host=localhost<br />
manager_port=5038<br />
manager_user=admin<br />
manager_secret=amp111<br />
;event_mask=agent,call,command,system,user,dialplan</p>
<p dir="auto">; Melbourne Server<br />
manager_host = 192.168.11.2<br />
manager_port = 5038<br />
manager_user = admin<br />
manager_secret = amp111<br />
;event_mask=agent,call,command,system,user,dialplan</p>
<p dir="auto">; Adelaide Server<br />
manager_host = 192.168.4.2<br />
manager_port = 5038<br />
manager_user = admin<br />
manager_secret = amp111<br />
;event_mask=agent,call,command,system,user,dialplan</p>
]]></description><link>http://localhost:4567/post/3662</link><guid isPermaLink="true">http://localhost:4567/post/3662</guid><dc:creator><![CDATA[kbedford]]></dc:creator><pubDate>Fri, 08 Jul 2011 01:22:12 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Fri, 08 Jul 2011 01:00:55 GMT]]></title><description><![CDATA[<p dir="auto">Are you specifying the correct server in the Button configuración for remote buttons:?</p>
]]></description><link>http://localhost:4567/post/3661</link><guid isPermaLink="true">http://localhost:4567/post/3661</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 08 Jul 2011 01:00:55 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Fri, 08 Jul 2011 00:48:59 GMT]]></title><description><![CDATA[<p dir="auto">Transfer to external fails apparently due to no value as the extension to redirect to</p>
<p dir="auto">192.168.4.100   &lt;= &lt;msg data="22|xferxternal|15|b35a0f663b73caaa4bd1061d80f3d7f5" /&gt;^M</p>
<p dir="auto">-- PROCESS_FLASH_COMMAND origen 22 accion xferxternal destino 15 password b35a0f663b73caaa4bd1061d80f3d7f5</p>
<p dir="auto">VALIDAR USUARIO 800</p>
<p dir="auto">VALIDAR USUARIO 800 OK con clave regular (192.168.4.100)</p>
<p dir="auto">Validation ok, have all permissions for all buttons (0) 15</p>
<p dir="auto">ATXFER a extension destino is (SIP/801-00000334) standard Redirect</p>
<p dir="auto">192.168.4.2     -&gt; Action: Redirect<br />
192.168.4.2     -&gt; Channel: SIP/801-00000334<br />
192.168.4.2     -&gt; Exten:<br />
192.168.4.2     -&gt; Context: from-internal<br />
192.168.4.2     -&gt; Priority: 1<br />
192.168.4.2     -&gt; Async: True</p>
<p dir="auto">** MAIN End of block from 192.168.4.2</p>
<p dir="auto">192.168.4.2     &lt;- Response: Success<br />
192.168.4.2     &lt;- Message: Redirect successful<br />
192.168.4.2     &lt;- Server: 2</p>
<p dir="auto">** MAIN AMI event received...<br />
** MAIN No 'Event' nor 'End'. Erasing block...<br />
** MAIN End of block from 192.168.4.2</p>
<p dir="auto">192.168.4.2     &lt;- Event: Unlink<br />
192.168.4.2     &lt;- Privilege: call,all<br />
192.168.4.2     &lt;- Channel1: SIP/801-00000334<br />
192.168.4.2     &lt;- Channel2: SIP/800-00000335<br />
192.168.4.2     &lt;- Uniqueid1: 1310078199.1829<br />
192.168.4.2     &lt;- Uniqueid2: 1310078199.1830<br />
192.168.4.2     &lt;- CallerID1: 801<br />
192.168.4.2     &lt;- CallerID2: 800<br />
192.168.4.2     &lt;- Server: 2</p>
<p dir="auto">** MAIN AMI event received...<br />
** MAIN There's an 'Event' in the event block<br />
** MAIN Event detected block_count = 1 (Event: Unlink)</p>
<p dir="auto">Sample of current button config</p>
<p dir="auto">[SIP/207]<br />
type=extension<br />
extension=207<br />
label=Test<br />
mailbox=207@default<br />
context=from-internal<br />
queuecontext=from-internal<br />
extenvoicemail=*207@default<br />
external=0425700227@from-internal<br />
originatechannel=Local/207@from-internal<br />
group=Sydney<br />
server=0</p>
<p dir="auto">Please advise if there is any more information that would be useful?</p>
<p dir="auto">I'm going to go back to 2.20 to see if transfer to mobiles works again.</p>
<p dir="auto">Cheers</p>
<p dir="auto">Kevin</p>
]]></description><link>http://localhost:4567/post/3660</link><guid isPermaLink="true">http://localhost:4567/post/3660</guid><dc:creator><![CDATA[kbedford]]></dc:creator><pubDate>Fri, 08 Jul 2011 00:48:59 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Fri, 08 Jul 2011 00:38:54 GMT]]></title><description><![CDATA[<p dir="auto">remote call pickup still doesn't work on 2.21 as it still tries to use the wrong server</p>
<p dir="auto">** MAIN AMI event received...<br />
** MAIN Processing command received from flash clients...</p>
<p dir="auto">192.168.4.95    &lt;= &lt;msg data="23|pickupActive|SIP/topex-00000591|b0b6066b7798a2f1451e63e5d6beb4fd" /&gt;^M</p>
<p dir="auto">-- PROCESS_FLASH_COMMAND origen 23 accion pickupActive destino SIP/topex-00000591 password b0b6066b7798a2f1451e63e5d6beb4fd</p>
<p dir="auto">VALIDAR USUARIO 803</p>
<p dir="auto">VALIDAR USUARIO 803 OK con clave regular (192.168.4.95)</p>
<p dir="auto">Validation ok, have all permissions for all buttons (0) 23</p>
<p dir="auto">It's blessed into class Extension</p>
<p dir="auto">PICKUP origin SIP/803 is defined!!!</p>
<p dir="auto">192.168.4.2     -&gt; Action: Redirect<br />
192.168.4.2     -&gt; Channel: SIP/topex-00000591<br />
192.168.4.2     -&gt; Exten: 803<br />
192.168.4.2     -&gt; Context: from-internal<br />
192.168.4.2     -&gt; Priority: 1<br />
192.168.4.2     -&gt; Async: True</p>
<p dir="auto">** MAIN End of block from 192.168.4.2</p>
<p dir="auto">192.168.4.2     &lt;- Response: Error<br />
192.168.4.2     &lt;- Message: Channel does not exist: SIP/topex-00000591<br />
192.168.4.2     &lt;- Server: 2</p>
<p dir="auto">** MAIN AMI event received...<br />
** MAIN No 'Event' nor 'End'. Erasing block...<br />
** MAIN End of block from localhost</p>
]]></description><link>http://localhost:4567/post/3659</link><guid isPermaLink="true">http://localhost:4567/post/3659</guid><dc:creator><![CDATA[kbedford]]></dc:creator><pubDate>Fri, 08 Jul 2011 00:38:54 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Wed, 06 Jul 2011 23:22:54 GMT]]></title><description><![CDATA[<p dir="auto">You might need to specify the correct context to external then:</p>
<p dir="auto">external=xxxxxxx@context-for-your-gsm-gateway</p>
]]></description><link>http://localhost:4567/post/3658</link><guid isPermaLink="true">http://localhost:4567/post/3658</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 06 Jul 2011 23:22:54 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Wed, 06 Jul 2011 23:11:58 GMT]]></title><description><![CDATA[<p dir="auto">Because I have three servers that I want to display in one instance of FOP2 I'm not using the the FreePbx plug in to do<br />
the configuration.  I'm just using a buttonfile and have the users defined in fop2.cfg.</p>
<p dir="auto">I have the external numbers defined as external=xxxxxxx in each button definition the xxxxx being the users mobile number<br />
once dialed each server routes the specific mobile number to a gsm gateway.</p>
<p dir="auto">I'll set up the Originate channel and advise what happens.</p>
<p dir="auto">Cheers</p>
<p dir="auto">Kevin</p>
]]></description><link>http://localhost:4567/post/3657</link><guid isPermaLink="true">http://localhost:4567/post/3657</guid><dc:creator><![CDATA[kbedford]]></dc:creator><pubDate>Wed, 06 Jul 2011 23:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Wed, 06 Jul 2011 12:51:41 GMT]]></title><description><![CDATA[<p dir="auto">You should set originatechannel for multi server setups to be Local/xxxx in any version. I would like to know if you have the external numbers set up in fop2admin fop2 buttons page, and if the call disconnnects always? Perhaps is a misconfiguration somewhere.. The final fop2admin 1.2.6 will remove the queuechannel directive from fop2buttons and will (try) to deduce all those settings from the FreePBX configuration.</p>
]]></description><link>http://localhost:4567/post/3656</link><guid isPermaLink="true">http://localhost:4567/post/3656</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 06 Jul 2011 12:51:41 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Wed, 06 Jul 2011 10:53:30 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the prompt response Nicolas,</p>
<p dir="auto">I have installed the 2.21 beta and now the transfer to Mobile button that use to work results in the call being disconnected.</p>
<p dir="auto">I'll stick with 2.21 since the feature I most need is in that version.</p>
<p dir="auto">I was wondering if I needed to set<br />
originatechannel and or queuecontext for things to work properly particulary with the extensions on remote servers?</p>
<p dir="auto">I'm using Freepbx 2.8.1.4</p>
<p dir="auto">Now to implement the suggestions and I'll post the results.</p>
<p dir="auto">Thanks again</p>
<p dir="auto">Kevin</p>
]]></description><link>http://localhost:4567/post/3655</link><guid isPermaLink="true">http://localhost:4567/post/3655</guid><dc:creator><![CDATA[kbedford]]></dc:creator><pubDate>Wed, 06 Jul 2011 10:53:30 GMT</pubDate></item><item><title><![CDATA[Reply to Multi server call pickup and remote extension updates on Tue, 05 Jul 2011 16:29:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">2.21 beta fixes the remote server pickup issue. About the failure to update status from remote servers, the most probable cause is that AMI is being disconnected due to a slow/lagged link. You can try to increase the writetimeout for the manager user in your manager.conf file in the remote servers, or play with event filters to reduce the traffic.</p>
<p dir="auto">check the announcement forum for download links for the 2.21 beta if you want to try the remote server pickup.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/3654</link><guid isPermaLink="true">http://localhost:4567/post/3654</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 05 Jul 2011 16:29:59 GMT</pubDate></item></channel></rss>