一asterisk內2個2b帳號...其中一個不能接聽(入)問題
我的asterisk中掛有兩個asterisk帳號...
如果撥出的話...也是可以分開不同的號碼撥出的...
但如果接聽的話...好像只辦認了一個號碼...
設定如下:
sip.conf
; ### HKBN 2b Trunk ###
register => 3XXXAAAAhkASS@s2hkbntel.net:5060/3XXXAAAA
register => 3XXXBBBBhkASS@s2hkbntel.net:5060/3XXXBBBB
[hkbn3XXXAAAA]
...
context=from-AAAA
[hkbn3XXXBBBB]
context=from-BBBB
========
extensions.conf
[DialPlanAAAA]
include = from-AAAA
[DialPlanBBBB]
include = from-BBBB
===========
users.conf
[USERA]
context = DialPlanAAAA
[USERB]
context = DialPlanBBBB
================
USER A接是正常的...
但USER B接就出了以下error...
[Sep 22 08:13:44] NOTICE[2749]: chan_sip.c:21358 handle_request_invite: Call from '3XXXAAAAhk' to extension '3XXXBBBB' rejected because extension not found in context 'from-AAAA'.
localhost*CLI>
請問各位我有什麼是設定錯呢?
謝謝~ |