<div>Problem SOLVED.</div><div><br></div><div>You'r right, this is a problem of codec mismatching. Activating sip debug i can see it:<br></div><div><br></div><div>Capabilities: us - 0x802 (gsm|g726), peer - audio=0x10d (g723|ulaw|alaw|g729)<br>
[May 9 17:16:37] NOTICE[6444]: chan_sip.c:9188 process_sdp: No compatible codecs, not accepting this offer!</div><div><br></div><div>I solved the problem thanks to your help! Since that SIP trunk isn't authenticated, i just receive calls in the default context that is set in sip.conf, and so, I don't set the codecs to be used. I discovered that the problem was that i had one other peer defined in sip.conf that had the same IP address set, so it was shuffling asterisk some how. Funny that the same configuration wasn't a problem in asterisk 1.4, but in this 1.8 it caused this problem.</div>
<div><br></div><div>Thank you onde again,</div><div><br></div><div>Regards,</div><div>Ricardo.</div><div><br></div><div><br></div><br><div class="gmail_quote">On Wed, May 9, 2012 at 5:10 PM, Andres <span dir="ltr"><<a href="mailto:andres@telesip.net" target="_blank">andres@telesip.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 5/9/2012 11:56 AM, Ricardo Carvalho wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That's weird, because it's negotiated with success the codec ulaw for outbound calls through the same SIP trunk.<br>
<br>
</blockquote></div>
My guess is the incoming call is not being matched with the peer you are expecting. Do a sip debug and watch the output to see what peer is being selected.<span class="HOEnZb"><font color="#888888"><br>
<br>
Andres<br>
<br>
</font></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Besides, ulaw and alaw shows up when i do "core show codecs audio" in the asterisk CLI, and there exists both codec_ulaw.so and codec_alaw.so modules under the path /usr/lib/asterisk/modules/<br>
<br>
I don't get it!...<br>
<br>
More ideas?<br>
<br>
Thanks,<br>
Ricardo.<br>
<br>
<br>
<br></div><div><div class="h5">
On Wed, May 9, 2012 at 3:32 PM, A J Stiles <<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a> <mailto:<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>>> wrote:<br>
<br>
On Wednesday 09 May 2012, Ricardo Carvalho wrote:<br>
<br>
> [May 8 17:45:30] NOTICE[6444]: chan_sip.c:9188 process_sdp: No<br>
compatible<br>
> codecs, not accepting this offer!<br>
><br>
> Any help?<br>
<br>
Are you sure you compiled all the codecs you need?<br>
<br>
What happens if you run `make menuselect` in both the 1.4 source<br>
tree and in<br>
the 1.8 source tree, "side-by-side" in tabs of the same terminal<br>
window? You<br>
need at least GSM, A-law and micro-law.<br>
<br>
(The above is my preferred method of building a configuration like<br>
an existing<br>
one. No doubt someone will weigh in with a better way of doing it.)<br>
<br>
--<br>
AJS<br>
<br>
Answers come *after* questions.<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
</div></div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>