Re: [asterisk-users] Problems with codec translation when using Monitor and MixMonitor

2012-01-16 Thread Daniel - Asterisk
Yes, a 'call' refers to two channels bridged.

Jim, please help me to undertand the numbers. I have two g729 licenses, my
SIP provider uses only g729 and my softphones support g729 too,
asterisk.conf is set in its default value (sln).

When a call (2 channels) is being made and succesfully recorded with
MixMonitor (wav49 format), I see at CLI:

testpbx*CLI sip show channels
Peer User/ANR Call ID
Format   Hold Last MessageExpiry Peer
A.B.C.D 987654321639237c5976  0x100 (g729) No
Tx: ACKsip-provider1
W.X.Y.Z elder 4e4adc85-b2e21c0x100 (g729)
No   Rx: ACKelder

testpbx*CLI g729 show licenses
0/2 encoders/decoders of 2 licensed channels are currently in use
Licenses Found:
File: G729-... -- Key: G729-...-- Host-ID: ... -- Channels: 1 (Expires:
20...) (OK)
File: G729-... -- Key: G729-...-- Host-ID: ... -- Channels: 1 (Expires:
20...) (OK)
Thanks for your answers,

Elder


On Thu, Jan 12, 2012 at 6:05 PM, Jim Dickenson dicken...@cfmc.com wrote:

 Here is a matrix we put together about g729 license needs:

  ==
 = == ===  
 Asterisk to SIP Provider SIP Client to Asterisk asterisk.conf sln
 defined record monitor encoders decoders
  ==
 = == ===  
 ulaw ulaw   yes
 yesyes00
 ulaw ulaw   yes
 yesno 00
 ulaw ulaw   yes
 no no 00
 ulaw ulaw   yes
 no yes00

 ulaw ulaw   no
yesyes00
 ulaw ulaw   no
yesno 00
 ulaw ulaw   no
no no 00
 ulaw ulaw   no
no yes00

 ulaw g729   yes
 yesyes33
 ulaw g729   yes
 yesno 23
 ulaw g729   yes
 no no 11
 ulaw g729   yes
 no yes33

 ulaw g729   no
yesyes33
 ulaw g729   no
yesno 23
 ulaw g729   no
no no 11
 ulaw g729   no
no yes33

 g729 ulaw   yes
 yesyes25
 g729 ulaw   yes
 yesno 25
 g729 ulaw   yes
 no no 11
 g729 ulaw   yes
 no yes23

 g729 ulaw   no
yesyes25
 g729 ulaw   no
yesno 25
 g729 ulaw   no
no no 11
 g729 ulaw   no
no yes23

 g729 g729   yes
 yesyes47
 g729 g729   yes
 yesno 37
 g729 g729   yes
 no no 11
 g729 g729   yes
 no yes45

 g729 g729   no
yesyes47
 g729 g729   no
yesno 37
 g729 

Re: [asterisk-users] Problems with codec translation when using Monitor and MixMonitor

2012-01-12 Thread Daniel - Asterisk
The simplest answer, I purchased one additional license and one
simultaneous call is being recorded now. I do not understand why the ulaw
codec (or format) is involved here (... No translator path from alaw to
unknown ...)

Any entry will be very appreciated.

Elder D. Arohuanca

Lima - Peru

On Wed, Jan 11, 2012 at 6:10 PM, Daniel - Asterisk earohua...@gmail.comwrote:

 Hi folks,

 I'm having problems when I try to record my calls using MixMonitor or
 Monitor. Calls are working well and audio quality is good.
 But I just can't get recorded audio in one leg with both applications. It
 happens with internal calls too. As it seems, the problem is my g729
 licensing escheme. (just one license installed)

 What is the least number of licenses that are needed per recorded call?
 or what can I do to fix it?

 My asterisk version: Asterisk 1.8.7.1

 Logs with MixMonitor:
 [Jan 11 17:55:48] WARNING[19500]: translate.c:256
 ast_translator_build_path: No translator path from alaw to unknown
 [Jan 11 17:55:48] WARNING[19500]: translate.c:256
 ast_translator_build_path: No translator path from alaw to unknown

 testpbx*CLI g729 show licenses
 0/1 encoders/decoders of 1 licensed channels are currently in use

 Licenses Found:
 File: G729-... -- Key: G729-... -- Host-ID: ... -- Channels: 1 (Expires:
 ...) (OK)


 Logs with Monitor:
 [Jan 11 17:49:49] WARNING[19491]: translate.c:256
 ast_translator_build_path: No translator path from alaw to g723
 [Jan 11 17:49:49] WARNING[19491]: file.c:186 ast_writestream: Unable to
 translate to format wav49, source format g729

 testpbx*CLI g729 show licenses
 0/1 encoders/decoders of 1 licensed channels are currently in use

 Licenses Found:
 File: G729-...lic -- Key: G729-... -- Host-ID: ... -- Channels: 1
 (Expires: ...) (OK)


 I've searched for this on forums but can't find a complete answer yet.

 Thanks!

 Elder D. Arohuanca

 Lima - Peru

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems with codec translation when using Monitor and MixMonitor

2012-01-12 Thread Kevin P. Fleming

On 01/12/2012 11:57 AM, Daniel - Asterisk wrote:

The simplest answer, I purchased one additional license and one
simultaneous call is being recorded now. I do not understand why the
ulaw codec (or format) is involved here (... No translator path from
alaw to unknown ...)

Any entry will be very appreciated.


When you say 'call', do you mean a call between two phones (endpoints)? 
If so, and both endpoints are using G.729 for audio, then yes, recording 
that call in any format other than G.729 will require *two* G.729 
decoders, one for each audio stream being received by Asterisk. Even in 
a case where you are only recording the combined audio from the two 
phones (MixMonitor), the audio must still be decoded in order to be mixed.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems with codec translation when using Monitor and MixMonitor

2012-01-12 Thread Jim Dickenson
Here is a matrix we put together about g729 license needs:

 == 
= == ===  
Asterisk to SIP Provider SIP Client to Asterisk asterisk.conf sln 
defined record monitor encoders decoders
 == 
= == ===  
ulaw ulaw   yes 
  yesyes00
ulaw ulaw   yes 
  yesno 00
ulaw ulaw   yes 
  no no 00
ulaw ulaw   yes 
  no yes00

ulaw ulaw   no  
  yesyes00
ulaw ulaw   no  
  yesno 00
ulaw ulaw   no  
  no no 00
ulaw ulaw   no  
  no yes00

ulaw g729   yes 
  yesyes33
ulaw g729   yes 
  yesno 23
ulaw g729   yes 
  no no 11
ulaw g729   yes 
  no yes33

ulaw g729   no  
  yesyes33
ulaw g729   no  
  yesno 23
ulaw g729   no  
  no no 11
ulaw g729   no  
  no yes33

g729 ulaw   yes 
  yesyes25
g729 ulaw   yes 
  yesno 25
g729 ulaw   yes 
  no no 11
g729 ulaw   yes 
  no yes23

g729 ulaw   no  
  yesyes25
g729 ulaw   no  
  yesno 25
g729 ulaw   no  
  no no 11
g729 ulaw   no  
  no yes23

g729 g729   yes 
  yesyes47
g729 g729   yes 
  yesno 37
g729 g729   yes 
  no no 11
g729 g729   yes 
  no yes45

g729 g729   no  
  yesyes47
g729 g729   no  
  yesno 37
g729 g729   no  
  no no 11
g729 g729   no  
  no yes45

-- 
Jim Dickenson
mailto:dicken...@cfmc.com

CfMC
http://www.cfmc.com/



On Jan 12, 2012, at 3:00 PM, Kevin P. Fleming wrote:

 On 01/12/2012 11:57 AM, Daniel - Asterisk wrote:
 The simplest answer, I purchased one additional license and one
 simultaneous call is being recorded now. I do not understand why the
 ulaw codec (or format) is involved here (... No translator path from
 alaw to unknown ...)
 
 Any entry will be very 

[asterisk-users] Problems with codec translation when using Monitor and MixMonitor

2012-01-11 Thread Daniel - Asterisk
Hi folks,

I'm having problems when I try to record my calls using MixMonitor or
Monitor. Calls are working well and audio quality is good.
But I just can't get recorded audio in one leg with both applications. It
happens with internal calls too. As it seems, the problem is my g729
licensing escheme. (just one license installed)

What is the least number of licenses that are needed per recorded call?
or what can I do to fix it?

My asterisk version: Asterisk 1.8.7.1

Logs with MixMonitor:
[Jan 11 17:55:48] WARNING[19500]: translate.c:256
ast_translator_build_path: No translator path from alaw to unknown
[Jan 11 17:55:48] WARNING[19500]: translate.c:256
ast_translator_build_path: No translator path from alaw to unknown

testpbx*CLI g729 show licenses
0/1 encoders/decoders of 1 licensed channels are currently in use

Licenses Found:
File: G729-... -- Key: G729-... -- Host-ID: ... -- Channels: 1 (Expires:
...) (OK)


Logs with Monitor:
[Jan 11 17:49:49] WARNING[19491]: translate.c:256
ast_translator_build_path: No translator path from alaw to g723
[Jan 11 17:49:49] WARNING[19491]: file.c:186 ast_writestream: Unable to
translate to format wav49, source format g729

testpbx*CLI g729 show licenses
0/1 encoders/decoders of 1 licensed channels are currently in use

Licenses Found:
File: G729-...lic -- Key: G729-... -- Host-ID: ... -- Channels: 1 (Expires:
...) (OK)


I've searched for this on forums but can't find a complete answer yet.

Thanks!

Elder D. Arohuanca

Lima - Peru
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users