返回列表 發帖
怎样show advanced options?

1. 点击在右上角的button
1067a.gif

2. 留意最底部的变化
1067b.gif

3. 多处的options
1067c.gif

TOP

怎样更改login name and password?

有两个方法去修改login name and password.那些credentials放在manager.conf。

第一种方法
ssh login + vi /etc/asterisk/manager.conf

At the end of manager.conf
  1. [admin]
  2. secret=admin
  3.   read=system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
  4.   write=system,call,agent,user,config,command,reporting,originate
複製代碼
在上面"[admin]",是login name:admin。Password放在secret,那么password就是admin。你可以作适当的修改就可以。

第二种方法
1. 先enable advanced options Link
2. 在左右边的advanced otpions里,点击“File Editor”,然后选manager.conf

1068a.gif

修改secret的content就可以更改password
1068b.gif

修改login name就比较复杂一点。就先先creat 一个新的context,然后copy之前”-admin“下的资料,然后save,再apply changes。

TOP

在 ebay 找到這model 喎 "SIEMENS GIGASET VoIP & FIXED LINE CORDLESS PHONE C610A-IP" USD99.99 + USD25.08(shipping fee) , 好似不錯咁 ~~

http://www.ebay.com/itm/SIEMENS- ... 1e8045c0bb#shpCntId

TOP

我们一般都用三个handsets, 看来不出来eBay这个offer有几个handsets?

TOP

本帖最後由 角色 於 2013-10-15 23:25 編輯

Internal SIP call

Extension 6000 = SIP Client 1(IP Phone)
Extension 6001 = SIP Client 2(Zoiper softphone)

1. Create a dialplan
1069a.gif

1069b.gif

1069c.gif

2. Create two extensions
1070a.gif

2a. Create Extension 6000
1070b.gif

2b. Create Extension 6001
1070c.gif


3. Apply changes
1070d.gif


4. SIP Client 1 (IP Phone)
1071a.gif


5. SIP Client 2 (Zoiper Softphone)
1071b.gif


6. Test
1071c.gif

TOP

Asterisk-GUI的Voicemail又出问题!

TOP

是什麼問題 ? 明天星期六 , 又開始我要set asterisk 了 , 要試下 setup trunks 先 !

TOP

一set就出问题,连互打都不成功!说有error。因为我没有用过,估计是不会set。

TOP

Echo Test

大家可以参考下面文章:

http://www.telecom-cafe.com/foru ... =4714&pid=24658

但是RP的Asterisk-GUi已经没有Custom这个application了。

TOP

本帖最後由 角色 於 2013-11-8 00:01 編輯

Asterisk-GUI Settings for NWT Internet/Broadband Phone

Please note that the softswitch (Huawei SoftX3000 V300R010) of NWT is the same as ComNet Phone using, therefore the settings for ComNet Phone is also applicable to NWT Phone.
  1. <--- SIP read from UDP:203.176.254.198:5060 --->
  2. INVITE sip:33445566@192.168.88.100:5060;user=phone SIP/2.0
  3. Via: SIP/2.0/UDP 203.176.254.198:5060;branch=z9hG4bKblxcvluokkhnjxnjo78civlhv
  4. Call-ID: SBCqlhluppq5cuxwcpxgmgcwulbygvvvgcy@SoftX3000
  5. From: <sip:96331111@203.176.254.198>;tag=wq8xxuul-CC-22
  6. To: <sip:33445566@58.153.143.183:30628;user=phone>
  7. CSeq: 1 INVITE
  8. Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
  9. Max-Forwards: 70
  10. Supported: 100rel
  11. User-Agent: Huawei SoftX3000 V300R010
  12. Contact: <sip:96331111@203.176.254.198:5060;user=phone>
  13. Content-Length: 427
  14. Content-Type: application/sdp

  15. v=0
  16. o=HuaweiSoftX3000 93845972 93845972 IN IP4 203.176.254.198
  17. s=Sip Call
  18. c=IN IP4 203.176.254.198
  19. t=0 0
  20. m=audio 23684 RTP/AVP 8 0 18 4 2 97 98 101
  21. a=rtpmap:8 PCMA/8000
  22. a=rtpmap:0 PCMU/8000
  23. a=rtpmap:18 G729/8000
  24. a=rtpmap:4 G723/8000
  25. a=rtpmap:2 G726-32/8000
  26. a=rtpmap:97 G726-40/8000
  27. a=rtpmap:98 G726-32/8000
  28. a=rtpmap:101 telephone-event/8000
  29. a=ptime:20
  30. a=fmtp:101 0-15
  31. a=fmtp:18 annexb=yes
  32. a=fmtp:4 annexa=yes
複製代碼
1. Create the NWT VoIP Trunk
1088a.gif

and then re-edit again to add the follwing settings:
1088b.gif

2. Create the outgoing rule for NWT Trunk
1088e.gif

3. Create the dialplan to include the NWT VoIP Trunk
1088f.gif

4. Create a user to use the dialplan
1088g.gif

5. Inbound call settings
1088c.gif

6. Other settings for outbound call (if not set, callee will not able to receive the call)
1088d.gif

7. Apply changes
1088h.gif

8. Minimum 300 seconds
  1. handle_response_register: Got 423 Interval too brief for service 333445566@ngn2.nwtbb.com, minimum is 300 seconds
複製代碼
Using the File Editor (Advanced mode) to add the switch "defaultexpirey=300" to the users.conf under the NWT trunk. For details, pleas take a look the following scripts:

1090.gif

TOP

VoIP Trunk除了NWT NetTalk,HKBN 2b,ComNet Phone,现在还可以用3G Modem!做Trunk。

TOP

係咩.
但係MANUAL人手SET trunk.

TOP

本帖最後由 角色 於 2013-11-8 01:18 編輯

Asterisk-GUI Settings for ComNet Phone

Please note the soft switch employed in ComNet Phone is a Huawei SoftSwitch "HuaweiSoftX3000"
  1. <--- Transmitting (NAT) to 192.168.88.249:5060 --->
  2. SIP/2.0 180 Ringing
  3. Via: SIP/2.0/UDP 192.168.88.249:5060;branch=z9hG4bK-d8754z-b7b0e2881d6f8659-1---d8754z-;received=192.168.88.249;rport=5060
  4. From: "6001"<sip:6001@192.168.88.100;transport=UDP>;tag=8a5ff34d
  5. To: <sip:1878200@192.168.88.100;transport=UDP>;tag=as76214c7a
  6. Call-ID: NDk3OGUwZTlmYjFiNTExNWQwZDJjMTRhM2U5MDdiOTM.
  7. CSeq: 1 INVITE
  8. Server: Asterisk PBX
  9. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
  10. Supported: replaces, timer
  11. Contact: <sip:1878200@192.168.88.100:5060>
  12. Content-Length: 0


  13. <------------>
  14.     -- SIP/trunk_1-00000025 is making progress passing it to SIP/6001-00000024
  15. Audio is at 18618
  16. Adding codec 100003 (ulaw) to SDP

  17. <--- SIP read from UDP:202.0.179.3:5060 --->
  18. SIP/2.0 200 OK
  19. From: "asterisk" <sip:85235010617@192.168.88.100:5060>;tag=as29b58819
  20. To: <sip:1878200@202.0.179.3>;tag=fa4e3fa8
  21. CSeq: 103 INVITE
  22. Call-ID: 2c672c914ce39bbb6f170df52d4e9103@192.168.88.100:5060
  23. Via: SIP/2.0/UDP 192.168.88.100:5060;branch=z9hG4bK571a7528;rport=5060
  24. Contact: <sip:1878200@202.0.179.3:5060;user=phone>
  25. Content-Length: 200
  26. Content-Type: application/sdp

  27. v=0
  28. o=HuaweiSoftX3000 7283948 7283949 IN IP4 202.0.179.3
  29. s=Sip Call
  30. c=IN IP4 202.0.179.3
  31. t=0 0
  32. m=audio 18220 RTP/AVP 0 97
  33. a=rtpmap:0 PCMU/8000
  34. a=rtpmap:97 telephone-event/8000
  35. a=fmtp:97 0-15
  36. <------------->
  37. --- (9 headers 9 lines) ---
  38. Found RTP audio format 0
  39. Adding codec 100004 (alaw) to SDP
  40. Adding non-codec 0x1 (telephone-event) to SDP
複製代碼
1. Go to the left-side menu, select Options and then followed by choosing the Show Advanced Options. Click the SIP Settings and tick the checkbox of "Pedantic", as shown in the following figure (without the tick at "Pedantic" check box, you are not able to get the registration worked)

1091.gif

2. Create a VoIP SIP Trunk
1092a.gif

And then re-edit again to add more itemss
1092b.gif

3. Create a dialling prefix
1092c.gif




Edit dialplan to add outbound SIP Trunk "NWT NetTalk"
1092d.gif

Inbound settings
1092e.gif

Edit asterisk.conf and then add the term "internal_timing=yes"
1092f.gif

TOP

本帖最後由 角色 於 2013-11-8 22:00 編輯

Asterisk-GUI Settings for HKBN 2b Trunk

1. Create VoIP Trunk
1093a.gif

Further modify the trunk by editing.
1093b.gif

Using an editor like vi to add the following line at the end of /etc/hosts
203.80.89.135   s2hkbntel.net s21.hkbntel.net

2. Create dial prefix
1093c.gif

3. Add the default dial plan
1093d.gif

4. Add the incoming settings:
1093e.gif

5. Reboot the system

6. Check the system status
1094.gif

1093f.gif (6.43 KB)

1093f.gif

TOP

終於可以回覆了,在這我要強烈地多謝角色的幫助,才可成功在asterisk gui 使用nwt .
剛去完旅行,有時間會寫下我個人在synology compile asterisk 的流程, iptables fail2ban .
50 字節以內
不支持自定義 Discuz! 代碼

TOP

返回列表