Asterisk配置兩部SIP軟電話

2021-08-29 19:10:44 字數 1199 閱讀 6728

用兩個sip**通過asterisk服務互通打**,需要配置sip.conf,extension.conf:

sip.conf

[general]

context=default;預設進入的撥號方案

allowoverlap=no

bindport=5060;監聽埠

bindaddr=0.0.0.0;監聽所有過來的**

srvlookup=yes

[101]

type=friend;使用者型別

secret=101;密碼

host=dynamic;動態ip

context=internal;extension撥號方案

username=101;使用者名稱

callgroup=1;呼叫組

pickupgroup=1;可以搶接與callgroup號相同的**

[102]

type=friend;使用者型別

secret=102;密碼

host=dynamic;動態ip

context=internal;extension撥號方案

username=102;使用者名稱

callgroup=1;呼叫組

pickupgroup=1;可以搶接與callgroup號相同的**

extension.conf

[default]

[internal]

exten=>101,1,dial(sip/101,20);20是超時秒數

exten=>102,1,dial(sip/102,20)

若要配置會議**

在meetme.conf中寫入

[general]

[rooms]

conf=>1001;conf=>1001,1,2;1是使用者密碼,2是管理員密碼

在extension.conf中加入

exten=>1234,1,meetme(1001||);不需要加密碼

若要使用呼叫駐留,在extension.conf中加入

include=>parkedcalls

exten=>101,dial(sip/102,,t)

exten=>102,dial(sip/102,,t)

若要使用免打擾,在extension.conf中加入

exten=>104,1,zapateller(nocallerid)

兩部好電影!

這兩部是什麼電影呢?為什麼我要說好呢?第一部 國產喜劇片 十全九美!第二部 南韓片 空房間!為什麼說好呢?1.最近工作太忙,一直沒有時間看電影,閒暇之時,隨便觀之,竟然欲罷不能!遂一口氣看完。十全九美入選理由 詼諧,諷刺,在灰色的幽默中,諷刺著當今的世俗!高,真是高 好,真是好!缺一門,好,萬物都有...

Asterisk配置SIP伺服器

要配置sip伺服器,前提是要先安裝了asterisk 1.編輯sip.conf 進入到 etc asterisk 後,vi sip.conf general allowoverlap no bindport 5060 bindaddr 0.0.0.0 srvlookup yes qualify ye...

Asterisk配置SIP伺服器

要配置sip伺服器,前提是要先安裝了asterisk 1.編輯sip.conf 進入到 etc asterisk 後,vi sip.conf general allowoverlap no bindport 5060 bindaddr 0.0.0.0 srvlookup yes qualify ye...