Re: Cisco AS5350 и Asterisk 1.2
Далее еще не понятнее
убираю G711 и gsm из конфига cisco 5305
!
voice class codec 1
codec preference 1 g729r8
!
!
dial-peer voice 5 voip
destination-pattern 2998877
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.2.2
dtmf-relay rtp-nte h245-signal
!
sip.conf
[cisco]
type=peer
context=sv
host=192.168.2.1 <=cisco адрес
disallow=all
allow=g729
;allow = g723
;allow = g711a
Пытаюсь звонить
*CLI> sip debug peer cisco
SIP Debugging Enabled for IP: 192.168.2.1:5060
Sending to 192.168.2.1 : 5060 (non-NAT)
Found RTP audio format 18
Peer audio RTP is at port 192.168.2.1:19114
Found description format G729
Capabilities: us - 0x8000e (gsm|ulaw|alaw|h263), peer - audio=0x100 (g729)/video=0x0 (nothing), combined - 0x0 (nothing)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x0 (nothing), combined - 0x0 (nothing)
Jun 11 21:14:31 NOTICE[15783]: chan_sip.c:3691 process_sdp: No compatible codecs!
Transmitting (no NAT) to 192.168.2.1:5060:
SIP/2.0 488 Not acceptable here
Via: SIP/2.0/UDP 192.168.2.1:5060;received=192.168.2.1
From: <sip:2227806@192.168.2.1>;tag=2B5C5C-13C7
To: <sip:2998877@192.168.2.2;user=phone>;tag=as3dc06266
Call-ID: 94898A4C-F8A411DA-8016BE74-6EF95F57@192.168.2.1
CSeq: 101 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:24949@212.92.158.30>
Content-Length: 0
---
Destroying call '94898A4C-F8A411DA-8016BE74-6EF95F57@2998877'
Почемк астериск игнорирует указанные в sip.conf кодеки для циски?
|