[Asterisk-Users] asterisk & xlite codecs

Steven Kalcevich (Lists) skalcevich.network at gmail.com
Thu Nov 11 07:25:51 MST 2004


hi there,

How about changing the general conf in sip. 

> disallow=all
> allow=ulaw
> allow=alaw
> allow=gsm

not just disallow=all 

and take them out of the extentions conf. 

To me since you have the same codecs allowed its kinda not needed in
my mind to specify it to that level. Maybe it will fix your problem 2?






On Thu, 11 Nov 2004 12:47:07 -0000, Ashling O'Driscoll
<ashling.odriscoll at cit.ie> wrote:
> Hello,
> 
> I am having problems getting two xlite clients to communicate through
> asterisk. I am getting an error message:
> 
> chan_sip.c:2753 process_sdp: No compatible codecs.
> 
> I have enabled all possible codecs in xlite (Menu -> Advanced system
> settings -Codec settings) and have added the appropriate lines in
> sip.conf (see below) to allow all codecs. However this is still not
> working. I have looked this problem up on google and it was
> previously attributed to old versions of asterisk. However I dont
> have asterisk setup long and got the most recent version of it.
> 
> Please help if possible. I must get a call working soon,
> Kindest Regards,
> Aisling.
> 
> sip.conf
> 
> [general
> 
> port=5060
> bindaddr=0.0.0.0
> disallow=all
> 
> ;xlite client one
> 
> [2000]
> type=friend
> username=2000
> secret=bla
> regexten=2000
> nat=yes
> auth=md5
> context=from-sip
> callerid="Aisling"<2000>
> dmtfmode=rfc2833
> canreinvite=no
> disallow=all
> allow=ulaw
> allow=alaw
> allow=gsm
> host=dynamic
> mailbox=2000
> 
> ;xlite client two
> 
> [2001]
> type=friend
> username=2001
> secret=bla2
> regexten=2001
> nat=yes
> auth=md5
> context=from-sip
> callerid="Julien"<2001>
> dmtfmode=rfc2833
> canreinvite=no
> disallow=all
> allow=ulaw
> allow=alaw
> allow=gsm
> host=dynamic
> mailbox=2001
> 
> -------------------Legal  Disclaimer---------------------------------------
> 
> The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt.
> 
> ----------------------------------------------------------------------------------------
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 


-- 

Regards,

Steven Kalcevich

----------------------------------------
Office +1- 416-576-4457
MSN: steven at ciscokid.net
http://www.ciscokid.net 
http://www.sohonetworks.ca



More information about the asterisk-users mailing list