PBXes » Search » Search Results
Showing posts 1 to 10 of 10 results
Author Post
Thread: how to register a mobile extention
car

Replies: 0
Views: 5482

how to register a mobile extention 16.02.2016 18:59 Forum: Miscellaneous

Hi guys, Do u know the way to register a mobile extention on the pbx ? Es: I have a mobile extantion and I want to know if this extention is available or not. how to do ?
I sow also in mobile extention there is a login and password. It this mean that I can make a login with my mobile phone ?
Thank you

Thread: I need an info :)
car

Replies: 0
Views: 11144

I need an info :) 15.02.2016 09:03 Forum: Feature Requests

It is possible to know the number of caller trough the webcall pages ?
Because of I can right now check if an ext is busy. But if I would know a number who call the extention ? there is a way to know trough a php script ?
Thank you .

Thread: RE: info required
car

Replies: 2
Views: 7973

RE: info required 13.12.2015 12:37 Forum: Miscellaneous

Zitat:
Originally posted by i-p
Yes, that's possible. Just add several extension aliases separated by "+", e.g. pbxes.org/url1+url2

Thank you very much

EDIT:
I have to tell you, you finally help my work definitively. I'm really gratefull to you . Many tnx.
Now I have the script to show via web page ALL extentions status in real time smile

Here a simple istance to see all exts status of your PBX.

function ext_stat(){

$addr="http://pbxes.org/youralias1+youralias2+youralias3+youralias4+youralias5"; // here yuou need to create your webcall cumulative extentions page.

if(!$page=file_get_contents($addr)) die ("I can't read the page , or the page is unavailable");// we go to read the page we just created

$extentions=array('
1=>'youralias1',
2=>'youralias2',
3=>'youralias3',
4=>'youralias4',
5=>'youralias5
'); // in this array you need to specify all your webcall alias to check

while(list($key,$alias)=each($extensions)){

$check = "$alias</span></font><br>Busy";

if(!stripos($page, $check) === false) {

$state = "Extention Busy";

}else{

$state = "Extention Idle";

} // here we know only if the extentions we chekced is busy or not busy

echo $state;

}

fclose($page);

}

$curpage = $_SERVER['PHP_SELF'];
header('Refresh: 10; url=' . $curpage);

?>
youhtmlpage
<?php ext_stat(); ?>

Thread: RE: info required
car

Replies: 2
Views: 7973

info required 11.12.2015 19:24 Forum: Miscellaneous

Hi guys, as you know.. is possibile to see all webcall alias in a unique page ?
for istance a singolar page with all the webcall extention of a pbx ..

Thread: RE: See extension status from website
car

Replies: 12
Views: 30338

RE: See extension status from website 02.12.2015 17:33 Forum: Feature Requests

Wow... finally an effective answer smile MANY MANY MANY THANK YOU FOR THAT. Here's the code to get the status to show, in case someone need:

EDIT: I see there is some troubles when this script is used in a while cycle. So, The suggestion is to use to get single result as well. Use the script below that result more effective:

<?php
$p="Number of extention you want to check"; // es 01, 02 ecc

$addr="http://pbxes.org/youralias$p"; /* address of your Webcall page, NOTE: for this script the address need to end with the number of the extention you wanna check.*/

/*Now we will get not entire page, 'cause of latency problems but only the term we need.*/

$start_read=3214;
$interval=912;

/*Then we are ready to know the status of extensions we want to check */

if(!$page= file_get_contents($addr, false, null, $start_read, $interval)) die ("impossible to read the page");
if($status=strstr($page, "Busy")){
$status; echo "Busy";
} else {
echo "Idle";
}
fclose($page); // we close the web page reading

$curpage = $_SERVER['PHP_SELF'];
header('Refresh: 5; url=?code=$p' . $curpage);

?>

Thread: RE: See extension status from website
car

Replies: 12
Views: 30338

RE: See extension status from website 11.11.2015 11:57 Forum: Feature Requests

YES, could be a solution. Could you please tell me what's the query I need to call to get back the "busy" variable ?
I'm explain myself better:
This is what I will do in php:
<?
conditions=check the ext addr xxx if is busytraurig here I need the address where I will check the stauts of extention, where the answer could be: busy or null)
in case is busy I will show an image, in case not I will show other Image.
refresh page every xx seconds;
?>
I already know how to do, I just need the addres where check the status of extention and the variable name that contain "busy".

Thread: RE: See extension status from website
car

Replies: 12
Views: 30338

RE: See extension status from website 27.10.2015 14:35 Forum: Feature Requests

Probably we are talking of two different webpage... where is possibile to call "webcall pages", there is not any "spy" or indicator to see who's busy or not... could you please be more detailed ?

In general, I need to show on my website the presence of the operator that is on line or not. (like the green spy inside FOP).
If some operator connect his sip phone, on the website I need to show that he is connected. It is possible ?

Thread: RE: See extension status from website
car

Replies: 12
Views: 30338

RE: See extension status from website 23.10.2015 07:26 Forum: Feature Requests

Right but Can I see if the operator is busy from my webpage ?
EDIT: Now I can do the exact question:

Can I show my FOP inside an iframe of my website ?

Thread: RE: See extension status from website
car

Replies: 12
Views: 30338

See extension status from website 21.10.2015 11:00 Forum: Feature Requests

Our need would be to offer to our visitors the possibilty to see who is free and who's not. Is this possibile right now ? Or could you please integrate this feature ? Thank you

Thread: RE: Urgent!
car

Replies: 1
Views: 7300

Urgent! 26.03.2015 12:31 Forum: Miscellaneous

I would like to change my account into PRO per extensions no limit of minutes. How to do ?

Showing posts 1 to 10 of 10 results

Powered by Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH
English Translation by Satelk