Hello,
I have been having this problem for several releases of
Asterisk. Whenever, I use iLBC or Speex codecs to make a SIP call, I get
"No compatible codecs!" error, even though I am not disallowing
anything in
my sip.conf. One way I made it work is to hard-code these codecs in
global_capability variable in chan-sip.c that seems to have fixed the
problem. But I know it was working without hard-coding in the earlier
versions (from Oct last year). Can anyone shed some light on this? I am
currently running Asterisk 1.0.7 stable release.
Below is sip debug output and relevant portion of sip.conf.
Thanks,
Gouri.
2 headers, 11 lines
Using latest request as basis request
Sending to 129.46.73.46 : 5060 (non-NAT)
Found user 'gourij'
Found RTP audio format 97
Found RTP audio format 110
Found RTP audio format 101
Peer audio RTP is at port 129.46.73.46:8000
Found description format iLBC
Found description format speex
Found description format telephone-event
Capabilities: us - 0x8000e (gsm|ulaw|alaw|h263), peer - audio=0x600
(speex|ilbc)/video=0x0 (nothing), combined - 0x0 (nothing)
Non-codec capabilities: us - 0x1 (g723), peer - 0x1 (g723), combined - 0x1
(g723)
Mar 23 09:40:25 NOTICE[20099]: chan_sip.c:2773 process_sdp: No compatible
codecs!
-----------------------------------------------------
sip.conf:
[gourij]
type=friend
regexten=1201
username=gourij
secret=gourij
host=dynamic
nat=no
canreinvite=yes
mailbox=1201
context=from-sip
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050324/13c54fc2/attachment.htm