目的:就是让两个SIP Clients能互相沟通
sip.conf- [general]
- disallow=all
- allow=ulaw,alaw,gsm
- nat=yes
- canreinvite=no
- context=fron-desk
- [6001]
- type=friend
- secret=YH6001
- host=dynamic
- context=internal
- [6002]
- type=friend
- secret=YH6002
- host=dynamic
- context=internal
複製代碼 extensions.conf- [internal]
- exten => 6001,1,Dial(SIP/6001,,r)
- exten => 6002,1,Dial(SIP/6002,,r)
複製代碼 注意:
1)可能会有单边声音出现,如果有,可能把router,swtich全都关掉5分钟,希望把里面的memory全清掉。 |