Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] No compatible codecs!


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
abalashov at evaristes...
Guest





PostPosted: Tue Feb 19, 2008 2:02 am    Post subject: [asterisk-users] No compatible codecs! Reply with quote

Naveen Palani wrote:
Quote:
Hi,

I have the asterisk-1.4.11 set up installation on my Ubuntu machine.
When i try making a simple incoming call using xlite softphone. I get
the following message when i try calling to the number.

*CLI> [Feb 19 13:35:40] NOTICE[4137]: chan_sip.c:5331 process_sdp: No
compatible codecs, not accepting this offer!

Which codec is it talking abt here. How can i resolve this.

My dialplan is as given below:

extensions.conf:

exten => 800,1,Answer()
exten => 800,2,Playback(vm-saved)
exten => 800,3,Hangup

Regards,
**Naveen.Palani**

When two SIP endpoints set up a call to each other and decide to pass
media, they negotiate a preferred codec (the encoding algorithm used for
the audio itself) that is mutually acceptable. Not all endpoints
support the same codec. Most endpoints support multiple codecs
(Asterisk and the soft phone you mentioned certainly do), but that
doesn't mean that they advertise everything that they support as part of
their default settings or come to an agreeable resolution.

This is done in the SDP (Session Description Protocol) of the SIP
INVITE, which you can analyse with a packet sniffer or by doing "sip
debug" in the Asterisk CLI.

The basic idea is that either Asterisk or your soft phone is announcing
codecs in the SDP that the other either does not support or
administratively disallows, so they fail to meet in the middle.

Most likely, you can fix this easily by specifying the codecs you want
to accept in the SIP peer, in sip.conf, for the soft phone you are
using. Just add something like:

disallow=all
allow=ulaw

This will enable support for G.711u, and G.711u only. The X-Lite
supports this out of the box.

Cheers,

--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599
Back to top
naveenp at quinnox.com
Guest





PostPosted: Tue Feb 19, 2008 4:47 am    Post subject: [asterisk-users] No compatible codecs! Reply with quote

Resolved!

The problem was with sip.conf file. I had to comment the lines

allow=alaw
allow=ulaw

This made the trick..
I am trying to get the mysql database connection from my asterisk box. Installed the asterisk-addons-1.4.4 version on the same box where asterisk and mysql is installed.

When i use the following line in dialplan:

exten => 800,2,MYSQL(Connect connid localhost root newpwd asterisk)

Gives me the warning error message:

[Feb 19 16:35:34] WARNING[10187]: pbx.c:1797 pbx_extension_helper: No application 'MYSQL' for extension (default, 800, 2)
== Spawn extension (default, 800, 2) exited non-zero on 'SIP/102-081a6dc0'

Can some one let me know what iam i missing here.

Thanks and appreciate your response.

Regards,
Naveen.Palani


----- Original Message -----
From: Naveen Palani<mailto:naveenp at quinnox.com>
To: asterisk-users at lists.digium.com<mailto:asterisk-users at lists.digium.com>
Sent: Tuesday, February 19, 2008 12:23 PM
Subject: No compatible codecs!

Hi,

I have the asterisk-1.4.11 set up installation on my Ubuntu machine. When i try making a simple incoming call using xlite softphone. I get the following message when i try calling to the number.

*CLI> [Feb 19 13:35:40] NOTICE[4137]: chan_sip.c:5331 process_sdp: No compatible codecs, not accepting this offer!

Which codec is it talking abt here. How can i resolve this.

My dialplan is as given below:

extensions.conf:

exten => 800,1,Answer()
exten => 800,2,Playback(vm-saved)
exten => 800,3,Hangup

Regards,
Naveen.Palani

________________________________
?Quinnox, a global IT services company prides itself on its SEI-CMM Level 5, ISO?9001:2000 assessed delivery processes and provides solutions in areas of E-Business, ERP, Application Management Services, and EAI to customers in BFSI, Manufacturing, Retail, Telecom and Healthcare sector, powered by our Global Delivery Model.?

This e-mail and any attached files are confidential, proprietary, and may also be legally privileged information, and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient of this e-mail, please send it back to the person who sent it to you and delete the e-mail and any attached files and destroy any copies of it; you may call us immediately at + 91 22 2829 0100 or email us at systems at quinnox.com

Quinnox Consultancy Services and/or any of its sister companies owns no responsibility for the views presented in the e-mail and any attached files unless the sender mentions so, with due authority of Quinnox Consultancy Services.

Unauthorized reading, reproduction, publication, use, dissemination, forwarding, printing or copying of this e-mail and its attachments is prohibited.
We have checked this message for any known viruses; however we decline any liability, in case of any damage caused by a non-detected virus.

For more details about our company, visit http://www.Quinnox.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080219/6ae7051e/attachment.htm
Back to top
naveenp at quinnox.com
Guest





PostPosted: Tue Feb 19, 2008 7:30 am    Post subject: [asterisk-users] No compatible codecs! Reply with quote

I read from the forums, that if i build mysql the problem will be resolved. As i get the similar warning message for MeetMe().

How to build mysql or MeetMe manually??

Regards,
Naveen.Palani
----- Original Message -----
From: Naveen Palani<mailto:naveenp at quinnox.com>
To: asterisk-users at lists.digium.com<mailto:asterisk-users at lists.digium.com>
Sent: Tuesday, February 19, 2008 3:17 PM
Subject: Re: No compatible codecs!

Resolved!

The problem was with sip.conf file. I had to comment the lines

allow=alaw
allow=ulaw

This made the trick..


I am trying to get the mysql database connection from my asterisk box. Installed the asterisk-addons-1.4.4 version on the same box where asterisk and mysql is installed.

When i use the following line in dialplan:

exten => 800,2,MYSQL(Connect connid localhost root newpwd asterisk)

Gives me the warning error message:

[Feb 19 16:35:34] WARNING[10187]: pbx.c:1797 pbx_extension_helper: No application 'MYSQL' for extension (default, 800, 2)
== Spawn extension (default, 800, 2) exited non-zero on 'SIP/102-081a6dc0'

Can some one let me know what iam i missing here.

Thanks and appreciate your response.

Regards,
Naveen.Palani


----- Original Message -----
From: Naveen Palani<mailto:naveenp at quinnox.com>
To: asterisk-users at lists.digium.com<mailto:asterisk-users at lists.digium.com>
Sent: Tuesday, February 19, 2008 12:23 PM
Subject: No compatible codecs!

Hi,

I have the asterisk-1.4.11 set up installation on my Ubuntu machine. When i try making a simple incoming call using xlite softphone. I get the following message when i try calling to the number.

*CLI> [Feb 19 13:35:40] NOTICE[4137]: chan_sip.c:5331 process_sdp: No compatible codecs, not accepting this offer!

Which codec is it talking abt here. How can i resolve this.

My dialplan is as given below:

extensions.conf:

exten => 800,1,Answer()
exten => 800,2,Playback(vm-saved)
exten => 800,3,Hangup

Regards,
Naveen.Palani

________________________________
?Quinnox, a global IT services company prides itself on its SEI-CMM Level 5, ISO?9001:2000 assessed delivery processes and provides solutions in areas of E-Business, ERP, Application Management Services, and EAI to customers in BFSI, Manufacturing, Retail, Telecom and Healthcare sector, powered by our Global Delivery Model.?

This e-mail and any attached files are confidential, proprietary, and may also be legally privileged information, and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient of this e-mail, please send it back to the person who sent it to you and delete the e-mail and any attached files and destroy any copies of it; you may call us immediately at + 91 22 2829 0100 or email us at systems at quinnox.com

Quinnox Consultancy Services and/or any of its sister companies owns no responsibility for the views presented in the e-mail and any attached files unless the sender mentions so, with due authority of Quinnox Consultancy Services.

Unauthorized reading, reproduction, publication, use, dissemination, forwarding, printing or copying of this e-mail and its attachments is prohibited.
We have checked this message for any known viruses; however we decline any liability, in case of any damage caused by a non-detected virus.

For more details about our company, visit http://www.Quinnox.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080219/3ace0462/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services