Siemens Gigaset C470IP не работает с G.722
Есть сабж. Хочу скрестить его с * 1.6.2.9, используя кодек G.722. В настройках телефона выбраны кодеки G.722, G.711alaw, G.711ulaw, G.729 и G.726.
В sip.conf пишу
| Code: |
| [line4] type=friend host=dynamic username=line4 secret=********** language=ru nat=no canreinvite=yes context=default mailbox=line4 disallow=all allow=g722 |
При попытке позвонить с телефона куда-нибудь, слышу в трубке короткие гудки и ругань в консоли...
| Code: |
| Capabilities: us - 0x1000 (g722), peer - audio=0x91c (ulaw|alaw|g726|g729|g726aal2)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x0 (nothing) NOTICE[2611]: chan_sip.c:8459 process_sdp: No compatible codecs, not accepting this offer! |
Насколько я понимаю, в peer указаны кодеки телефона и среди них нет нужного мне G.722, хотя в вебморде он есть
| Code: |
| core show translation |
_________________
Intel Core 2 Duo E6400 @ 2.40GHz / 6GB / 160GB
Gentoo Linux 2.6.32-r7 || Asterisk 1.8.2 | SFA | Linksys SPA922 + D-Link DPH-300S + D-Link DVG-7111S + 3 x Huawei E1550
| Code: |
| *CLI> core show translation Translation times between formats (in microseconds) for one second of data Source Format (Rows) Destination Format (Columns) g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 siren7 siren14 slin16 g723 - - - - - - - - - - - - - - - - gsm - - 2 2 2 2 1 8001 - - - 2 2 - - 4003 ulaw - 4001 - 1 2 2 1 8001 - - - 2 2 - - 4003 alaw - 4001 1 - 2 2 1 8001 - - - 2 2 - - 4003 g726aal2 - 8000 4001 4001 - 4001 4000 12000 - - - 4001 4001 - - 8002 adpcm - 4001 2 2 2 - 1 8001 - - - 2 2 - - 4003 slin - 4000 1 1 1 1 - 8000 - - - 1 1 - - 4002 lpc10 - 8001 4002 4002 4002 4002 4001 - - - - 4002 4002 - - 8003 g729 - - - - - - - - - - - - - - - - speex - - - - - - - - - - - - - - - - ilbc - - - - - - - - - - - - - - - - g726 - 8000 4001 4001 4001 4001 4000 12000 - - - - 4001 - - 8002 g722 - 8000 4001 4001 4001 4001 4000 12000 - - - 4001 - - - 4001 siren7 - - - - - - - - - - - - - - - - siren14 - - - - - - - - - - - - - - - - slin16 - 12000 8001 8001 8001 8001 8000 16000 - - - 8001 4000 - - - |
_________________
Успехов!