[Freeswitch-users] codec configuration ignored by freeswitch
Giuseppe Cardone
g.cardone at unidata.it
Thu Jan 30 18:22:46 MSK 2014
Anyone have any suggestions on this ?
Many thanks,
Giuseppe
----- Messaggio originale -----
> Da: "Giuseppe Cardone" <g.cardone at unidata.it>
> A: freeswitch-users at lists.freeswitch.org
> Inviato: Mercoledì, 29 gennaio 2014 18:47:41
> Oggetto: codec configuration ignored by freeswitch
>
> Hello,
>
> I have tried to configure a limited set of two codecs for outbound
> calls.
> I first tried with the parameters described in the documentation in a
> sip_profile and then in a dialplan and then in vars.xml.
>
> However, each time the set of codecs seems to be overwritten and the
> original list offered by the calling UA is applied.
>
> I am new to FS and suspect I am missing something quite simple, can
> anyone lend a hand in suggesting what would cause the
> described behaviour ?
>
> Here is the essential part of the log showing the
> absolute_codec_string first applied:
>
>
> EXECUTE sofia/internal/390742850020 at 217.72.102.128:5070
> set(absolute_codec_string=PCMA,G729)
> 2014-01-29 17:17:40.290655 [DEBUG] mod_dptools.c:1402
> sofia/internal/390742850020 at 217.72.102.128:5070 SET
> [absolute_codec_string]=[PCMA,G729]
> EXECUTE sofia/internal/390742850020 at 217.72.102.128:5070
> bridge(sofia/gateway/unidata_dev/+390144750000)
> 2014-01-29 17:17:40.290655 [DEBUG] switch_channel.c:1198
> sofia/internal/390742850020 at 217.72.102.128:5070
> EXPORTING[export_vars] [RFC2822_DATE]=[Wed, 29 Jan 2014 17:17:40
> +0100] to event
> 2014-01-29 17:17:40.290655 [DEBUG] switch_ivr_originate.c:2060
> Parsing global variables
> 2014-01-29 17:17:40.290655 [NOTICE] switch_channel.c:1052 New Channel
> sofia/external/+390144750000 [e00a6dde-8900-11e3-8b08-0b2b96c9cf60]
> 2014-01-29 17:17:40.290655 [DEBUG] mod_sofia.c:5231
> (sofia/external/+390144750000) State Change CS_NEW -> CS_INIT
> 2014-01-29 17:17:40.290655 [DEBUG] switch_core_session.c:1341 Send
> signal sofia/external/+390144750000 [BREAK]
>
> and then overwritten:
>
>
> 2014-01-29 17:17:40.290655 [DEBUG] mod_sofia.c:5301 [zrtp_passthru]
> Setting a-leg inherit_codec=true
> 2014-01-29 17:17:40.290655 [DEBUG] mod_sofia.c:5304 [zrtp_passthru]
> Setting b-leg
> absolute_codec_string='G722 at 8000h@20i at 64000b,PCMU at 8000h@20i at 64000b,PCMA at 8000h@20i at 64000b,GSM at 8000h@20i at 13200b'
> 2014-01-29 17:17:40.290655 [DEBUG] switch_core_state_machine.c:415
> (sofia/external/+390144750000) Running State Change CS_INIT
> 2014-01-29 17:17:40.290655 [DEBUG] switch_core_state_machine.c:454
> (sofia/external/+390144750000) State INIT
> 2014-01-29 17:17:40.290655 [DEBUG] mod_sofia.c:87
> sofia/external/+390144750000 SOFIA INIT
> 2014-01-29 17:17:40.290655 [DEBUG] sofia_glue.c:2739 Local SDP:
>
> Thanks in advance for your help.
>
> Regards,
> Giuseppe
>
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list