Опять сипнет
[general]
context=default
realm=sip.MY_DOMAIN.net
bindport=5060
bindaddr=XX.XX.XX.86
srvlookup=yes
language=en
useragent=SipPhone
register=login:password@sipnet.ru/2230386
externip = XX.XX.XX.86
[sipnet-out]
type=peer
host=sipnet.ru
port=5060
canreinvite=no
username=2230386
fromuser=2230386
fromdomain=sipnet.ru
secret=PASSWORD
disallow=all
allow=ulaw
nat=no
exten => _8.,1,Dial(SIP/sipnet-out/${EXTEN},120)
При звонке появляется вот такая фигня:
-- Executing Dial("SIP/3334-00ce4000", "SIP/sipnet-out/89101111111|120") in new stack
-- Called sipnet-out/89101111111
-- Got SIP response 488 "Codec Mismatch" back from 212.53.35.219
-- SIP/sipnet-out-00cf0000 is circuit-busy
т.е. получается что траблы с кодеками пробовал разрешать alaw ulaw g.729 - ошибка одинаковая. Звонил с Cisco 7940 и с Nokia E61
*CLI> show codecs
Disclaimer: this command is for informational purposes only.
It does not indicate anything about your configuration.
INT BINARY HEX TYPE NAME DESC
--------------------------------------------------------------------------------
1 (1 << 0) (0x1) audio g723 (G.723.1)
2 (1 << 1) (0x2) audio gsm (GSM)
4 (1 << 2) (0x4) audio ulaw (G.711 u-law)
8 (1 << 3) (0x8) audio alaw (G.711 A-law)
16 (1 << 4) (0x10) audio g726 (G.726)
32 (1 << 5) (0x20) audio adpcm (ADPCM)
64 (1 << 6) (0x40) audio slin (16 bit Signed Linear PCM)
128 (1 << 7) (0x80) audio lpc10 (LPC10)
256 (1 << 8) (0x100) audio g729 (G.729A)
512 (1 << 9) (0x200) audio speex (SpeeX)
1024 (1 << 10) (0x400) audio ilbc (iLBC)
65536 (1 << 16) (0x10000) image jpeg (JPEG image)
131072 (1 << 17) (0x20000) image png (PNG image)
262144 (1 << 18) (0x40000) video h261 (H.261 Video)
524288 (1 << 19) (0x80000) video h263 (H.263 Video)
1048576 (1 << 20) (0x100000) video h263p (H.263+ Video)
*CLI> show version
Asterisk 1.2.13 built by root @ on a amd64 running FreeBSD on 2007-01-15 11:40:47 UTC
Подскажите что сделать с кодеками?
|