[Freeswitch-users] absolute_codec_string just process one codec

Saeed Ahmed saeedahmad1981 at gmail.com
Wed Jul 20 13:11:27 MSD 2011


Hi,

If i set absoluteye_codec_string in dialplan with multiple codecs, like 
G729,PCMA,PCMU, then just first codec will be processed, rest will be 
ignored.

Example: {absolute_codec_string=${ep_codec_string}, i even tried using 
it like: absolute_codec_string='${ep_codec_string}'
or absolute_codec_string=\'${ep_codec_string}\'
or absolute_codec_string=\\'${ep_codec_string}\\'
(as suggested by bkw_ on IRC)

Console log shows like that:

EXECUTE sofia/profile/1234567 at 1.2.2.3 
bridge({absolute_codec_string=PCMA at 8000h@20i at 64000b,PCMU at 8000h@20i at 64000b,G729 at 8000h@20i at 8000b,leg_time_out=
10,process_cdr=b_only}[SupplierPrefix=]sofia/fstest/456789 at 7.2.1.4)


2011-07-20 11:03:59.448455 [DEBUG] switch_ivr_originate.c:1873 Parsing 
global variables
2011-07-20 11:03:59.448455 [DEBUG] switch_event.c:1170 Parsing variable 
[absolute_codec_string]=[PCMA at 8000h@20i at 64000b]
2011-07-20 11:03:59.448455 [DEBUG] switch_event.c:1170 Parsing variable 
[leg_time_out]=[10]
2011-07-20 11:03:59.448455 [DEBUG] switch_event.c:1170 Parsing variable 
[process_cdr]=[b_only]

Am i doing something wrong or should i open a JIRA?


-- 

Kind Regards

Saeed Ahmed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110720/65a74d23/attachment.html 


More information about the FreeSWITCH-users mailing list