codecs and their conversion in inbound calling

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

codecs and their conversion in inbound calling

Postby tech.php » Wed Jun 03, 2009 10:10 am

Is there any possibility of conversion of incoming calls in G711a format into G729 format by asterisk.

The case is as below:
There seems some issue with my DID provider. They say we're using G729 codec. But the total bandwidth usage(incoming+outgoing) is almost 2.09 Mbps with only 71 active channels in asterisk console.
Is there any possibility that I'm missing something or have misconfigured my Vicidial installation?
I've disabled all other codecs than G729 in my sip.conf.

Please help.
tech.php
 
Posts: 28
Joined: Mon Aug 18, 2008 12:30 pm

Re: codecs and their conversion in inbound calling

Postby gzpxyj » Thu Jun 04, 2009 10:45 pm

tech.php wrote:Is there any possibility of conversion of incoming calls in G711a format into G729 format by asterisk.

The case is as below:
There seems some issue with my DID provider. They say we're using G729 codec. But the total bandwidth usage(incoming+outgoing) is almost 2.09 Mbps with only 71 active channels in asterisk console.
Is there any possibility that I'm missing something or have misconfigured my Vicidial installation?
I've disabled all other codecs than G729 in my sip.conf.

Please help.

If you look at asterisk log, you should see what codecs it uses. Or you can change your setting to g711a and see the bandwith. I know for sure that there are automatic conversions between codecs in asterisk. Forgot the command, but you should be able to see those conversion table by issuing a command at asterisk cli.
gzpxyj
 
Posts: 94
Joined: Sun Mar 22, 2009 7:56 am

Postby Op3r » Fri Jun 05, 2009 2:02 am

show translation
Get paid for US outbound Toll Free calls. PM me. visit https://stopmanualdial.com for vicidial services.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby tech.php » Fri Jun 05, 2009 2:35 pm

gzpxyj wrote:
tech.php wrote:Is there any possibility of conversion of incoming calls in G711a format into G729 format by asterisk.

The case is as below:
There seems some issue with my DID provider. They say we're using G729 codec. But the total bandwidth usage(incoming+outgoing) is almost 2.09 Mbps with only 71 active channels in asterisk console.
Is there any possibility that I'm missing something or have misconfigured my Vicidial installation?
I've disabled all other codecs than G729 in my sip.conf.

Please help.

If you look at asterisk log, you should see what codecs it uses. Or you can change your setting to g711a and see the bandwith. I know for sure that there are automatic conversions between codecs in asterisk. Forgot the command, but you should be able to see those conversion table by issuing a command at asterisk cli.


@gzpxyj
That means if the DID provider is using g711a and I've allowed only g729 in my sip.conf, then my asterisk box will use transcoding between codecs to accept incoming calls?
tech.php
 
Posts: 28
Joined: Mon Aug 18, 2008 12:30 pm

Postby Op3r » Fri Jun 05, 2009 3:44 pm

if you only allowed g729 it wont connect
Get paid for US outbound Toll Free calls. PM me. visit https://stopmanualdial.com for vicidial services.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby tech.php » Fri Jun 05, 2009 9:13 pm

Hi Op3r,

Thanks for your prompt reply. :)

Op3r wrote:if you only allowed g729 it wont connect


If it will not connect, then why the bandwidth usage are so high?
I think total active channel is the number of channels displayed using 'show channels' command on asterisk console. If I am not wrong, then the bandwidth usage between my asterisk box and did provider's IP (I'm using iftop for that) should be much less than its current value.
Or I'm missing something else? :(
tech.php
 
Posts: 28
Joined: Mon Aug 18, 2008 12:30 pm

Postby codehaxor » Sat Jun 06, 2009 5:41 am

did you do a

disallow=all
allow=g729

on your inbound trunk?
Team Dax Cordova IT Consulting
Vicidial Remote & Onsite Installation / Configuration / Custom Development / Consultancy Services
http://www.linkedin.com/in/codehaxor
FREE VICIDIAL INSTALLATION IN THE PHILIPPINES
codehaxor
 
Posts: 151
Joined: Wed Mar 14, 2007 2:37 am
Location: Dumaguete City, Philippines

Re: codecs and their conversion in inbound calling

Postby gardo » Sat Jun 06, 2009 9:56 am

The total bandwidth usage that you have is accurate. Here's the breakdown of your 71 active channels:

RTP: 4.69 Kbps
UDP: 3.13 Kbps
IP: 7.81 Kibps
G729a 8.00 Kbps

That's around 1.7mbps of bandwidth.

There are actually other factors to consider in computing your bandwitdh usage. Specifically the overhead part.

tech.php wrote:Is there any possibility of conversion of incoming calls in G711a format into G729 format by asterisk.

The case is as below:
There seems some issue with my DID provider. They say we're using G729 codec. But the total bandwidth usage(incoming+outgoing) is almost 2.09 Mbps with only 71 active channels in asterisk console.
Is there any possibility that I'm missing something or have misconfigured my Vicidial installation?
I've disabled all other codecs than G729 in my sip.conf.

Please help.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby williamconley » Mon Jun 08, 2009 5:58 pm

sip show channels

will show the format of each channel, authoritatively.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20427
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)


Return to Support

Who is online

Users browsing this forum: No registered users and 92 guests