It looks like you are missing the sip-ip and rtp-ip settings. Also, if you are using the same ip for both profiles, you will need to use different ports. I can't say without knowing more of what you need to do, but you probably won't need separate profiles for the different codecs, those can negotiate with the end device. Mike
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Bernhard Suttner Sent: Wednesday, January 10, 2007 10:15 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] freeswitch with different codecs
<snip>
The definition of the profiles look like this:
<profile name="codecGSM"> <settings> <param name="debug" value="1"/> <param name="rfc2833-pt" value="101"/> <param name="sip-port" value="5060"/> <param name="dialplan" value="XML"/> <param name="dtmf-duration" value="100"/> <param name="codec-prefs" value="GSM@20ms"/> <param name="codec-ms" value="20"/> <param name="use-rtp-timer" value="true"/> <param name="rtp-timer-name" value="soft"/> </settings> </profile>
<profile name="codecPCMU"> <settings> <param name="debug" value="1"/> <param name="rfc2833-pt" value="101"/> <param name="sip-port" value="5060"/> <param name="dialplan" value="XML"/> <param name="dtmf-duration" value="100"/> <param name="codec-prefs" value="PCMU@20ms"/> <param name="codec-ms" value="20"/> <param name="use-rtp-timer" value="true"/> <param name="rtp-timer-name" value="soft"/> </settings> </profile>
If I start freeswitch I get the following error: tport_server_addrinfo(0x809fb48): su_getaddrinfo((null), 5060) for *: Name or service not known nta: bind((null):5060;transport=*): No such file or directory nua: initializing SIP stack failed tport_server_addrinfo(0x80a2db8): su_getaddrinfo((null), 5060) for *: Name or service not known nta: bind((null):5060;transport=*): No such file or directory nua: initializing SIP stack failed
How is it possible to handle telephones with different codecs? I thought this is possible with different profiles?
I am very pleased for every hint!
Kind regards, Bernhard Suttner