日記

2004年07月30日

SER 0.8.14

SER(SIP Express Router)の新版がでてるじゃないか!! (v0.8.14, 2004/7/26)

DBテーブルフォーマットが変わったんで、一度初期化しなきゃいけないらしい。
usrlocテーブルにuser agentフィールドが追加されたそうだ。
ちょっと面倒だけど、0.8.12からの入れ替えをやってみようっと。

今回はちゃんとログを取りながら作業してみよう。

hhiwada at 22:46|PermalinkComments(1)TrackBack(0)

2004年07月24日

CANCELのTo tagとそのレスポンス

ふと疑問に思って、CANCELのTo tagとそのレスポンスのTo tagについて調べてみた。

Rosenberg氏によると...
"the tag in the To field of the CANCEL is irrelevant. However, it is good to have consistent response generation rules."
とあった。

ほかにも「INVITEがTo tagを含むわけが無い以上、CANCELもTo tagがあってはいけないのです。」というzakiさんの文章もある。

RFC3261には
"Regardless of the method of the original request, as long as the CANCEL matched an existing transaction, the UAS answers the CANCEL request itself with a 200 (OK) response. This response is constructed following the procedures described in Section 8.2.6 noting that the To tag of the response to the CANCEL and the To tag in the response to the original request SHOULD be the same."
とある。(Section9.2)

CANCELに対するレスポンスのTo tagは元のリクエストと同じにすべきであると書かれている。

UASはCANCELにTo tagがなければ、200 OKにTo tagを付けようがないと思うのだが。

それにRFC3665のSection 3.8のF14にもTo tagは書かれていない。

正解は何なのだろうか? だれか教えて〜

hhiwada at 01:03|PermalinkComments(2)TrackBack(0)

2004年06月30日

Asterisk

Asteriskってば、難しいなぁ。

でもなんとか自分のAsterisk配下のSIP端末から、Free World DialupのAsterisk経由でFWDの番号へ電話できた。
ウレシー(*^-^*)

参考文献: http://www.fwd.pulver.com/advanced/iax

sip.conf, extentions.conf, iax.confの書き方が徐々に分かってきたみたい。
追記の方にFWD用に設定した内容を残しておこう。

次はVoicemailを動かさなきゃ。続きを読む

hhiwada at 16:04|PermalinkComments(8)TrackBack(1)

2004年03月01日

はじめたのだ

おうちやかいしゃでSIPサーバを使って遊んでるので、メモ書き程度に記録を残しておこうと思います。

hhiwada at 00:34|PermalinkComments(2)TrackBack(0)