本帖最後由 角色 於 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.- <--- SIP read from UDP:203.176.254.198:5060 --->
- INVITE sip:33445566@192.168.88.100:5060;user=phone SIP/2.0
- Via: SIP/2.0/UDP 203.176.254.198:5060;branch=z9hG4bKblxcvluokkhnjxnjo78civlhv
- Call-ID: SBCqlhluppq5cuxwcpxgmgcwulbygvvvgcy@SoftX3000
- From: <sip:96331111@203.176.254.198>;tag=wq8xxuul-CC-22
- To: <sip:33445566@58.153.143.183:30628;user=phone>
- CSeq: 1 INVITE
- Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
- Max-Forwards: 70
- Supported: 100rel
- User-Agent: Huawei SoftX3000 V300R010
- Contact: <sip:96331111@203.176.254.198:5060;user=phone>
- Content-Length: 427
- Content-Type: application/sdp
- v=0
- o=HuaweiSoftX3000 93845972 93845972 IN IP4 203.176.254.198
- s=Sip Call
- c=IN IP4 203.176.254.198
- t=0 0
- m=audio 23684 RTP/AVP 8 0 18 4 2 97 98 101
- a=rtpmap:8 PCMA/8000
- a=rtpmap:0 PCMU/8000
- a=rtpmap:18 G729/8000
- a=rtpmap:4 G723/8000
- a=rtpmap:2 G726-32/8000
- a=rtpmap:97 G726-40/8000
- a=rtpmap:98 G726-32/8000
- a=rtpmap:101 telephone-event/8000
- a=ptime:20
- a=fmtp:101 0-15
- a=fmtp:18 annexb=yes
- a=fmtp:4 annexa=yes
複製代碼 1. Create the NWT VoIP Trunk
and then re-edit again to add the follwing settings:
2. Create the outgoing rule for NWT Trunk
3. Create the dialplan to include the NWT VoIP Trunk
4. Create a user to use the dialplan
5. Inbound call settings
6. Other settings for outbound call (if not set, callee will not able to receive the call)
7. Apply changes
8. Minimum 300 seconds- 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:
|