Всем добрый день!
Имеем связку Addpac 1002c + Elastix
Вопрос заключается в след.: Как можно организовать входящие вызовы на группу абонентов?
Сейчас вызов проходит только на конкретного пользователя через connection plar в voice-port */*.
Если указать Call Group, созданную в Эластиксе, то по логам на addpac-ке выдает что такой пользователь не существует.
Спасибо!
Лог при входящем звонке на fxo2
Debug Voip Sip
Sending SIP PDU to ( 192.168.1.151:5060 ) from 5060
INVITE sip:8000@192.168.1.151 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.160:5060;branch=z9hG4bK0a526a2ea428
From: <sip:fxo2@192.168.1.151>;tag=0a526a2ea4
To: <sip:8000@192.168.1.151>
Call-ID: 0ad3ea52-10b4-6af5-802e-0002a4095958@192.168.1.160
CSeq: 28 INVITE
Supported: replaces, timer, 100rel, early-session
Min-SE: 1800
Date: Thu, 30 Jan 2014 22:32:42 GMT
Session-Expires: 1800
User-Agent: AddPac SIP Gateway
Authorization: Digest username="fxo2", realm="asterisk", nonce="1246ff76", uri="
sip:8000@192.168.1.151", response="50bcb7f0f099fe374ad789f732b9fe31", algorithm=
MD5
Contact: <sip:fxo2@192.168.1.160>
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, PRACK, REFER, NOTIFY, INFO
Content-Type: application/sdp
Content-Length: 283
Max-Forwards: 70
Remote-Party-ID: <sip:192.168.1.151>;screen=yes;party=calling
v=0
o=fxo2 1391121162 1391121162 IN IP4 192.168.1.160
s=AddPac Gateway SDP
c=IN IP4 192.168.1.160
t=1391121162 0
m=audio 23030 RTP/AVP 18 8 0 101
a=ptime:20
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
Received SIP PDU from ( 192.168.1.151:5060 )
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.1.160:5060;branch=z9hG4bK0a526a2ea428;received=192.168.
1.160;rport=5060
From: <sip:fxo2@192.168.1.151>;tag=0a526a2ea4
To: <sip:8000@192.168.1.151>;tag=as6f9cb372
Call-ID: 0ad3ea52-10b4-6af5-802e-0002a4095958@192.168.1.160
CSeq: 28 INVITE
Server: FPBX-2.8.1(1.8.11.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLIS
H
Supported: replaces, timer
Content-Length: 0
Конфиг
voice service voip
protocol sip
dtmf-relay out-of-band
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
no call-barring unconfigured-ip-address
no voip-inbound-call-barring enable
!
!
! Voice port configuration.
!
! GSM
voice-port 0/0
connection plar 100
ring detect-timeout 70
dial-tone-generate
caller-id enable
caller-id type etsi
caller-id name disable
!
!
! GSM
voice-port 0/1
connection plar 100
ring detect-timeout 70
dial-tone-generate
caller-id enable
caller-id type etsi
caller-id name disable
!
!
! FXO
voice-port 0/2
connection plar 100
ring detect-timeout 70
no caller-id enable
!
!
! FXO
voice-port 0/3
connection plar 8000
ring detect-timeout 70
no caller-id enable
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
destination-pattern 3T
port 0/0
user-name gsm1
user-password 1q2s3c
translate-outgoing called-number 1
preference 1
!
dial-peer voice 2 pots
destination-pattern 4T
port 0/1
user-name gsm2
user-password 1q2s3c
translate-outgoing called-number 1
preference 2
!
dial-peer voice 3 pots
destination-pattern 1T
port 0/2
user-name fxo1
user-password 1q2s3c
translate-outgoing called-number 1
preference 3
!
dial-peer voice 4 pots
destination-pattern 2T
port 0/3
user-name fxo2
user-password 1q2s3c
translate-outgoing called-number 1
preference 4
!
!
!
! Voip peer configuration.
!
dial-peer voice 0 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 1
no vad
dtmf-relay rtp-2833
!
!
!
dial-peer call-hold h
!
dial-peer hunt 2
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id 192.168.1.1
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g729
codec preference 2 g711alaw
codec preference 3 g711ulaw
!
!
!
! Translation Rule configuration.
!
translation-rule 1
rule 0 9T T
rule 1 1T T
rule 2 2T T
rule 3 3T T
rule 4 4T T
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-server 192.168.1.151
called-party-number to-field
remote-party-id
register e164
!
!
! Tones
!
!
!
!
! SMS delivery configuration
!
sms-delivery
!
!
!
line console
!
line vty
!
mobile dev-restart-by-unreg 300
mobile dev-restart-by-unknown-error
mobile cell-monitor 30
!
mobile 0/0
gsm sms-language utf8
!
mobile 0/1
gsm sms-language utf8
!
end