回復 1# kuba
应该在sip.conf打入是同一个context,例如context=from-hkbn2b,然后在extensions.conf
例如
HKBN 2b App Account 1=21234567
HKBN 2b App Account 2=31234567
sip.conf- ;first HKBN 2b App account
- [hkbn2b-acc1]
- .
- .
- .
- context=from-hkbn2b
- ;second HKBN 2b App account
- [hkbn2b-acc2]
- .
- .
- .
- context=from-hkbn2b
複製代碼 把上面两个account指向同一个入口from-hkbn2b
extensions.conf- [from-hkbn2b]
- ;first account
- 21234567,1,Dial(SIP/2001,,)
- 21234567,n,Hangup()
- ;second account
- 31234567,1,Dial(SIP/3001,,)
- 31234567,n,Hangup()
複製代碼 |