<?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[Presence not working]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have a very basic problem, I'm using a vanilla asterisk with the latest FOP2. If I login in FOP2 and I change the status of my extension to Do Not Disturb in FOP2, my little icon is not updated in FOP2. I'm not talking about any integration between Asterisk and FOP2.</p>
<p dir="auto">Thx</p>
]]></description><link>http://localhost:4567/topic/2424/presence-not-working</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 09:27:13 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2424.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Dec 2016 22:35:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Presence not working on Tue, 31 Jan 2017 18:10:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You have the php code and queries at your disposal to adapt to your solution! If you want me to adapt it to your solution, I can do so for sure, for a fee. My hourly rates are published in <a href="http://www.fop2.com/buy.php" rel="nofollow ugc">www.fop2.com/buy.php</a>.</p>
<p dir="auto">FOP2 comes as is, it will work mostly and if not, you can adapt it as it is very extensible. If you do not have the time or energy, then you can fund/sponsor/pay for new features or customizations.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/10585</link><guid isPermaLink="true">http://localhost:4567/post/10585</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 31 Jan 2017 18:10:09 GMT</pubDate></item><item><title><![CDATA[Reply to Presence not working on Sun, 29 Jan 2017 21:24:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">It is working if I set the extension to 100 but CDR History is then broken. I found that you are using a query that look like this :</p>
<p dir="auto">SELECT * FROM cdr WHERE (src='100' OR channel LIKE 'SIP/100-<strong><strong><strong><strong>' OR dst='100' OR dstchannel LIKE 'SIP/100-</strong></strong></strong></strong>' )</p>
<p dir="auto">In my case, the channel is SIP/sdfhjk not SIP/100.</p>
<p dir="auto">I would really like to have this fix so I could better integrate FOP2 in my solution. Could you please PM me ?</p>
<p dir="auto">Thx !</p>
]]></description><link>http://localhost:4567/post/10584</link><guid isPermaLink="true">http://localhost:4567/post/10584</guid><dc:creator><![CDATA[Dimitripietro]]></dc:creator><pubDate>Sun, 29 Jan 2017 21:24:59 GMT</pubDate></item><item><title><![CDATA[Reply to Presence not working on Tue, 10 Jan 2017 01:53:20 GMT]]></title><description><![CDATA[<p dir="auto">Consider this:</p>
<p dir="auto">[SIP/sdfhjk]<br />
type=extension<br />
label=John<br />
<strong>extension=100</strong></p>
<p dir="auto">Notice that extension=xxx could be different from the [SIP/xxxx] device.</p>
<p dir="auto">That is the first thing I pointed out.. extension header should be numeric, it does not matter at all if the device name is numeric or alphanumeric, or mixed, it is not related, there is no need for them to match. Extension is numeric because it is used to match entries in the dialplan, when pattern matching is modeled around NUMERIC extensions.</p>
<p dir="auto">Presence works fine if you have alpha numeric devices with mixed case, but events might fail if the user/extension mapping is not correct.</p>
<p dir="auto">You can start fop2_server in debug mode, level 15 (-X 15) to see all interactions between the fop2 browser and fop2 server, and between fop2 server and asterisk ami, and compare actions, commands and event responses.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/10583</link><guid isPermaLink="true">http://localhost:4567/post/10583</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 10 Jan 2017 01:53:20 GMT</pubDate></item><item><title><![CDATA[Reply to Presence not working on Sun, 08 Jan 2017 13:19:49 GMT]]></title><description><![CDATA[<p dir="auto">HI,</p>
<p dir="auto">I'm confuse by your answer. From the test I did, "extension=" need to be equal to "sdfghjk" in my latest example to have the action bar. I'm not sure why are are telling me to use extension = 233 and user=233 because my sip peer name is "SIP/sdfghjk".</p>
<p dir="auto">To get back to my problem, do you plan on fixing the issue ?  The problem is, if a peername have alphanumeric caracter, the presence dropdown is not working.</p>
]]></description><link>http://localhost:4567/post/10582</link><guid isPermaLink="true">http://localhost:4567/post/10582</guid><dc:creator><![CDATA[Dimitripietro]]></dc:creator><pubDate>Sun, 08 Jan 2017 13:19:49 GMT</pubDate></item><item><title><![CDATA[Reply to Presence not working on Fri, 23 Dec 2016 17:13:53 GMT]]></title><description><![CDATA[<p dir="auto">In that case, in your configuration, you must set etension=233 and log with user=233 in fop2 configurations.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/10581</link><guid isPermaLink="true">http://localhost:4567/post/10581</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 23 Dec 2016 17:13:53 GMT</pubDate></item><item><title><![CDATA[Reply to Presence not working on Wed, 21 Dec 2016 00:53:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I don't think you understand my problem. It has nothing to do with dialing or anything. It's only regarding the presence on the upper bar.</p>
<p dir="auto">FYI but it's not relevant to my issue I'm using alphanumeric sip peer name but using digit only to ring them. For exemple, in my dialplan I'm using 233,1,Dial(SIP/sdfghjk). The phone can then be reach by dialing 233.</p>
]]></description><link>http://localhost:4567/post/10580</link><guid isPermaLink="true">http://localhost:4567/post/10580</guid><dc:creator><![CDATA[Dimitripietro]]></dc:creator><pubDate>Wed, 21 Dec 2016 00:53:24 GMT</pubDate></item><item><title><![CDATA[Reply to Presence not working on Wed, 21 Dec 2016 00:00:06 GMT]]></title><description><![CDATA[<p dir="auto">extension headers are supposed to be numeric, as you usually cannot dial letters from a dialpad. Not sure why are you using alphanumeric extensions, its fine for sip to sip dialing but not for regular phone dialing... in any case you can have a context that accepts numeric extensions and then does whatever you want to dial a device with any name like mixed letters/numbers, etc.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/10579</link><guid isPermaLink="true">http://localhost:4567/post/10579</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 21 Dec 2016 00:00:06 GMT</pubDate></item><item><title><![CDATA[Reply to Presence not working on Tue, 20 Dec 2016 23:20:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I was able to track down the issue and it seem to be a bug in fop2.</p>
<p dir="auto">If I have the following in buttong.cfg :</p>
<p dir="auto">[SIP/ABC299]<br />
type=extension<br />
extension=ABC299<br />
context=ABC<br />
label=299 - Test<br />
mailbox=299@ABC<br />
extenvoicemail=7299@ABC<br />
group=admin<br />
originatechannel=Local/299@originate</p>
<p dir="auto">and fop2.cfg :</p>
<p dir="auto">user=ABC299<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f522.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--1234" style="height:1.4em;width:auto;vertical-align:middle" title=":1234:" alt="🔢" />all</p>
<p dir="auto">The status is not updated because the event is not send the the Asterisk manager. (tested using : ./fop2_server -X 3 -i eth1)</p>
<p dir="auto">But If I have :</p>
<p dir="auto">[SIP/299]<br />
type=extension<br />
extension=299<br />
context=ABC<br />
label=299 - Test<br />
mailbox=299@ABC<br />
extenvoicemail=7299@ABC<br />
group=admin<br />
originatechannel=Local/299@originate</p>
<p dir="auto">and fop2.cfg :</p>
<p dir="auto">user=299<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f522.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--1234" style="height:1.4em;width:auto;vertical-align:middle" title=":1234:" alt="🔢" />all</p>
<p dir="auto">It his working. I have also tested with abc lowercase and it's also NOT working. I have also test with "sdfghjk" only and it's also not working. that mean as soon as you have alpha character the presence is not working. That also mean FOP2 presence won't work with XiVO/WAZO because they use random alpha numeric name for the sip peers.</p>
<p dir="auto">Also, if I manually put this in the asterisk manager using telnet :</p>
<p dir="auto">Action: UserEvent<br />
UserEvent: FOP2ASTDB<br />
Family: fop2state<br />
Key: SIP/sdfghjk<br />
Channel: SIP/sdfghjk<br />
Value: Out to lunch</p>
<p dir="auto">It's working as expected.</p>
]]></description><link>http://localhost:4567/post/10578</link><guid isPermaLink="true">http://localhost:4567/post/10578</guid><dc:creator><![CDATA[Dimitripietro]]></dc:creator><pubDate>Tue, 20 Dec 2016 23:20:55 GMT</pubDate></item></channel></rss>