<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.1">
</HEAD>
<BODY>
<BR>
<FONT COLOR="#000000">Hi Sir,</FONT><BR>
<BR>
<FONT COLOR="#000000">We have integrated Skype with Asterisk (skype user id:- rexesbposolutions). Each call which is coming to skype account is getting transfered to Asterisk Queue. It has following two cases:</FONT><BR>
<BR>
<FONT COLOR="#000000">case 1: When we call from normal skype account to skype account (rexesbposolutions), everything is working fine.</FONT><BR>
<BR>
<FONT COLOR="#000000">case 2: This skype account (rexesbposolutions) has been assigned with a online virtual number (00 44 20 *</FONT>***<FONT COLOR="#000000"> ****). If somebody dial this number from their landline/cellphone, call is transfered to Asterisk queue but it shows some problem related to G729 codecs. following are Asterisk CLI log:</FONT><BR>
<BR>
<FONT COLOR="#333399">    </FONT><FONT COLOR="#008080">Executing [s@skypeincoming:1] Answer("Skype/rexesbposolutions-084159e8", "") in new stack</FONT><BR>
<FONT COLOR="#008080">    -- Executing [s@skypeincoming:2] Wait("Skype/rexesbposolutions-084159e8", "5") in new stack</FONT><BR>
<FONT COLOR="#008080">    -- Executing [s@skypeincoming:3] GotoIfTime("Skype/rexesbposolutions-084159e8", "9:00-18:00|mon-fri|*|*?sky|s|1") in new stack</FONT><BR>
<FONT COLOR="#008080">    -- Goto (sky,s,1)</FONT><BR>
<FONT COLOR="#008080">    -- Executing [s@sky:1] Playback("Skype/rexesbposolutions-084159e8", "enter") in new stack</FONT><BR>
<FONT COLOR="#008080">    -- <Skype/rexesbposolutions-084159e8> Playing 'enter' (language 'en')</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:14] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x4 (ulaw)</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:14] WARNING[4997]: file.c:147 ast_stopstream: Unable to restore format back to 4</FONT><BR>
<FONT COLOR="#008080">    -- Executing [s@sky:2] Queue("Skype/rexesbposolutions-084159e8", "markq|t|||900") in new stack</FONT><BR>
<FONT COLOR="#008080">    -- Started music on hold, class 'default', on Skype/rexesbposolutions-084159e8</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:14] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x40 (slin)</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:14] WARNING[4997]: res_musiconhold.c:251 ast_moh_files_next: Unable to open file '/var/lib/asterisk/moh/manolo_camp-morning_coffee': No such file or directory</FONT><BR>
<FONT COLOR="#008080">    -- Stopped music on hold on Skype/rexesbposolutions-084159e8</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:14] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x2 (gsm)</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:14] WARNING[4997]: res_musiconhold.c:204 moh_files_release: Unable to restore channel 'Skype/rexesbposolutions-084159e8' to format '2'</FONT><BR>
<FONT COLOR="#008080">    -- Playing periodic announcement</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:34] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x2 (gsm)</FONT><BR>
<FONT COLOR="#008080">    -- <Skype/rexesbposolutions-084159e8> Playing 'queue' (language 'en')</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:43] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x2 (gsm)</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:43] WARNING[4997]: file.c:147 ast_stopstream: Unable to restore format back to 2</FONT><BR>
<FONT COLOR="#008080">  == Spawn extension (sky, s, 2) exited non-zero on 'Skype/rexesbposolutions-084159e8'</FONT><BR>
<FONT COLOR="#008080">[Dec 29 17:27:43] NOTICE[4997]: core.cpp:2133 sfa_call_hangup: ending call</FONT><BR>
<BR>
<BR>
<BR>
following are output of some commands:-<BR>
<BR>
*CLI> core show translation<BR>
<BR>
  Translation times between formats (in milliseconds) for one second of data<BR>
          Source Format (Rows) Destination Format (Columns)<BR>
<BR>
          g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722<BR>
     g723    -   -    -    -        -     -    -     -    -     -    -    -    -<BR>
      gsm    -   -    2    2        2     2    1     2    6     -    -    2    -<BR>
     ulaw    -   2    -    1        2     2    1     2    6     -    -    2    -<BR>
     alaw    -   2    1    -        2     2    1     2    6     -    -    2    -<BR>
 g726aal2    -   2    2    2        -     2    1     2    6     -    -    2    -<BR>
    adpcm    -   2    2    2        2     -    1     2    6     -    -    2    -<BR>
     slin    -   1    1    1        1     1    -     1    5     -    -    1    -<BR>
    lpc10    -   2    2    2        2     2    1     -    6     -    -    2    -<BR>
     g729    -   6    6    6        6     6    5     6    -     -    -    6    -<BR>
    speex    -   -    -    -        -     -    -     -    -     -    -    -    -<BR>
     ilbc    -   -    -    -        -     -    -     -    -     -    -    -    -<BR>
     g726    -   2    2    2        2     2    1     2    6     -    -    -    -<BR>
     g722    -   -    -    -        -     -    -     -    -     -    -    -    -<BR>
<BR>
<BR>
*CLI> help g729<BR>
         g729 show hostid  Show G.729 Host-ID<BR>
       g729 show licenses  Show G.729 Licenses and Usage<BR>
        g729 show version  Show G.729 Module Version<BR>
<BR>
*CLI> g729 show hostid<BR>
Host-ID: 1a:cf:bb:80:da:e8:3b:dc:8c:e0:97:fe:a1:fb:65:c5:3c:e2:0b:be<BR>
<BR>
*CLI> g729 show licenses<BR>
0/0 encoders/decoders of 1 licensed channels are currently in use<BR>
<BR>
Licenses Found:<BR>
File: ***-*************.lic -- Key:  ***-************* -- Host-ID: 1a:cf:bb:80:da:e8:3b:dc:8c:e0:97:fe:a1:fb:65:c5:3c:e2:0b:be -- Channels: 1 (Expires: 2029-11-30) (OK)<BR>
<BR>
*CLI> g729 show version<BR>
Digium G.729A Module Version 1.4_3.1.4 (optimized for i686_32)<BR>
<BR>
<BR>
*CLI> core show codecs<BR>
Disclaimer: this command is for informational purposes only.<BR>
        It does not indicate anything about your configuration.<BR>
        INT    BINARY        HEX   TYPE       NAME   DESC<BR>
--------------------------------------------------------------------------------<BR>
          1 (1 <<  0)      (0x1)  audio       g723   (G.723.1)<BR>
          2 (1 <<  1)      (0x2)  audio        gsm   (GSM)<BR>
          4 (1 <<  2)      (0x4)  audio       ulaw   (G.711 u-law)<BR>
          8 (1 <<  3)      (0x8)  audio       alaw   (G.711 A-law)<BR>
         16 (1 <<  4)     (0x10)  audio   g726aal2   (G.726 AAL2)<BR>
         32 (1 <<  5)     (0x20)  audio      adpcm   (ADPCM)<BR>
         64 (1 <<  6)     (0x40)  audio       slin   (16 bit Signed Linear PCM)<BR>
        128 (1 <<  7)     (0x80)  audio      lpc10   (LPC10)<BR>
        256 (1 <<  8)    (0x100)  audio       g729   (G.729A)<BR>
        512 (1 <<  9)    (0x200)  audio      speex   (SpeeX)<BR>
       1024 (1 << 10)    (0x400)  audio       ilbc   (iLBC)<BR>
       2048 (1 << 11)    (0x800)  audio       g726   (G.726 RFC3551)<BR>
       4096 (1 << 12)   (0x1000)  audio       g722   (G722)<BR>
      65536 (1 << 16)  (0x10000)  image       jpeg   (JPEG image)<BR>
     131072 (1 << 17)  (0x20000)  image        png   (PNG image)<BR>
     262144 (1 << 18)  (0x40000)  video       h261   (H.261 Video)<BR>
     524288 (1 << 19)  (0x80000)  video       h263   (H.263 Video)<BR>
    1048576 (1 << 20) (0x100000)  video      h263p   (H.263+ Video)<BR>
    2097152 (1 << 21) (0x200000)  video       h264   (H.264 Video)<BR>
<BR>
<BR>
Asterisk CLI logs:-<BR>
<BR>
*************************************************************************************************<BR>
<BR>
func_logic.so => (Logical dialplan functions)<BR>
[Dec 29 18:22:17] NOTICE[4282]: codec_g729a.c:755 load_module: G.729A transcoding module version    1.4_3.1.4, Copyright (C) 1999-2009 Digium, Inc.<BR>
[Dec 29 18:22:17] NOTICE[4282]: codec_g729a.c:756 load_module: This module is supplied under a co   mmercial license granted by Digium, Inc.<BR>
[Dec 29 18:22:17] NOTICE[4282]: codec_g729a.c:757 load_module: Please see the full license text s   upplied by the accompanying<BR>
[Dec 29 18:22:17] NOTICE[4282]: codec_g729a.c:758 load_module: "register" utility, or ask for a c   opy from Digium.<BR>
[Dec 29 18:22:17] NOTICE[4282]: codec_g729a.c:763 load_module: This product includes software dev   eloped by the OpenSSL Project<BR>
[Dec 29 18:22:17] NOTICE[4282]: codec_g729a.c:764 load_module: for use in the OpenSSL Toolkit. (h   ttp://<A HREF="http://www.openssl.org/)">www.openssl.org/)</A><BR>
[Dec 29 18:22:17] NOTICE[4282]: codec_g729a.c:765 load_module: Copyright (C) 1998-2006 The OpenSS   L Project<BR>
<BR>
  == Manager registered action G729LicenseStatus<BR>
  == Manager registered action G729LicenseList<BR>
  == Host-ID: 1a:cf:bb:80:da:e8:3b:dc:8c:e0:97:fe:a1:fb:65:c5:3c:e2:0b:be<BR>
  == Found license 'S4A-UGMS4JZXQMDE' providing 1 channels<BR>
  == Found total of 1 G.729 licenses<BR>
  == Registered translator 'g729tolin' from format g729 to slin, cost 1<BR>
  == Registered translator 'lintog729' from format slin to g729, cost 5<BR>
codec_g729a.so => (Digium G.729 Annex A Codec (optimized for i686_32))<BR>
  == Registered application 'Flash'<BR>
app_flash.so => (Flash channel application)<BR>
  == Registered file format iLBC, extension(s) ilbc<BR>
<BR>
*************************************************************************************************<BR>
<BR>
<BR>
*CLI>  Executing [s@skypeincoming:1] Answer("Skype/rexesbposolutions-084159e8", "") in new stack<BR>
    -- Executing [s@skypeincoming:2] Wait("Skype/rexesbposolutions-084159e8", "5") in new stack<BR>
    -- Executing [s@skypeincoming:3] GotoIfTime("Skype/rexesbposolutions-084159e8", "9:00-18:00|mon-fri|*|*?sky|s|1") in new stack<BR>
    -- Goto (sky,s,1)<BR>
    -- Executing [s@sky:1] Playback("Skype/rexesbposolutions-084159e8", "enter") in new stack<BR>
    -- <Skype/rexesbposolutions-084159e8> Playing 'enter' (language 'en')<BR>
[Dec 29 17:27:14] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x4 (ulaw)<BR>
[Dec 29 17:27:14] WARNING[4997]: file.c:147 ast_stopstream: Unable to restore format back to 4<BR>
    -- Executing [s@sky:2] Queue("Skype/rexesbposolutions-084159e8", "markq|t|||900") in new stack<BR>
    -- Started music on hold, class 'default', on Skype/rexesbposolutions-084159e8<BR>
[Dec 29 17:27:14] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x40 (slin)<BR>
[Dec 29 17:27:14] WARNING[4997]: res_musiconhold.c:251 ast_moh_files_next: Unable to open file '/var/lib/asterisk/moh/manolo_camp-morning_coffee': No such file or directory<BR>
    -- Stopped music on hold on Skype/rexesbposolutions-084159e8<BR>
[Dec 29 17:27:14] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x2 (gsm)<BR>
[Dec 29 17:27:14] WARNING[4997]: res_musiconhold.c:204 moh_files_release: Unable to restore channel 'Skype/rexesbposolutions-084159e8' to format '2'<BR>
    -- Playing periodic announcement<BR>
[Dec 29 17:27:34] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x2 (gsm)<BR>
    -- <Skype/rexesbposolutions-084159e8> Playing 'queue' (language 'en')<BR>
[Dec 29 17:27:43] WARNING[4997]: channel.c:3106 set_format: Unable to find a codec translation path from 0x100 (g729) to 0x2 (gsm)<BR>
[Dec 29 17:27:43] WARNING[4997]: file.c:147 ast_stopstream: Unable to restore format back to 2<BR>
  == Spawn extension (sky, s, 2) exited non-zero on 'Skype/rexesbposolutions-084159e8'<BR>
[Dec 29 17:27:43] NOTICE[4997]: core.cpp:2133 sfa_call_hangup: ending call<BR>
<BR>
<BR>
<FONT COLOR="#000000">Kindly resolve this issue ASAP.</FONT><BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT SIZE="2"><FONT COLOR="#000000">With Regards</FONT></FONT><BR>
<BR>
<BR>
<B><FONT SIZE="2"><FONT COLOR="#000080">Vijay Goyal (Software Engineer VOIP)</FONT></FONT></B><BR>
<FONT SIZE="2"><FONT COLOR="#000080">Alliance Infotech Private Limited - Mobility,Convenience,Realization</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#000080">(An ISO 9001: 2000 certified company)</FONT></FONT> <BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#000080">B 254 First Floor, Okhla Industrial Area-I, New Delhi 110 020 (India) | Tel: +91 11 40517731, 2637 1851 | Fax: +91 11 2637 1852, 2981 0953</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#000080">Digium Select Partner | Dialogic Partner | Microsoft Certified Part</FONT></FONT><FONT COLOR="#000080">ner    CRM & </FONT><FONT COLOR="#000080"><FONT SIZE="2">Computer Telephony solutions | Speech Enabled IVRS |  Unified Communications | Voice loggers | Audio Conferencing | Web Enabled sol</FONT></FONT><FONT COLOR="#000080">utions  </FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>