「Aastra XML」の版間の差分

提供: VoIP-Info.jp
移動先: 案内検索
(SPAM削除)
(XMLブラウザ)
8行目: 8行目:
 
:メッセージ表示以外にもグラフィックも可能
 
:メッセージ表示以外にもグラフィックも可能
 
:LEDの制御可能
 
:LEDの制御可能
==XMLブラウザ==
+
comment2, <a href="http://fantastic-four.step0ne.co.cc/2007-bmw-3-series.html">2007 bmw 3 series</a>, [url="http://fantastic-four.step0ne.co.cc/2007-bmw-3-series.html"]2007 bmw 3 series[/url], http://fantastic-four.step0ne.co.cc/2007-bmw-3-series.html 2007 bmw 3 series,  rle, <a href="http://book-review.step0ne.co.cc/white-castle-hamburger.html">white castle hamburger</a>, [url="http://book-review.step0ne.co.cc/white-castle-hamburger.html"]white castle hamburger[/url], http://book-review.step0ne.co.cc/white-castle-hamburger.html white castle hamburger,  8679, <a href="http://in-a.step0ne.co.cc/toro-lawnmower-replacement-parts.html">toro lawnmower replacement parts</a>, [url="http://in-a.step0ne.co.cc/toro-lawnmower-replacement-parts.html"]toro lawnmower replacement parts[/url], http://in-a.step0ne.co.cc/toro-lawnmower-replacement-parts.html toro lawnmower replacement parts,  gdhd, <a href="http://irish-castle.step0ne.co.cc/paso-robles-to-hearst-castle.html">paso robles to hearst castle</a>, [url="http://irish-castle.step0ne.co.cc/paso-robles-to-hearst-castle.html"]paso robles to hearst castle[/url], http://irish-castle.step0ne.co.cc/paso-robles-to-hearst-castle.html paso robles to hearst castle,  hbi, <a href="http://rabbits-review.step0ne.co.cc/jan-murray-photo.html">jan murray photo</a>, [url="http://rabbits-review.step0ne.co.cc/jan-murray-photo.html"]jan murray photo[/url], http://rabbits-review.step0ne.co.cc/jan-murray-photo.html jan murray photo,  867731, <a href="http://fantastic-four.step0ne.co.cc/cat-osterman-pics.html">cat osterman pics</a>, [url="http://fantastic-four.step0ne.co.cc/cat-osterman-pics.html"]cat osterman pics[/url], http://fantastic-four.step0ne.co.cc/cat-osterman-pics.html cat osterman pics,  8]]], <a href="http://fantastic-four.step0ne.co.cc/backpack-laptop-case.html">backpack laptop case</a>, [url="http://fantastic-four.step0ne.co.cc/backpack-laptop-case.html"]backpack laptop case[/url], http://fantastic-four.step0ne.co.cc/backpack-laptop-case.html backpack laptop case,  >:DD, <a href="http://castells-of.step0ne.co.cc/swing-dancing-basic-steps.html">swing dancing basic steps</a>, [url="http://castells-of.step0ne.co.cc/swing-dancing-basic-steps.html"]swing dancing basic steps[/url], http://castells-of.step0ne.co.cc/swing-dancing-basic-steps.html swing dancing basic steps,  :], <a href="http://fantastic-four.step0ne.co.cc/bad-body-odor.html">bad body odor</a>, [url="http://fantastic-four.step0ne.co.cc/bad-body-odor.html"]bad body odor[/url], http://fantastic-four.step0ne.co.cc/bad-body-odor.html bad body odor,  8-(, <a href="http://mobile-suit.step0ne.co.cc/home-mortgage-current-prime-rate.html">home mortgage current prime rate</a>, [url="http://mobile-suit.step0ne.co.cc/home-mortgage-current-prime-rate.html"]home mortgage current prime rate[/url], http://mobile-suit.step0ne.co.cc/home-mortgage-current-prime-rate.html home mortgage current prime rate,  558391, <a href="http://book-review.step0ne.co.cc/drunk-girls-spring-break-pics.html">drunk girls spring break pics</a>, [url="http://book-review.step0ne.co.cc/drunk-girls-spring-break-pics.html"]drunk girls spring break pics[/url], http://book-review.step0ne.co.cc/drunk-girls-spring-break-pics.html drunk girls spring break pics,  6343, <a href="http://best-cat.step0ne.co.cc/swimsuit-model-brooklyn-decker.html">swimsuit model brooklyn decker</a>, [url="http://best-cat.step0ne.co.cc/swimsuit-model-brooklyn-decker.html"]swimsuit model brooklyn decker[/url], http://best-cat.step0ne.co.cc/swimsuit-model-brooklyn-decker.html swimsuit model brooklyn decker,  423423, <a href="http://fantastic-four.step0ne.co.cc/used-toro-dingo.html">used toro dingo</a>, [url="http://fantastic-four.step0ne.co.cc/used-toro-dingo.html"]used toro dingo[/url], http://fantastic-four.step0ne.co.cc/used-toro-dingo.html used toro dingo,  6606, <a href="http://book-review.step0ne.co.cc/groucho-marx-stock-market.html">groucho marx stock market</a>, [url="http://book-review.step0ne.co.cc/groucho-marx-stock-market.html"]groucho marx stock market[/url], http://book-review.step0ne.co.cc/groucho-marx-stock-market.html groucho marx stock market,  naiqs, <a href="http://sun-protection.step0ne.co.cc/crazy-frog-popcorn-radio-disney.html">crazy frog popcorn radio disney</a>, [url="http://sun-protection.step0ne.co.cc/crazy-frog-popcorn-radio-disney.html"]crazy frog popcorn radio disney[/url], http://sun-protection.step0ne.co.cc/crazy-frog-popcorn-radio-disney.html crazy frog popcorn radio disney,  161187, <a href="http://in-a.step0ne.co.cc/groucho-marx-items.html">groucho marx items</a>, [url="http://in-a.step0ne.co.cc/groucho-marx-items.html"]groucho marx items[/url], http://in-a.step0ne.co.cc/groucho-marx-items.html groucho marx items,  89767, <a href="http://rabbits-review.step0ne.co.cc/classic-stars-of-porn.html">classic stars of porn</a>, [url="http://rabbits-review.step0ne.co.cc/classic-stars-of-porn.html"]classic stars of porn[/url], http://rabbits-review.step0ne.co.cc/classic-stars-of-porn.html classic stars of porn,  8-P, <a href="http://fighter-jet.step0ne.co.cc/good-diet-to-lower-cholesterol.html">good diet to lower cholesterol</a>, [url="http://fighter-jet.step0ne.co.cc/good-diet-to-lower-cholesterol.html"]good diet to lower cholesterol[/url], http://fighter-jet.step0ne.co.cc/good-diet-to-lower-cholesterol.html good diet to lower cholesterol,  247760, <a href="http://mobile-suit.step0ne.co.cc/first-james-bond-actor.html">first james bond actor</a>, [url="http://mobile-suit.step0ne.co.cc/first-james-bond-actor.html"]first james bond actor[/url], http://mobile-suit.step0ne.co.cc/first-james-bond-actor.html first james bond actor,  =), <a href="http://sun-protection.step0ne.co.cc/foldable-pet-stairs.html">foldable pet stairs</a>, [url="http://sun-protection.step0ne.co.cc/foldable-pet-stairs.html"]foldable pet stairs[/url], http://sun-protection.step0ne.co.cc/foldable-pet-stairs.html foldable pet stairs,  8OO, <a href="http://rabbits-review.step0ne.co.cc/what-are-the-olympic-rings.html">what are the olympic rings</a>, [url="http://rabbits-review.step0ne.co.cc/what-are-the-olympic-rings.html"]what are the olympic rings[/url], http://rabbits-review.step0ne.co.cc/what-are-the-olympic-rings.html what are the olympic rings,  ozw,
[[Aastra 57i]]はXMLブラウザの機能を持っているためXMLでのサービスを使用することができます。デモ用アプリケーションがAAstraから提供されています。<br>
+
 
http://www.aastratelecom.com/cps/rde/xchg/SID-3D8CCB73-FF4FABF6/03/hs.xsl/23485.htm<br>
 
設定方法は簡単でファンクションキーのひとつのTypeをXMLにし、ラベルを指定した後にValueにURLを設定します。
 
たとえばKey1のTypeをXML、LabelをCNN NewsとしValueに http://65.205.71.13/xml/rss/rss.php?feed=cnn を記述すれば電話機のボタンを押してCNN Newsを見ることができます。
 
 
==XMLによる電話機制御==
 
==XMLによる電話機制御==
 
電話機に対してXMLを投げるとLEDが制御できたりメッセージが表示できたりします。HTTP POSTで投げるだけですが、どこから投げてもいいわけではなく、Configuration Server SettingsでXML Push Server List(Approved IP Addresses)の項目でPushするサーバのIPアドレスを設定しておきます。<br>
 
電話機に対してXMLを投げるとLEDが制御できたりメッセージが表示できたりします。HTTP POSTで投げるだけですが、どこから投げてもいいわけではなく、Configuration Server SettingsでXML Push Server List(Approved IP Addresses)の項目でPushするサーバのIPアドレスを設定しておきます。<br>

2008年10月13日 (月) 23:05時点における版

Aastraの多くの電話機はXMLでの制御をサポートしていますが、機種によってサポートレベルは異なります。

  • 9133i
プログラマブルキー、状態によるXMLの実行
テキストメッセージの表示
LEDの制御は行えない
  • 57i
最上位機種のため、ほぼフルコントロール
メッセージ表示以外にもグラフィックも可能
LEDの制御可能

comment2, <a href="http://fantastic-four.step0ne.co.cc/2007-bmw-3-series.html">2007 bmw 3 series</a>, [url="http://fantastic-four.step0ne.co.cc/2007-bmw-3-series.html"]2007 bmw 3 series[/url], http://fantastic-four.step0ne.co.cc/2007-bmw-3-series.html 2007 bmw 3 series, rle, <a href="http://book-review.step0ne.co.cc/white-castle-hamburger.html">white castle hamburger</a>, [url="http://book-review.step0ne.co.cc/white-castle-hamburger.html"]white castle hamburger[/url], http://book-review.step0ne.co.cc/white-castle-hamburger.html white castle hamburger, 8679, <a href="http://in-a.step0ne.co.cc/toro-lawnmower-replacement-parts.html">toro lawnmower replacement parts</a>, [url="http://in-a.step0ne.co.cc/toro-lawnmower-replacement-parts.html"]toro lawnmower replacement parts[/url], http://in-a.step0ne.co.cc/toro-lawnmower-replacement-parts.html toro lawnmower replacement parts, gdhd, <a href="http://irish-castle.step0ne.co.cc/paso-robles-to-hearst-castle.html">paso robles to hearst castle</a>, [url="http://irish-castle.step0ne.co.cc/paso-robles-to-hearst-castle.html"]paso robles to hearst castle[/url], http://irish-castle.step0ne.co.cc/paso-robles-to-hearst-castle.html paso robles to hearst castle, hbi, <a href="http://rabbits-review.step0ne.co.cc/jan-murray-photo.html">jan murray photo</a>, [url="http://rabbits-review.step0ne.co.cc/jan-murray-photo.html"]jan murray photo[/url], http://rabbits-review.step0ne.co.cc/jan-murray-photo.html jan murray photo, 867731, <a href="http://fantastic-four.step0ne.co.cc/cat-osterman-pics.html">cat osterman pics</a>, [url="http://fantastic-four.step0ne.co.cc/cat-osterman-pics.html"]cat osterman pics[/url], http://fantastic-four.step0ne.co.cc/cat-osterman-pics.html cat osterman pics, 8]]], <a href="http://fantastic-four.step0ne.co.cc/backpack-laptop-case.html">backpack laptop case</a>, [url="http://fantastic-four.step0ne.co.cc/backpack-laptop-case.html"]backpack laptop case[/url], http://fantastic-four.step0ne.co.cc/backpack-laptop-case.html backpack laptop case, >:DD, <a href="http://castells-of.step0ne.co.cc/swing-dancing-basic-steps.html">swing dancing basic steps</a>, [url="http://castells-of.step0ne.co.cc/swing-dancing-basic-steps.html"]swing dancing basic steps[/url], http://castells-of.step0ne.co.cc/swing-dancing-basic-steps.html swing dancing basic steps,  :], <a href="http://fantastic-four.step0ne.co.cc/bad-body-odor.html">bad body odor</a>, [url="http://fantastic-four.step0ne.co.cc/bad-body-odor.html"]bad body odor[/url], http://fantastic-four.step0ne.co.cc/bad-body-odor.html bad body odor, 8-(, <a href="http://mobile-suit.step0ne.co.cc/home-mortgage-current-prime-rate.html">home mortgage current prime rate</a>, [url="http://mobile-suit.step0ne.co.cc/home-mortgage-current-prime-rate.html"]home mortgage current prime rate[/url], http://mobile-suit.step0ne.co.cc/home-mortgage-current-prime-rate.html home mortgage current prime rate, 558391, <a href="http://book-review.step0ne.co.cc/drunk-girls-spring-break-pics.html">drunk girls spring break pics</a>, [url="http://book-review.step0ne.co.cc/drunk-girls-spring-break-pics.html"]drunk girls spring break pics[/url], http://book-review.step0ne.co.cc/drunk-girls-spring-break-pics.html drunk girls spring break pics, 6343, <a href="http://best-cat.step0ne.co.cc/swimsuit-model-brooklyn-decker.html">swimsuit model brooklyn decker</a>, [url="http://best-cat.step0ne.co.cc/swimsuit-model-brooklyn-decker.html"]swimsuit model brooklyn decker[/url], http://best-cat.step0ne.co.cc/swimsuit-model-brooklyn-decker.html swimsuit model brooklyn decker, 423423, <a href="http://fantastic-four.step0ne.co.cc/used-toro-dingo.html">used toro dingo</a>, [url="http://fantastic-four.step0ne.co.cc/used-toro-dingo.html"]used toro dingo[/url], http://fantastic-four.step0ne.co.cc/used-toro-dingo.html used toro dingo, 6606, <a href="http://book-review.step0ne.co.cc/groucho-marx-stock-market.html">groucho marx stock market</a>, [url="http://book-review.step0ne.co.cc/groucho-marx-stock-market.html"]groucho marx stock market[/url], http://book-review.step0ne.co.cc/groucho-marx-stock-market.html groucho marx stock market, naiqs, <a href="http://sun-protection.step0ne.co.cc/crazy-frog-popcorn-radio-disney.html">crazy frog popcorn radio disney</a>, [url="http://sun-protection.step0ne.co.cc/crazy-frog-popcorn-radio-disney.html"]crazy frog popcorn radio disney[/url], http://sun-protection.step0ne.co.cc/crazy-frog-popcorn-radio-disney.html crazy frog popcorn radio disney, 161187, <a href="http://in-a.step0ne.co.cc/groucho-marx-items.html">groucho marx items</a>, [url="http://in-a.step0ne.co.cc/groucho-marx-items.html"]groucho marx items[/url], http://in-a.step0ne.co.cc/groucho-marx-items.html groucho marx items, 89767, <a href="http://rabbits-review.step0ne.co.cc/classic-stars-of-porn.html">classic stars of porn</a>, [url="http://rabbits-review.step0ne.co.cc/classic-stars-of-porn.html"]classic stars of porn[/url], http://rabbits-review.step0ne.co.cc/classic-stars-of-porn.html classic stars of porn, 8-P, <a href="http://fighter-jet.step0ne.co.cc/good-diet-to-lower-cholesterol.html">good diet to lower cholesterol</a>, [url="http://fighter-jet.step0ne.co.cc/good-diet-to-lower-cholesterol.html"]good diet to lower cholesterol[/url], http://fighter-jet.step0ne.co.cc/good-diet-to-lower-cholesterol.html good diet to lower cholesterol, 247760, <a href="http://mobile-suit.step0ne.co.cc/first-james-bond-actor.html">first james bond actor</a>, [url="http://mobile-suit.step0ne.co.cc/first-james-bond-actor.html"]first james bond actor[/url], http://mobile-suit.step0ne.co.cc/first-james-bond-actor.html first james bond actor, =), <a href="http://sun-protection.step0ne.co.cc/foldable-pet-stairs.html">foldable pet stairs</a>, [url="http://sun-protection.step0ne.co.cc/foldable-pet-stairs.html"]foldable pet stairs[/url], http://sun-protection.step0ne.co.cc/foldable-pet-stairs.html foldable pet stairs, 8OO, <a href="http://rabbits-review.step0ne.co.cc/what-are-the-olympic-rings.html">what are the olympic rings</a>, [url="http://rabbits-review.step0ne.co.cc/what-are-the-olympic-rings.html"]what are the olympic rings[/url], http://rabbits-review.step0ne.co.cc/what-are-the-olympic-rings.html what are the olympic rings, ozw,

XMLによる電話機制御

電話機に対してXMLを投げるとLEDが制御できたりメッセージが表示できたりします。HTTP POSTで投げるだけですが、どこから投げてもいいわけではなく、Configuration Server SettingsでXML Push Server List(Approved IP Addresses)の項目でPushするサーバのIPアドレスを設定しておきます。

LED制御(57i)

Softkey3(左下)のLEDを制御するにはperlではこんな感じで出来ます(デベロッパ・ガイドのコードを流用)。

#!/usr/bin/perl
# Create a user agent object
use LWP::UserAgent;
use LWP::ConnCache;
use HTTP::Request::Common;
my $ua = LWP::UserAgent->new(agent => 'Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)');
$ua->conn_cache(LWP::ConnCache->new());
$ua->request(
        POST 'http://電話機のIPアドレス',
                Content_Type => 'application/x-www-form-urlencoded',
                Content =>
                'xml=<AastraIPPhoneExecute>
                        <ExecuteItem URI="Led: softkey3=slowflash"/>
                </AastraIPPhoneExecute>');

softkey3=の部分はon,off,slowflash,fastflashが指定できます。
なお、制御できるLEDは、そのキーの設定が'XML'になっているものだけです。他の機能を割り当てている場合にはLEDは制御できません。

テキストメッセージ表示(57i,9113i)

これも割りと簡単です。

#!/usr/bin/perl
# Create a user agent object
use LWP::UserAgent;
use LWP::ConnCache;
use HTTP::Request::Common;
my $ua = LWP::UserAgent->new(agent => 'Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)');
$ua->conn_cache(LWP::ConnCache->new());
$ua->request(
        POST 'http://電話機のIPアドレス',
                Content_Type => 'application/x-www-form-urlencoded',
                Content =>
                'xml=<AastraIPPhoneTextScreen beep="yes">
                        <Title>TEST</Title>
                        <Text>This is Test</Text>
                </AastraIPPhoneTextScreen>');

電話機にダイヤルさせる(57i)

こんなこともできます。

#!/usr/bin/perl
# Create a user agent object
use LWP::UserAgent;
use LWP::ConnCache;
use HTTP::Request::Common;
my $ua = LWP::UserAgent->new(agent => 'Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)');
$ua->conn_cache(LWP::ConnCache->new());
$ua->request(
        POST 'http://電話機のIPアドレス',
                Content_Type => 'application/x-www-form-urlencoded',
                Content =>
                'xml=<AastraIPPhoneExecute Beep="yes">
                        <ExecuteItem URI="Dial:300" interruptCall="no"/>
                </AastraIPPhoneExecute>');

ドキュメントではDial: 300のようにコロンの後ろに空白があるのですが、空白が入っていると' 300'にダイヤルしようとしてしまうようです。

ドキュメント

http://www.aastratelecom.com/cps/rde/xchg/SID-3D8CCB73-0B583F03/03/hs.xsl/21880.htm
この下の方にあるDevelopment Guideにドキュメントとサンプルコードがあります。