Horas and konnichiwa untuk semua


Asterisk dialplan patterns
March 1, 2007, 11:57 am
Filed under: notes/General

X matches any digit from 0-9
Z matches any digit form 1-9
N matches any digit from 2-9
[1237-9] matches any digit or letter in the brackets
(in this example, 1,2,3,7,8,9)
. wildcard, matches one or more characters
! wildcard, matches zero or more characters immediately
(only Asterisk 1.2 and later, see note)

References:
voip-info.org



sip.conf settings
March 1, 2007, 11:47 am
Filed under: notes/General

Keywords used in sip.conf settings:

[general]

* allow -- 有効なコーデックの指定
* allowguest -- パスワードの認証が必要かどうか
* allowexternaldomains -- ドメインによってはじくかどうか
* allowexternalinvites -- 外部への INVITE と REFER コマンドを使用するかどうか(使用不可)
* autocreatepeer -- peer としての設定のされていないユーザからの Register を許可するかどうか
* autodomain -- 「domain」「bindaddr」「externip」「externhost」で設定された値を、ドメインリストに追加するかどうか
* bindaddr -- このサーバで接続を待ち受けるIPアドレス
* bindport -- このサーバで接続を待ち受けるポート番号
* callerid -- コーラ ID の指定
* callevents -- 外部プログラムを使用するかどうか
* canreinvite --
* checkmwi
* compactheaders
* context
* defaultexpiry
* disallow
* domain -- このサーバに割り当てるドメイン
* dtmfmode
* externhost
* externip
* externrefresh
* fromdomain
* ignoreregexpire
* insecure
* language
* localnet
* localmask
* maxexpiry
* musicclass
* nat
* notifymimetype
* notifyringing
* ospauth
* outboundproxy
* outboundproxyport
* pedantic
* progressinband
* promiscredir
* realm
* recordhistory
* regcontext
* register
* registerattempts
* registertimeout
* relaxdtmf
* rtautoclear
* rtcachefriends
* rtpholdtimeout
* rtpkeepalive
* rtptimeout
* rtupdate
* sendrpid
* sipdebug -- SIPの動作部分のみのデバッグ情報を出力する
* srvlookup
* subscribecontext
* tos
* trustrpid
* useclientcode
* useragent
* usereqphone
* videosupport
* vmexten

[peer/user]

* accountcode
* allow
* allowguest
* amaflags
* auth
* call-limit
* callerid
* callgroup
* callingpres
* canreinvite
* context
* defaultip
* deny
* disallow
* dtmfmode
* fromdomain
* fromuser
* fullcontact
* host
* incominglimit
* insecure
* ipaddr
* language
* mailbox
* md5secret
* musiconhold
* name
* nat
* ospauth
* outboundproxy
* permit
* pickupgroup
* port
* progressinband
* promiscredir
* qualify
* regexten
* regseconds
* restrictcid
* rtpholdtimeout
* rtpkeepalive
* rtptimeout
* secret
* sendrpid
* setvar
* subscribecontext
* trustrpid
* useclientcode
* usereqphone
* username
* vmexten

Reference:

http://asterisk.phalanx.co.jp/index.php?sip.conf



Bridge mode for VMWare Player
March 1, 2007, 11:45 am
Filed under: notes/General

This is how to set guest OS to use bridged mode (for example installing Trixbox, see http://arnold.siboro.org/blog/en/?p=41).

Guest OS is Windows 2003 Server with two NICs, one connected to global network, one to private network. The guest OS should be connected via bridged connection to private network.

Go to VMWare Player install directory and run vmnetcfg.exe. Click “自動ブリッジ” tab and see the virtual NIC that is bridged (usually, or perhaps always, VMnet0). Then click “ホスト仮想ネットワークの割当”, and at VMnet0 select the host OS NIC that is connected to private network.
Then start VMWare player with the guest OS, set the player’s Ethernet to Bridged. Settings are finished for host OS and player side.
Now go to guest OS and set the network connection accordingly. For example, if the host OS is CentOS (or other Linuxes), set /etc/sysconfig/network-scripts/ifcfg-eth0 to something like this:


DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
HWADDR=00:0C:29:03:7A:9D
IPADDR=172.31.31.3
NETMASK=255.255.255.0
NETWORK=172.31.31.0
BROADCAST=172.31.31.255
GATEWAY=172.31.31.1

Reference:
http://www37.tok2.com/home/nobusan/multi_boot/vmware/vmware.html




Follow

Get every new post delivered to your Inbox.