返回列表 發帖
回復 1# kuba

应该在sip.conf打入是同一个context,例如context=from-hkbn2b,然后在extensions.conf

例如
HKBN 2b App Account 1=21234567
HKBN 2b App Account 2=31234567

sip.conf
  1. ;first HKBN 2b App account
  2. [hkbn2b-acc1]
  3. .
  4. .
  5. .
  6. context=from-hkbn2b

  7. ;second HKBN 2b App account
  8. [hkbn2b-acc2]
  9. .
  10. .
  11. .
  12. context=from-hkbn2b
複製代碼
把上面两个account指向同一个入口from-hkbn2b

extensions.conf
  1. [from-hkbn2b]
  2. ;first account
  3. 21234567,1,Dial(SIP/2001,,)
  4. 21234567,n,Hangup()

  5. ;second account
  6. 31234567,1,Dial(SIP/3001,,)
  7. 31234567,n,Hangup()
複製代碼

TOP

返回列表