Стоит задача объединить 2 Asteriska бъюсь уже несколько дней и немогу понять что не так... Гляньте пожалуйста, ткните носом. IP статические.
SRV2 IAX2 trunk
Trunk Description:to CA_RG
Outbound Caller ID: 9001
Maximum Channels: 10
Outgoing dial rules
Dial Rules:70|XXX
Outbound Dial Prefix:70
Trunk Name: CA_RG
PEER Details:
type=friend
context=from-internal
host=192.168.99.13
username=test1
secret=123456
insecure=port,invite
qualify=yes
disallow=all
nat=yes
Incoming Settings
USER Context: trunk1
USER Details:
type=friend
context=from-internal
host=10.10.1.107
username=trunk1
secret=6459292
Outbound ROUTES
Route Name: CA
Dial Patterns: 70|XXX
Trunk Sequence:IAX2/CA_RG
при вводе команды iax2 show peers
Name/Username Host Mask Port Status
CA_RG/009 192.168.99.13 (S) 255.255.255.255 4569 OK (13 ms)
1111 (Unspecified) (D) 255.255.255.255 0 UNKNOWN
trunk1/trunk1 10.10.1.107 (S) 255.255.255.255 4569 Unmonitored
3 iax2 peers [1 online, 1 offline, 1 unmonitored]
ну и соответсвенно на этом сервере создан Экстеншн 9000 -trunk1 IAX2 типа.
SRV1 IAX2 trunk
Trunk Description: to CTU_RGR
Outbound Caller ID: 9000
Maximum Channels: 2
Outgoing dial rules
Dial Rules:71|XXX
Outbound Dial Prefix:71
Trunk Name: to CTU_RGR
PEER Details:
type=peer
context=from-internal
host=10.10.1.107
username=trunk1
secret=6459292
insecure=port,invite
qualify=yes
disallow=all
nat=yes
Incoming Settings
USER Context: test1
USER Details:
type=user
context=from-internal
host=192.168.99.13
username=test1
secret=123456
Outbound ROUTES
Route Name: CA
Dial Patterns: 71|XXX
Trunk Sequence:IAX2/to CTU_RGR
при вводе команды iax2 show peers
Name/Username Host Mask Port Status
to CTU_RGR/trun 10.10.1.107 (S) 255.255.255.255 4569 OK (18 ms)
70010 (Unspecified) (D) 255.255.255.255 0 UNKNOWN
9000 (Unspecified) (D) 255.255.255.255 0 UNKNOWN
3 iax2 peers [1 online, 2 offline, 0 unmonitored]
соответсвенно на этом сервере создан Экстеншн 9001 -test1 IAX2 типа.
спросил
2012-03-15 16:56:40 +0400
Аноним