<?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[Language & multi-devices]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Thanks to your help, I have nearly finalized integration into our own product line. I'll need to contact you offline for licensing.</p>
<p dir="auto">However, I have a few more questions :</p>
<ol>
<li>We are implementing multi-devices into our system by having different SIP peers for the same extension. For example, user 74 can be called through Local/74 which will in turn trigger a Dial on SIP/74&amp;SIP/74-2&amp;SIP/74-3 . Is that possible to have one button for all of these and have sort of an integrated status view ?</li>
</ol>
<p dir="auto">We have hints defined like this :<br />
exten =&gt; 74,hint,SIP/74&amp;SIP/74-2</p>
<p dir="auto">I have tried different combinations of user definitions without success so far:<br />
[SIP/74]<br />
...<br />
channel=SIP/74&amp;SIP/74-2&amp;/SIP/74-3</p>
<ol start="2">
<li>concerning user language, I would like to dynamically set user language without having the user change his personal preferences. Is there a way to achieve this ?<br />
(ie either looking at the user asterisk language definition or any other tip)</li>
</ol>
<p dir="auto">Thank you,</p>
<p dir="auto">Damien</p>
]]></description><link>http://localhost:4567/topic/716/language-multi-devices</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 08:36:04 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/716.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Apr 2011 13:38:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Language & multi-devices on Tue, 12 Apr 2011 18:11:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The [SIP/123123&amp;SIP/98098080] is invalid. fop2 will probably monitor nothing in that regard. There is no risk, it is just like putting [MYHEAD/hurts-so-much] . So I do not know why it is the only way it works for you?? that seems pretty strange. You can also use [Local/exten@context] so that is used as origination, and add the real devices on channel entries...</p>
<p dir="auto">If you get any status out of the concatenated device it is a probably a mere coincidence. The "good" way is to do it using additinoal channel entires and let the main one between [].</p>
]]></description><link>http://localhost:4567/post/3176</link><guid isPermaLink="true">http://localhost:4567/post/3176</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 12 Apr 2011 18:11:39 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Tue, 12 Apr 2011 17:51:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thanks for the originateCOntext tip.</p>
<p dir="auto">But is there a risk to use both channels between []'s ?</p>
<p dir="auto">It's the only way to get the correct status for us.</p>
]]></description><link>http://localhost:4567/post/3175</link><guid isPermaLink="true">http://localhost:4567/post/3175</guid><dc:creator><![CDATA[blanka]]></dc:creator><pubDate>Tue, 12 Apr 2011 17:51:37 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Tue, 12 Apr 2011 17:10:53 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You are getting the idea wrong, the button should be:</p>
<pre><code>[SIP/75]
type=extension
extension=75
context=ext-everything
label=DS
mailbox=75@default
extenvoicemail=855575@ext-everything-local
channel=SIP/75-2
</code></pre>
<p dir="auto">The above will monitor both SIP/75 and SIP/75-2, and will originate calls using SIP/75. If you do not know what device use to originate, you will have to use the dialplan to reach the real device, and use the originatechannel setting in the buttons config, like</p>
<pre><code>[SIP/75]
type=extension
extension=75
context=ext-everything
label=DS
mailbox=75@default
extenvoicemail=855575@ext-everything-local
originatechannel=Local/75@some-originate-context
channel=SIP/75-2
</code></pre>
<p dir="auto">Then, in your dialplan, some-originate-context you must Dial the devices that you want, for example (this is JUST an example, I do not know what is your configuration-purpose, nor your dialplan, etc). Perhaps you already have a standard extension macro that does this:</p>
<pre><code>[some-originate-context]
exten =&gt; _XX,1,Dial(SIP/${EXTEN}&amp;SIP/{EXTEN}-1,r,30)
</code></pre>
]]></description><link>http://localhost:4567/post/3174</link><guid isPermaLink="true">http://localhost:4567/post/3174</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 12 Apr 2011 17:10:53 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Tue, 12 Apr 2011 16:24:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I know I become annoying, but if I do this :<br />
[SIP/75&amp;SIP/75-2]<br />
type=extension<br />
extension=75<br />
context=ext-everything<br />
label=DS<br />
mailbox=75@default<br />
extenvoicemail=855575@ext-everything-local<br />
channel=SIP/75&amp;SIP/75-2</p>
<p dir="auto">then it works as expected except for one thing : click to call or dialing from the UI does not work anymore :</p>
<p dir="auto">[2011-04-12 18:22:29] WARNING[30004]: chan_sip.c:3178 create_addr: No such host: 75&amp;SIP<br />
[2011-04-12 18:22:29] NOTICE[30004]: channel.c:3490 __ast_request_and_dial: Unable to request channel SIP/75&amp;SIP/75-2</p>
<p dir="auto">some escaping required ?</p>
<p dir="auto">Damien</p>
]]></description><link>http://localhost:4567/post/3173</link><guid isPermaLink="true">http://localhost:4567/post/3173</guid><dc:creator><![CDATA[blanka]]></dc:creator><pubDate>Tue, 12 Apr 2011 16:24:25 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Tue, 12 Apr 2011 15:54:37 GMT]]></title><description><![CDATA[<p dir="auto">I have proposed the solution already: disregard the registration state as you will have contradictory information anyways. So, just show unregistered states the same as registered ones. (Note that registration is NOT A HINT). Registration status is something else.</p>
<p dir="auto">If you are monitoring 3 devices in one button, and you get 3 AMI events:</p>
<p dir="auto">REGISTERED<br />
UNREGISTERED<br />
UNREGISTERED</p>
<p dir="auto">The button will first show registered (solid) and then grayed out.</p>
<p dir="auto">But then again, if you are monitoring multiple devices in one button, then there is not much point on monitoring registration status, at least not on that panel, as it will not add much value at all, so remove the notregistered class and you will always see buttons in solid green.</p>
<p dir="auto">If you really want to track registration status as an admin, or whatever, then you can install a 2nd client with the original .css and another panel context where all buttons/devices shows individually.</p>
]]></description><link>http://localhost:4567/post/3172</link><guid isPermaLink="true">http://localhost:4567/post/3172</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 12 Apr 2011 15:54:37 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Tue, 12 Apr 2011 15:40:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I understand what you mean.</p>
<p dir="auto">So, my only concern is when there are multiple channels : how can I consider the user as online if at least one of the channels is online ?</p>
<p dir="auto">I guess it is not possible and will never be but I need to find a solution.</p>
<p dir="auto">Damien</p>
]]></description><link>http://localhost:4567/post/3171</link><guid isPermaLink="true">http://localhost:4567/post/3171</guid><dc:creator><![CDATA[blanka]]></dc:creator><pubDate>Tue, 12 Apr 2011 15:40:25 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Tue, 12 Apr 2011 15:05:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi Damien,</p>
<p dir="auto">FOP and FOP2 track device/channels, not extensions.</p>
<p dir="auto">What you need is actually possible without using hints, but multiple channel entries in the config file. The only issue is with multiple and contradictory registry events.</p>
<p dir="auto">So, what you think is a simple change is not simple at all, and it does not add much value to the product either, as you can <em>already</em> do it using multiple channel entries.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/3170</link><guid isPermaLink="true">http://localhost:4567/post/3170</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 12 Apr 2011 15:05:37 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Tue, 12 Apr 2011 13:18:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Actually I checked our code and it is feasible.</p>
<p dir="auto">If you define this :<br />
hint =&gt; 75,hint,SIP/75&amp;SIP/75-2<br />
in context ext-local-users</p>
<p dir="auto">then core show hints shows this :<br />
75@ext-local-users     : SIP/75-2&amp;SIP/75       State:Idle            Watchers  1</p>
<p dir="auto">And when there is an incoming call, the AMI shows this event :<br />
Event: ExtensionStatus<br />
Privilege: call,all<br />
Exten: 75<br />
Context: ext-local-users<br />
Status: 8</p>
<p dir="auto">The only thing you have to change in your code is to add the ability to listen to that type of event.</p>
<p dir="auto">Would it be possible ?</p>
<p dir="auto">It is kind of mandatory if we want to go further with FOP2 in our solution <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto">thank you,</p>
<p dir="auto">Damien</p>
]]></description><link>http://localhost:4567/post/3169</link><guid isPermaLink="true">http://localhost:4567/post/3169</guid><dc:creator><![CDATA[blanka]]></dc:creator><pubDate>Tue, 12 Apr 2011 13:18:01 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Mon, 11 Apr 2011 17:51:34 GMT]]></title><description><![CDATA[<p dir="auto">Not sure if it will work at all. Hints are not really AMI complain, they work for sip based subscriptions. FOP is not a sip softphone.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/3168</link><guid isPermaLink="true">http://localhost:4567/post/3168</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 11 Apr 2011 17:51:34 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Mon, 11 Apr 2011 17:43:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Perhaps the ideal would be to add a hint= setting in buttons.cfg where the user could specify the hint to watch.</p>
<p dir="auto">Is that something you can do in a further release ?</p>
<p dir="auto">Damien</p>
]]></description><link>http://localhost:4567/post/3167</link><guid isPermaLink="true">http://localhost:4567/post/3167</guid><dc:creator><![CDATA[blanka]]></dc:creator><pubDate>Mon, 11 Apr 2011 17:43:39 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Mon, 11 Apr 2011 16:27:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The hint as determined by exten =&gt; 74,hint,SIP/74&amp;SIP/74-2 has the correct value.</p>
<p dir="auto">Is it possible for you, technically, to monitor extension status through this hint ?</p>
<p dir="auto">Our purpose is to integrate FOP2 (paid version) into our own product. So that is important for us.</p>
<p dir="auto">Thank you,</p>
<p dir="auto">Damien</p>
]]></description><link>http://localhost:4567/post/3166</link><guid isPermaLink="true">http://localhost:4567/post/3166</guid><dc:creator><![CDATA[blanka]]></dc:creator><pubDate>Mon, 11 Apr 2011 16:27:56 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Mon, 11 Apr 2011 16:25:16 GMT]]></title><description><![CDATA[<p dir="auto">There is no way to determine what registration status is the primary, so the last received will win. In your case you will have to modify operator.css and remove the .notregistered calls or modify it to remove the alpha transparency. This way you will never know if a device is registered or not.</p>
]]></description><link>http://localhost:4567/post/3165</link><guid isPermaLink="true">http://localhost:4567/post/3165</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 11 Apr 2011 16:25:16 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Mon, 11 Apr 2011 16:11:52 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">It seems to work to monitor channels, but the problem is that the extension appears to be offline as soon as at least one of the extensions is offline (or as soon as [SIP/75] is offline if [SIP/75] is the leading extension).</p>
<p dir="auto">We use multi-devices for softphone support. The softphone is often disconnected.</p>
<p dir="auto">Damien</p>
]]></description><link>http://localhost:4567/post/3164</link><guid isPermaLink="true">http://localhost:4567/post/3164</guid><dc:creator><![CDATA[blanka]]></dc:creator><pubDate>Mon, 11 Apr 2011 16:11:52 GMT</pubDate></item><item><title><![CDATA[Reply to Language & multi-devices on Mon, 11 Apr 2011 14:10:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi Damien,</p>
<p dir="auto">Try using:</p>
<p dir="auto">[SIP/74]<br />
type=extension<br />
label=John<br />
channel=SIP/74-2<br />
channel=SIP/74-3</p>
<p dir="auto">Even the &amp; should work as far as I remember.</p>
<p dir="auto">For setting up preferences, look at the fop2settings.db that is created in /usr/local/fop2, open it up with sqlite3, you can manipulate individual preference for every user there.</p>
<p dir="auto">Best regards</p>
]]></description><link>http://localhost:4567/post/3163</link><guid isPermaLink="true">http://localhost:4567/post/3163</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 11 Apr 2011 14:10:19 GMT</pubDate></item></channel></rss>