login | register
Fri 09 of May, 2008 [16:52 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
  • Christopher Faust, Wed 07 of May, 2008 [15:28 UTC]: When I try to startx I ge input not supported. Though before installing asterisk I had no video issue to start the GUI
  • Christopher Faust, Wed 07 of May, 2008 [15:26 UTC]: Hi Nick, I got centos 5.1 and asterisk up But now I cannot start startx I have set the depth from 24 to 16 for the video i810 driver for the i845 on my netvista machine but I cannot start GNOME. Please advise
  • Nick Barnes, Wed 07 of May, 2008 [10:01 UTC]: Howard - You'll need to provide a lot more information if you really want help.
  • Nick Barnes, Wed 07 of May, 2008 [10:00 UTC]: Christopher - Search the Wiki and you'll find a page I wrote detailing exactly what you have to do for Asterisk 1.4 + CentOS 5.1.
Server Stats
  • Execution time: 0.64s
  • Memory usage: 2.30MB
  • Database queries: 30
  • GZIP: Disabled
  • Server load: 0.98

GXP-2000 XML Idle Screen

General Info

This page will serve as a repository to help explain the functionality of custom idle screens, as well as document bugs and identify work-arounds where possible.

Please refresh the page before editing, as others may have made changes in the meantime.

Firmware Notes and Bugs

Firmware 1.1.1.14

Bugs

  • FEATURE (Nov22/07) - Allow to refresh the idle screen via the web interface (even by toggling the download setting) this will at least permit 'polling' of the devices by a remote host to download a new screen, so that hotdesking updates can trigger a screen change.- Acumen
  • FEATURE (Feb21/07) - Allow to automaticaly refresh the idle screen after a given secs e.g. for "queue viewing","news reeding" purposes.- WDTY



Firmware 1.1.1.9

Bugs

  • MINOR (Aug18/06) - Random corruption on screen when using custom XML file. Noticable as dots or lines on the extreme left and right of text blocks. - acabtp
  • MINOR (Aug18/06) - The phone seems to always evaluate the "a1reg" as true, resulting in any <DisplayStr> that have "a1reg=false" never being displayed, and <DisplayStr> that do not have "a1reg=false" always being displayed, regardless of the Line 1 registration state. - acabtp
  • FEATURE (Nov2/06) - Allow the display of the Account 1 "Account Name" via some format string — perhaps $N? - awint

Firmware 1.1.1.7

(JUL17,2006) Idle screen configuration functionality is introduced. - MikeB

Bugs

  • MAJOR (Jul24/06) - Using custom bitmap with offset causes phone to crash. Suspect chunks of memory are being overwritten by the offset routine. The problem reoccurs every reboot when the phone attempts to load the Custom SCR. To remedy this, I had to reboot the phone with the network cable disconnected, and clear the custom screen from the preferences menu before it could be loaded. - acabtp
  • MINOR (Jul24/06) - Random corruption on screen when using custom XML file. Noticable as dots or lines on the extreme left and right of text blocks. - acabtp
  • MINOR (Jul24/06) - Using the $d variable reference causes the phone to display only the last digit of the day of the month, and the rest of the <DisplayStr> after the $d is truncated. - acabtp
  • MINOR (Jul24/06) - The phone seems to always evaluate the "a1reg" as true, resulting in any <DisplayStr> that have "a1reg=false" never being displayed, and <DisplayStr> that do not have "a1reg=false" always being displayed, regardless of the Line 1 registration state. - acabtp
  • FEATURE (Aug11/06) - Should be able to specify auto download of the XML file on boot-up, it's odd you have to do this manually! - mattb
  • FEATURE (Oct18/06) - Can change the name of the xml file, for example to use a php file, to generate a dynamic idle screen! - jorgeci



Grandstream documentation on configuring idle screens
XML Based Customizable Screen Rev 1.3



Variables

The following variables have been provided by Grandstream. When entered in a <DisplayStr> element, these strings will be replaced by their corresponding values.
$W: Current day of week and has the following possible values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
$N: Configured Account 1 Display Name.
$X: Configured Account 1 SIP User ID.
$V: Configured Account 1 SIP Server.
$I: Configured System IP address.
$D: Current day of month with leading zero, possible values: 01, 02... 31
$d: Current day of month without leading zero, possible values: 1, 2... 31 - broken in 1.1.1.7, fixed in 1.1.1.9
$M: Current month in English, possible values: January, February... December
$o: Current month in number with leading zero, possible values: 01, 02... 12
$n: Current month in number without leading zero, possible values: 1, 2... 12
$Y: Current year in 4-digit number, for example: 2006, 2007 ...
$y: Current year in 2-digit number, for example: 06, 07 ...
$P: Current AM/PM status in upper case, possible values: AM, PM
$p: Current AM/PM status in lower case, possible values: am, pm
$H: Current hour of day in 24-hour representation with leading zero, possible values: 00, 02... 23
$h: Current hour of day in 12-hour representation with leading zero, possible values: 01, 02... 12
$m: Current minute of hour with leading zero, possible values: 01, 02... 59
$s: Current second of minute with leading zero, possible values: 01, 02... 59

- acabtp

Excerpt from the Phone Manual

The feature will be activated when “Enable Idle-Screen XML Download� is set to YES (HTTP or TFTP) AND a valid “Idle-Screen XML Path� is set. This feature does not automatically download the gs_screen.xml file in the path even when activated. Because the LCD is composed of 130*64 mono pixels, the resolution of the screen XML should be within this range. The following 2 options are added to the Preference LCD GUI submenu:
  • Download SCR XML
  • Erase Custom SCR
User will have to choose to Download SCR XML to start the download process. Once the XML is successfully downloaded it will be effective right away. The file will be saved and loaded automatically after reboot.

Example XML file of gs_screen.xml:

<?xml version="1.0"?>
<Screen>
   <IdleScreen>
       <ShowStatusLine>false</ShowStatusLine>
       <DisplayBitmap>
           <Bitmap>Put your customized screen file with bitmap format here</Bitmap>
           <X>0</X>
           <Y>0</Y>
       </DisplayBitmap>
       <DisplayString font="f8" halign="Right">
           <DisplayStr>Doraemon</DisplayStr>
           <X>130</X>
           <Y>0</Y>
       </DisplayString>
       <DisplayString font="f10" halign="Left" valign="Bottom">
           <DisplayStr>Call me:</DisplayStr>
           <X>0</X>
           <Y>54</Y>
       </DisplayString>
       <DisplayString font="f8" halign="Left" valign="Bottom">
           <DisplayStr>$X@$V</DisplayStr>
           <X>0</X>
           <Y>64</Y>
       </DisplayString>
   </IdleScreen>
</Screen>

Note: The feature requires some expertise on XML. For more technical
details, please contact Grandstream.

Complete Bitmap example for GXP-2020

Because this is a little confusing, and poorly documented, I created and tested a complete example with a new GXP-2020. It includes Tux, the Asterisk Logo, IP, Date, and Time on the Idle screen. Copy, paste, enjoy! ~ Etamme

<?xml version="1.0"?>
<Screen>
  <IdleScreen>
      <ShowStatusLine>false</ShowStatusLine>
      <DisplayBitmap>        

<Bitmap>Qk0+BQAAAAAAAD4AAAAoAAAAggAAAEAAAAABAAEAAAAAAAAFAAASCwAAEgsAAAIAAAACAAAA////AAAAAAAAAAAAAAAAAAAAABwAADwAAAAAAAAAAAAAAAAAAAAA/gAA/gAAAAAAAAAAAAAAAAAAAAP/gAH/AAAAAAAAAAAAAAAAAAAAf5f9t9OAAAAAAAAAAAAAAAAAAAOtR///6IAAAAAAAAAAAAAAAAAABmAT//+AMAAAAAAAAAAAAAAAAAAFAEv7/4iIAAAAAAAAAAAAAAAAAAAkAAB/4QAAAAAAAAAAAAAAAAAAAgICAA+RQAAAAAAAAAAAAAAAAAAEaCgAB4gUAAAAAAAAAAAAAAAAAAUgYAABwEIAAAAAAAAAAAAAAAAAAAIAAAGgCAAAAAAAAAAAAAAAAAAAAEAAAMVAAAAAAAAAAAAAAAAAAAUiAAAAmhAAAAAAAAAAAAAAAAAAAEQgAAAfiAAAAAAAAAAAAAAAAAABogAAAN+AAAAAAAAAAAAAAAAAAAAQAAAAX8AAAAAAAAAAAAAAAAAAABQAAAAf4AAAAAAQAR+BQ8GAh8EDAAAAAB/wAAAAAHAHv8fP8YOf84eDgAAAH/AAAAAAOAd65975wZ57jx+AAAAf8AAAAAA4B3B3PDuDuDsODwAAAB/4AAAAADwPYOc4CcOYO54fgAAAH/gAAAAAH/4D5zgBwcD7vA8AAAAf+AAAAAAf/h/nP/3Dj/P4D4AAAB/4AAAAAA4cfwc//8Hfw/gHgAAAH/AAAAAADhx4BzgZwZwH8AeAAAAf8AAAAAAOPHDnODnjuDM8A8AAAB/wAAAAAAc4ef/eef+d95wDwAAAH/AAAAAABzg/38/x/d/zjwHgAAAf4AAAAAAHsB+fx8Gdh8MDAeAAAD/gAAAAAAPwAAcAAAAAA4AB4AAAP8AAAAAAA/AABwAAAAADgADwAAB/wAAAAAAB4AAHAAAAAAMAAPAAAH/AAAAAAAHgAAIAAAAAA4AAfAAA/4AAAAAAAAAH+AAAAAAAAAB4AAH/AAAAAAAAAD//AYAAAAAAADwAAf8AAAAAAAAAf//vgAAAAAAAHAAB/gAAAAAAAAD+B/8AAAAAAAAcAAH8AAAAAAAAAfAAewAAAAAAAA4AA/gAAAAAAAAD4AACAAAAAAAABwgD+AAAAAAAAAPAAAcAAAAAAAADPgfwAAAAAAAAB4AeB4AAAAAAAANrh/AAAAAAAAAHAB4DgAAAAAAAA9rP4AAAAAAAAAcCHiHAAAAAAAADoV/AAAAAAAAABwOeceAAAAAAAAOAb8AAAAAAAAAPB//w4AAAAAAAA8Q/wAAAAAAAAAcH//hwAAAAAAADgA/AAAAAAAAABwH/4HAAAAAAAANAT4AAAAAAAAAHAH+AcAAAAAAAA+bnwAAAAAAAAAMA/4B4AAAAAAAD/u+AAAAAAAAAA4P/4DgAAAAAAALO78AAAAAAAAABh//4OAAAAAAAA05PgAAAAAAAAAHH3fA4AAAAAAADPh+AAAAAAAAAAOOecHgAAAAAAAP/v4AAAAAAAAAAIh4gcAAAAAAAB///gAAAAAAAAAAYHgBwAAAAAAAD//+AAAAAAAAAAAweAPAAAAAAAAP//wAAAAAAAAAABgAA4AAAAAAAA///AAAAAAAAAAADgAPgAAAAAAAD//4AAAAAAAAAAADwB4AAAAAAAAH//gAAAAAAAAAAAD/+AAAAAAAAAP/8AAAAAAAAAAAAB+gAAAAAAAAAf/gAAAAAAAAAAAAAAAAAAAAAAAAfwAAAAAAAAA==</Bitmap>
          <X>60</X>
          <Y>50</Y>
      </DisplayBitmap>
      
      <DisplayString font="f13b" halign="Left">
          <DisplayStr>$I</DisplayStr>
          <X>40</X>
          <Y>35</Y>
      </DisplayString>
      <DisplayString font="f13b" halign="Left">
          <DisplayStr>$h:$m $p</DisplayStr>
          <X>140</X>
          <Y>35</Y>
      </DisplayString>

      <DisplayString font="f13b" halign="Left">
          <DisplayStr>$W  $M, $D, $Y</DisplayStr>
          <X>40</X>
          <Y>115</Y>
      </DisplayString>
      
  </IdleScreen>
</Screen>



Example

In this example, the company name is displayed at the top, the account name, the account number (in the largest font with a leading "x" for "extension"), and the current date. This may be more useful in an corporate or executive environment where the user will almost never need to know what IP address their phone is.

djr: there's no point in having identical output conditioned by a1reg="Yes" and also by a1reg="No". Just leave out the a1reg attribute completely and only include the output once.

gs_screen.xml:
<?xml version="1.0"?>
<Screen>
   <IdleScreen>
       <ShowStatusLine>true</ShowStatusLine>
       <DisplayString font="f10" halign="Center">
           <DisplayStr>Company, Inc.</DisplayStr>
           <X>64</X>
           <Y>0</Y>
       </DisplayString>
       <DisplayString font="f13h" halign="Center" a1reg="No">
           <DisplayStr>$N</DisplayStr>
           <X>64</X>
           <Y>11</Y>
       </DisplayString>
       <DisplayString font="f13b" halign="Center" a1reg="Yes">
           <DisplayStr>$N</DisplayStr>
           <X>64</X>
           <Y>11</Y>
       </DisplayString>
       <DisplayString font="f16h" halign="Center" a1reg="No">
           <DisplayStr>x$X</DisplayStr>
           <X>64</X>
           <Y>23</Y>
       </DisplayString>
       <DisplayString font="f16b" halign="Center" a1reg="Yes">
           <DisplayStr>x$X</DisplayStr>
           <X>64</X>
           <Y>23</Y>
       </DisplayString>
       <DisplayString font="f8" halign="Center">
           <DisplayStr>$W, $M $D, $Y</DisplayStr>
           <X>64</X>
           <Y>40</Y>
       </DisplayString>
   </IdleScreen>
</Screen>
- acabtp

Adding Bitmaps to the XML file


Should you decide to place a custom bitmap in the SCR file theres a few things to note:

First of all, the bitmap must be a 2 color(mono) bitmap that is exactly 130x64 pixels in size. You can do this quite easily in MS Paint. Personally I used fireworks to import whatever logo I was going to use, then did a black color fill on it. After that I just copied and pasted into MS Paint and saved as a Mono BMP file. I'm not exactly sure why the image has to be exactly 130x64 but I assume Grandstream did not make a routine to check the headers of the bitmap image, either that or I'm missing a tag for the image size somewhere. If you use an image smaller than 130x64, the image will not come across properly. If you use a bigger image, the image will not come across at all.

Once you get your bitmap finished, you will need to convert the file to a Base64 string using uuencode or a similar program. Be sure to remove any headers, trailers or line feeds from the output of uuencode.
for instance:
uuencode foobar.bmp temp -m > base64.txt


then if you cat base64.txt you will get something like this:

begin-base64 644 temp
Qk0BQAAAAAAAD4AAAAoAAAAggAAAEAAAAABAAEAAAAAAAAFAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAP///wD/////////////////////wAAAAP//////////
///////////AAAAA/////////////////////8AAAAD/////////////////
////wAAAAP/////////////////////AAAAA/////////////////////8AA
AAD/////////////////////wAAAAPwAAAAA==
====


You then would need to remove the first and the last line, and then all line feeds to produce the following:
Qk0BQAAAAAAAD4AAAAoAAAAggAAAEAAAAABAAEAAAAAAAAFAAAAAAAAAAAAA ...more gibberish... AAAA==


The short way to do all that is this command:

uuencode foo.bmp temp -m | tail -n +2 | head -n -1 | tr -d '\n' > bitmap.txt


Now simply place the base 64 string (without any linefeeds or spaces) between <Bitmap> and </Bitmap> tags in your xml file



- ninthclowd

An easy way to get your .bmp into Base64 without having to download and install a port of uuencode is to just email it to yourself. View the source of the email, and you can copy out the data from the MIME container for the .bmp... it has been conveniently encoded in Base64 for you. - acabtp

- Beau Button

An even easier way to get your .bmp into Base64 is to use this online Base64 encoder

Script for BMP Conversion

Here is a short script for converting a 1-bit BMP to a string suitable for insertion to an idlescreen XML file.

Requires: PHP, uuencode, tr
Configuration: change $tmpdir to suit your system
Input: a file named logo.bmp in the same directory as the script
Output: a file name logo.64 in the same directory as the script

<?php
$tmpdir = "/tmp";

$execstr = "uuencode logo.bmp logo -m > ".$tmpdir."/tmp.64";
exec($execstr,$output);

$lines = file($tmpdir.'/tmp.64');
$lines_out = array();

for($a = 1; $a < count($lines) - 1; $a++) {
       $lines_out$a-1 = $lines$a;
}

file_put_contents($tmpdir.'/tmp2.64',$lines_out);

$execstr = "cat ".$tmpdir."/tmp2.64 | tr -d '\012' > logo.64";
exec($execstr,$output);
?>

- bshep


Create indivudual GXP2000 Idle screens using Apache2(mod_rewrite module), PHP and MySQL

GXP2000 Firmware 1.1.5.15

Using the following apache mod_rewrite rule in http.conf any gs_screen.xml can be created when requested.
RewriteRule ^gxp/([A-Za-z0-9-]+)/gs_screen.xml?$ gxp/php/gs_screen.php?name=$1 [L]

The reason for a rewrite rule is Grandstream fix the file name for the idle screen to "gs_screen.xml" and can not be changed, but we can add to the path to make the path unique for each phone.
The result is www.mydomain.com/gxp/GXP0001 becomes www.mydomain.com/gxp/php/gs_screen.php?name=GXP0001

djr: Almost... the result is www.mydomain.com/gxp.GXP0001/gs_screen.xml becomes the URI shown. That's the point- Grandstream requires that the filename be gs_screen.xml. The question mark at the end of the pattern after screen.xml is extranneous - it makes the final lower-case ell optional, which it isn't.

This rule assumes that the GXP2000's "Idle Screen XML Server Path" is set to www.mydomain.com/gxp/GXP0001
Where GXP0001 matches the SIP user ID in this example of GXP0001
Also "Enable Idle Screen XML Download Yes,HTTP " should be selected.

The end user still has to manually download the custom idlescreen through the use of the keypad, until GrandStream enable us to have some event to automatically do this.

The following is our test (be careful no error checking for records not found etc) PHP script to create a dynamc gs_screen.xml from a mysql database

/var/www/gxp/php/gs_screen.php
<?php
header("Content-type: application/xml");

$cid=$_GET['name'];
$username="asterisk";
$password="asterisk";
$database="asterisk";

mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="SELECT * FROM pbx where cid_num like '$cid'";
$result=mysql_query($query);

$num=mysql_numrows($result);

mysql_close();

$extension=mysql_result($result,0,"extension");
$name=mysql_result($result,0,"name");
$dnd=mysql_result($result,0,"dnd_state");
$dndsm=mysql_result($result,0,"dndsm_state");

$xml_output = "<?xml version=\"1.0\"?>\n";
$xml_output .= "<Screen>\n";
$xml_output .= "<IdleScreen>\n";

//===== Always Display ===================
$xml_output .= "<ShowStatusLine>true</ShowStatusLine>\n";

$xml_output .= "<DisplayString font=\"f8\">\n";
$xml_output .= "<DisplayStr>\$W, \$M \$d</DisplayStr>\n";
$xml_output .= "<X>0</X>\n";
$xml_output .= "<Y>0</Y>\n";
$xml_output .= "</DisplayString>\n";

//===== Display when not Registered ===================

$xml_output .= "<DisplayString font=\"f13h\" halign=\"Center\" a1reg=\"false\">\n";
$xml_output .= "<DisplayStr>\$N</DisplayStr>\n";
$xml_output .= "<X>65</X>\n";
$xml_output .= "<Y>12</Y>\n";
$xml_output .= "</DisplayString>\n";

$xml_output .= "<DisplayString font=\"f13h\" halign=\"Center\" a1reg=\"false\">\n";
$xml_output .= "<DisplayStr>\$X</DisplayStr>\n";
$xml_output .= "<X>65</X>\n";
$xml_output .= "<Y>26</Y>\n";
$xml_output .= "</DisplayString>\n";

$xml_output .= "<DisplayString halign=\"Center\" valign=\"Bottom\" a1reg=\"false\">\n";
$xml_output .= "<DisplayStr>\$I</DisplayStr>\n";
$xml_output .= "<X>65</X>\n";
$xml_output .= "<Y>48</Y>\n";
$xml_output .= "</DisplayString>\n";

//===== Display when Registered ===================

if ($dnd != '0' ){
       $xml_output .= "<DisplayString font=\"f13b\" halign=\"Center\" a1reg=\"true\">\n";
       $xml_output .= "<X>65</X>\n";
       $xml_output .= "<Y>12</Y>\n";
       switch ($dndsm ){
       case '5':
               $xml_output .= "<DisplayStr>IN A MEETING</DisplayStr>\n";
               break;
       case '6':
               $xml_output .= "<DisplayStr>OUT TO LUNCH</DisplayStr>\n";
               break;
       case '7':
               $xml_output .= "<DisplayStr>BE BACK SOON</DisplayStr>\n";
               break;
       case '8':
               $xml_output .= "<DisplayStr>OUT OF OFFICE</DisplayStr>\n";
               break;
       case '9':
               $xml_output .= "<DisplayStr>ON VACATION</DisplayStr>\n";
               break;
       default:
               $xml_output .= "<DisplayStr>DO NOT DISTURB</DisplayStr>\n";
       }
       $xml_output .= "</DisplayString>\n";
}

$xml_output .= "<DisplayString font=\"f13b\" halign=\"Left\" a1reg=\"true\">\n";
$xml_output .= "<DisplayStr>$name</DisplayStr>\n";
$xml_output .= "<X>0</X>\n";
$xml_output .= "<Y>26</Y>\n";
$xml_output .= "</DisplayString>\n";

$xml_output .= "<DisplayString font=\"f13b\" halign=\"Right\" a1reg=\"true\">\n";
$xml_output .= "<DisplayStr>$extension</DisplayStr>\n";
$xml_output .= "<X>131</X>\n";
$xml_output .= "<Y>26</Y>\n";
$xml_output .= "</DisplayString>\n";

$xml_output .= "</IdleScreen>\n";
$xml_output .= "</Screen>\n";

echo $xml_output;
?>


The mysql pbx table
mysql> desc pbx;
o-------------o------------o------o-----o---------o-------o
| Field       | Type       | Null | Key | Default | Extra |
o-------------o------------o------o-----o---------o-------o
| extension   | char(20)   | NO   | PRI | NULL    |       |
| name        | char(20)   | NO   |     | NULL    |       |
| cfa_state   | tinyint(1) | NO   |     | 0       |       |
| cfa_number  | char(20)   | NO   |     | NULL    |       |
| cfb_state   | tinyint(1) | NO   |     | 0       |       |
| cfb_number  | char(20)   | NO   |     | NULL    |       |
| cfna_state  | tinyint(1) | NO   |     | 0       |       |
| cfna_number | char(20)   | NO   |     | NULL    |       |
| dnd_state   | int(11)    | NO   |     | 0       |       |
| dndsm_state | int(11)    | NO   |     | 0       |       |
| vmenb_state | tinyint(1) | NO   |     | 0       |       |
| channel     | char(30)   | NO   |     | NULL    |       |
| cid_num     | char(30)   | NO   |     |         |       |
o-------------o------------o------o-----o---------o-------o


An example record;
mysql> select extension,name,channel,cid_num from pbx where extension like "8522";
o-----------o------------o-------------o---------o
| extension | name       | channel     | cid_num |
o-----------o------------o-------------o---------o
| 8522      | Alec Davis | SIP/GXP0001 | GXP0001 |
o-----------o------------o-------------o---------o


  • FEATURE (Mar27/08) Firmware 1.1.5.15 Ability to automatically refresh IdleScreen as already requested, many times, For DND status, Unavailable Status, Agent Login Status etc. etc. etc.
  The refresh method could be one of the following;
  Similar to GXP2020 SoftKeys action event
<Action>
   <Events>
     <Event>ONHOOK></<Event>
       <UseUrl><URL>mydomain.com/gxp/GXP0001/gs_screen.xml</URL>
       </UseURL>
     </Events>
 </Action>

  or a sip_notify message from the server, or a regular timed download, or a combination of them all.

Looking forward to Grandstream supporting this request. Until then something to start with.

- alecdavis


See Also

Created by Mike, Last modification by David Rodman on Wed 23 of Apr, 2008 [05:52 UTC]

Comments Filter

softkeys

by Josh Patten on Monday 14 of April, 2008 [21:02:38 UTC]
I added the following to the XML script to add the soft keys:
<?xml version="1.0"?>
<SoftKeys>
         <SoftKey>
             <Label>New Call</Label>
             <Action>
                 <NewCall/>
             </Action>
         </SoftKey>
     
     
         <SoftKey>
             <Label>Missed Calls</Label>
             <Action>
                 <MissedCalls/>
             </Action>
         </SoftKey>
    
     
         <SoftKey>
             <Label>Call Return</Label>
             <Action>
                 <CallReturn/>
             </Action>
         </SoftKey>
     </SoftKeys>

NOTE: this doesn't change. It's not exactly like the original screen where the soft keys change based on whether you have any missed calls or anything like that. However, the in-call buttons do change based on the context

Idle Screen disables SoftKeys

by Andy Schmidt on Friday 11 of April, 2008 [21:45:06 UTC]
Just tested with Firmware 1.1.6.16 - and the same bug still exists.
Of course, the XML guide really doesn't apply to the GXP2020 (the available screen size is much bigger) and configuring "ShowStatusLine" as "true" has NO effect either.

So it's possible that there ARE other (undocumented) XML parameters that can be used to enable some features.

But as it currently stands, the custom-idle screen is a NON feature because it disables the soft keys (it's not just a matter of them not displaying, they actually stop WORKING).

Soft keys

by Jon Scott on Tuesday 01 of January, 2008 [04:40:34 UTC]
Has anyone figured out how to get the soft keys working again after you enable the custom LCD display? My BLFs stopped working since I enabled it. Thanks!

Re: Custom Idle Screen looses softkeys

by JemBa on Thursday 15 of November, 2007 [07:07:30 UTC]
Hi,

Same problem here..... did manage to put an bmp image on the with but the "Soft-key" buttons disappear :(
Anyway, I know that it should be written in xml but I still haven't got it working..
hopefully during this day I'll figure it out:P
If anyone knows how to get those buttons on a custom screen, let me know.

Greets

Custom Idle Screen looses softkeys

by Alan on Sunday 11 of November, 2007 [13:41:14 UTC]
We have a GXP 2020 firmware: Boot: 1.1.5.5, Prog: 1.1.5.10, HV: 0.3A
When we create a custome idle screen, it loads, but the default soft keys go away...is there a setting that lets them remain, or do we have to re program those keys into the XML? If we have to program them into XML, does anyone have good documentation for this? The Grandstream document seems to lack in this area.

Custom Idle Screen looses softkeys

by Alan on Saturday 10 of November, 2007 [17:09:07 UTC]
We have a GXP 2020 firmware: Boot: 1.1.5.5, Prog: 1.1.5.10, HV: 0.3A
When we create a custome idle screen, it loads, but the default soft keys go away...is there a setting that lets them remain, or do we have to re program those keys into the XML? If we have to program them into XML, does anyone have good documentation for this? The Grandstream document seems to lack in this area.

Re: Problem with bitmaps

by Matthias Engel on Saturday 20 of October, 2007 [12:20:10 UTC]
Hello!
same problem here.
Unfortunately i read this post too late. When i tryed to upload a smaller image (30X20 pix) my phone freezes imediately after powercycle.
All LED of the phone light up green exept line4. But the Display does not show anything.
Any idea how to rescue may GXP-2000?

Best regards
mateng

Problem with bitmaps

by Richard Toth on Thursday 27 of September, 2007 [12:04:17 UTC]
When i try to put some small bitmap (out logo) into the screen xml file, the phone just freezes an on the display writes A1300. A couldn't find anything about this issue. What i'm doing wrong? If you want to see the data, they are on http://risko.zuzo.sk/voip . The firmware used is 1.1.4.22, i also tried 1.1.4.18.

I guess it was me with the overwrite...

by Tom Beauchamp on Monday 24 of July, 2006 [20:32:12 UTC]
Hey there Mike, sorry, looked at the edit history and I guess it was me who overwrote what you were doing this morning. I was working on my additions for about 15 minutes I guess, and it didn't occur to me to reload before adding them... I'll make sure to check that in the future. Hope the info was still helpful in the long run though.

Re: Variables and Bitmaps

by Mike on Friday 21 of July, 2006 [15:04:20 UTC]
Thanks! I was looking for this stuff myself. :)

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver