[Asterisk-Users] asterisk & xlite codecs

Ashling O'Driscoll ashling.odriscoll at cit.ie
Thu Nov 11 05:47:07 MST 2004


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.

----------------------------------------------------------------------------------------




More information about the asterisk-users mailing list