Giovanni,
I know the Skype API takes a TCP stream of SL 16. In order to force the correct codecs, I inserted setting the following in the dialplan just before the bridge.
<action application="export" data="nolocal:absolute_codec_string=L16,SL16,GSM"/>
However call establishment still fails with INCOMPATIBLE_DESTINATION after comparing GSM and L16:
Any suggestions on the contents of global_codec_prefs, outbound_codec_prefs, or nolocal:absolute_codec_string? I suspect I need to define something like L16@13200h but when I tried this, the L16 offering did not change.
2013-10-17 18:22:25.252453 [NOTICE] mod_skypopen.c:2471 Channel [skypopen/skype102/echo123] has been answered
2013-10-17 18:22:25.252453 [DEBUG] switch_channel.c:3594 (skypopen/skype102/echo123) Callstate Change RINGING -> ACTIVE
2013-10-17 18:22:25.252453 [DEBUG] mod_skypopen.c:1232 [543dc3c|22dd4bf] [DEBUG_SKYPE 1232 ][skype102 ][UP,INPROGRS] MSG_ID=41
2013-10-17 18:22:25.252453 [DEBUG] mod_skypopen.c:2479 [543dc3c|22dd4bf] [DEBUG_SKYPE 2479 ][skype102 ][UP,INPROGRS] outbound_channel_answered!
2013-10-17 18:22:25.272510 [DEBUG] sofia_glue.c:5226 Audio Codec Compare [GSM:3:8000:20:13200]/[PCMU:0:8000:20:64000]
2013-10-17 18:22:25.272510 [DEBUG] sofia_glue.c:5226 Audio Codec Compare [GSM:3:8000:20:13200]/[PCMA:8:8000:20:64000]
2013-10-17 18:22:25.272510 [DEBUG] sofia_glue.c:5226 Audio Codec Compare [GSM:3:8000:20:13200]/[L16:70:8000:20:128000]
2013-10-17 18:22:25.272510 [DEBUG] sofia_glue.c:5370 No 2833 in SDP. Disable 2833 dtmf and switch to INFO
2013-10-17 18:22:25.272510 [DEBUG] switch_core_session.c:858 Send signal sofia/internal/[me]@[ip] [BREAK]
2013-10-17 18:22:25.272510 [NOTICE] switch_channel.c:3633 Hangup sofia/internal//[me]@[ip] [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
2013-10-17 18:22:25.272510 [DEBUG] switch_channel.c:3134 Send signal sofia/internal//[me]@[ip] [KILL]
2013-10-17 18:22:25.272510 [DEBUG] switch_core_session.c:1338 Send signal sofia/internal//[me]@[ip] [BREAK]
2013-10-17 18:22:25.272510 [DEBUG] switch_ivr_originate.c:3450 sofia/internal//[me]@[ip] Media Establishment Failed.
2013-10-17 18:22:25.272510 [NOTICE] switch_ivr_originate.c:3452 Hangup skypopen/skype102/echo123 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]