Hello, I'm able to transcode a cal between 2 local legs, but when a local user call an oubound call, the call hangs up saying "not acceptable here", so it doesn't transcode. Any idea ? Thanks Franck
Sounds like the remote end does not like the codecs we are offering. There are some vars to adjust this, by default we only offer the 1 codec chosen with the a leg of the call. Mike On Feb 20, 2010, at 1:36 PM, Madovsky wrote:
Hello,
I'm able to transcode a cal between 2 local legs, but when a local user call an oubound call, the call hangs up saying "not acceptable here", so it doesn't transcode.
yes I know it is codec problem, but what vars it needs to force transcoding when B leg doesn't match any A leg codec ? in vars.xml example I can see only global_codecs_prefs and outbound_codecs prefs correctly set Thanks ----- OriginaleMessage ----- From: Michael Jerris To: freeswitch-users@lists.freeswitch.org Sent: Saturday, February 20, 2010 8:48 PM Subject: Re: [Freeswitch-users] outbound callsh Sounds like the remote end does not like the codecs we are offering. There are some vars to adjust this, by default we only offer the 1 codec chosen with the a leg of the call. Mike On Feb 20, 2010, at 1:36 PM, Madovsky wrote: Hello, I'm able to transcode a cal between 2 local legs, but when a local user call an oubound call, the call hangs up saying "not acceptable here", so it doesn't transcode. ------------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Sat, Feb 20, Madovsky wrote:
yes I know it is codec problem, but what vars it needs to force transcoding when B leg doesn't match any A leg codec ? in vars.xml example I can see only global_codecs_prefs and outbound_codecs prefs correctly set
You know the codec you want to match on the B leg so in the dialplan
From the wiki http://wiki.freeswitch.org/wiki/Codec_Negotiation <action application="bridge" data="{absolute_codec_string='PCMA,PCMU'}sofia/gateway/mygateway/mynumber"/>
HTH --FC
----- Original Message ----- From: "Frank Carmickle" <frank@carmickle.com> To: <freeswitch-users@lists.freeswitch.org> Sent: Saturday, February 20, 2010 9:15 PM Subject: Re: [Freeswitch-users] outbound calls
On Sat, Feb 20, Madovsky wrote:
yes I know it is codec problem, but what vars it needs to force transcoding when B leg doesn't match any A leg codec ? in vars.xml example I can see only global_codecs_prefs and outbound_codecs prefs correctly set
You know the codec you want to match on the B leg so in the dialplan
From the wiki http://wiki.freeswitch.org/wiki/Codec_Negotiation <action application="bridge" data="{absolute_codec_string='PCMA,PCMU'}sofia/gateway/mygateway/mynumber"/>
HTH --FC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
No, in fact I don't know which codec will come from B leg, but in my test I did the codec of B leg matches one codec in the outbound list but doesn't transcode and the call fails. but if A leg and B leg are local so it transcodes correctly... Thanks
----- Original Message ----- From: "Frank Carmickle" <frank@carmickle.com> To: <freeswitch-users@lists.freeswitch.org> Sent: Saturday, February 20, 2010 9:15 PM Subject: Re: [Freeswitch-users] outbound calls
On Sat, Feb 20, Madovsky wrote:
yes I know it is codec problem, but what vars it needs to force transcoding when B leg doesn't match any A leg codec ? in vars.xml example I can see only global_codecs_prefs and outbound_codecs prefs correctly set
You know the codec you want to match on the B leg so in the dialplan
From the wiki http://wiki.freeswitch.org/wiki/Codec_Negotiation <action application="bridge" data="{absolute_codec_string='PCMA,PCMU'}sofia/gateway/mygateway/mynumber"/>
HTH --FC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I retried your suggestion (that I already did 3 days ago) but no work, it's the same
On Sat, Feb 20, Madovsky wrote:
----- Original Message ----- From: "Frank Carmickle" <frank@carmickle.com> To: <freeswitch-users@lists.freeswitch.org> Sent: Saturday, February 20, 2010 9:15 PM Subject: Re: [Freeswitch-users] outbound calls
On Sat, Feb 20, Madovsky wrote:
yes I know it is codec problem, but what vars it needs to force transcoding when B leg doesn't match any A leg codec ? in vars.xml example I can see only global_codecs_prefs and outbound_codecs prefs correctly set
You know the codec you want to match on the B leg so in the dialplan
From the wiki http://wiki.freeswitch.org/wiki/Codec_Negotiation <action application="bridge" data="{absolute_codec_string='PCMA,PCMU'}sofia/gateway/mygateway/mynumber"/>
HTH --FC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I retried your suggestion (that I already did 3 days ago) but no work, it's the same
Is the external phone using the external profile? Do the different profiles have differing codec settings? --FC
----- Original Message ----- From: "Frank Carmickle" <frank@carmickle.com> To: <freeswitch-users@lists.freeswitch.org> Sent: Saturday, February 20, 2010 10:10 PM Subject: Re: [Freeswitch-users] outbound calls
On Sat, Feb 20, Madovsky wrote:
----- Original Message ----- From: "Frank Carmickle" <frank@carmickle.com> To: <freeswitch-users@lists.freeswitch.org> Sent: Saturday, February 20, 2010 9:15 PM Subject: Re: [Freeswitch-users] outbound calls
On Sat, Feb 20, Madovsky wrote:
yes I know it is codec problem, but what vars it needs to force transcoding when B leg doesn't match any A leg codec ? in vars.xml example I can see only global_codecs_prefs and outbound_codecs prefs correctly set
You know the codec you want to match on the B leg so in the dialplan
From the wiki http://wiki.freeswitch.org/wiki/Codec_Negotiation <action application="bridge" data="{absolute_codec_string='PCMA,PCMU'}sofia/gateway/mygateway/mynumber"/>
HTH --FC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I retried your suggestion (that I already did 3 days ago) but no work, it's the same
Is the external phone using the external profile? Do the different profiles have differing codec settings?
--FC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FIrst it was the same vars, now I succeed to transcode from a call from Bleg to Aleg in listing the only Aleg codec available ...
----- Original Message ----- From: "Frank Carmickle" <frank@carmickle.com> To: <freeswitch-users@lists.freeswitch.org> Sent: Saturday, February 20, 2010 9:15 PM Subject: Re: [Freeswitch-users] outbound calls
On Sat, Feb 20, Madovsky wrote:
yes I know it is codec problem, but what vars it needs to force transcoding when B leg doesn't match any A leg codec ? in vars.xml example I can see only global_codecs_prefs and outbound_codecs prefs correctly set
You know the codec you want to match on the B leg so in the dialplan
From the wiki http://wiki.freeswitch.org/wiki/Codec_Negotiation <action application="bridge" data="{absolute_codec_string='PCMA,PCMU'}sofia/gateway/mygateway/mynumber"/>
HTH --FC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Ok now I can call from an external sip account to a local FS sip account and it transcodes correctly (I made the same mistake as hundred users I imagine like I forgot that the exterrnal port is 5080, so I changed to 5060). but if I do the contrary (internal A leg to ext B leg) it doesn't . is outbound-late-negociation exists ?
----- Original Message ----- From: "Frank Carmickle" <frank@carmickle.com> To: <freeswitch-users@lists.freeswitch.org> Sent: Saturday, February 20, 2010 9:00 PM Subject: Re: [Freeswitch-users] outbound calls
On Sat, Feb 20, Madovsky wrote:
Hello,
I'm able to transcode a cal between 2 local legs, but when a local user call an oubound call, the call hangs up saying "not acceptable here", so it doesn't transcode.
Any idea ?
What are your outbound_codec_prefs set to in your vars.xml?
--FC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Frank, global <X-PRE-PROCESS cmd="set" data="global_codec_prefs=speex@16000k,PCMU,PCMA,GSM"/> outbound <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=speex@16000k,PCMU,PCMA,GSM"/> Thanks Franck
participants (3)
-
Frank Carmickle
-
Madovsky
-
Michael Jerris