Displaying 20 results from an estimated 1000 matches similar to: "CODECS: Best practice question: Avoid transcode when calling out?"
2008 Oct 29
1
codec not in channel variables
Hi,
I'm trying to access audionativeformat / other codec variables in the hangup handler of a call (with ${CHANNEL(audioreadformat)}), but I get no response. Also 'core show channel ...' doesn't list those variables. Are they always set by asterisk, or only in some scenarios? It's a simple SIP-SIP call with audio passing through asterisk, same codecs on both sides.
I see that
2011 Jul 03
1
SIP Peer Name Variable
Hi,
Is there a variable that contains the Sip Peer name?
I was using ${CALLERID(num)} for outgoing calls, but when a call is being transferred, that variable contains something else.
I need a variable that is always set to the SIP Peer's name.
Thanks
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Apr 21
1
Transcode ulaw/g722 problem
We are getting the following on 1.8.3 and 1.8.4-rc2, HELP!
Why is Asterisk unable to transcode to/from ulaw and g722?
[2011-04-21 09:51:34] WARNING[22067]: chan_sip.c:6064 sip_write: Asked to transmit frame type ulaw, while native formats is 0x1000 (g722) read/write = 0x1000 (g722)/0x1000 (g722)
[2011-04-21 09:51:34] WARNING[22067]: chan_sip.c:6064 sip_write: Asked to transmit frame type ulaw,
2013 Dec 15
3
Why doesn't Asterisk try to prevent transcoding
Let's say I have two devices configured and the follow call scenarios occur.
[100]
disallow=all
allow=g722&ulaw
Polycom phone with g722,ulaw,alaw,g729
[101]
disallow=all
allow=ulaw
Polycom phone with g722,ulaw,alaw,g729
101 dials 100 -> ulaw to ulaw is chosen
100 dials 101 -> g722 to ulaw is chosen
Ideally when 100 dials 101 ulaw would be chosen since it is the common
format.
2009 Feb 21
1
VoIP Information in CDRs
Hi,
I am trying to find a way to add the following info in CDRs (with
asterisk 1.4.23.1):
1. Codec used
2. RTP QoS statistics
3. RTP IP of remote host
4. For answered calls, the peer that requested to end the conversation
I have managed to get 1 and 2 for the caller, like that:
exten => h,1,Set(CDR(userfield)=RIP=${SIPCHANINFO(recvip)}
2009 Oct 13
3
strange transcoding values
Hello guys,
i have a question about a voip gateway we use.
I saw those values typing in cli:
core show translation
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 slin16
g723 - - - - - - - - - - - - - -
gsm - - 2001 2001 6000 2001 2000 16000 - 34002 - 6000
2013 Jul 27
1
Transcoding OPUS?
Hello,
I'd like to ask whether there is some documentation with recommended
parameters for transcoding voice codecs such as G722, G711a/u <-> Opus with
near-transparency.
My Idea is to have something like:
HW-Phone <-> Asterisk <---------> Asterisk <-> HW-Phone
(G722)
(Opus) (G722)
in order to lower the bandwidth between the two
2014 May 12
1
new install: no re-invite and unwanted transcoding
I am unable to get re-invite to work on a new system. Also, unwanted
transcoding is occurring on PSTN calls.
The new system (FreePBX 2.11.0.37, Asterisk 11.9.0, CentOS 6.5) will
eventually replace an old system (FreePBX 2.8.1, Asterisk 1.8.7.2,
CentOS 5.8) currently in production. Both systems are on VPS with public
IP addresses. Goals for the new system include: HD (g722) connections on
2009 Jul 20
0
No subject
have problems with outgoing calls. When I tried this, the same way you did,
I could make calles externally but had no audio each way reguardless of what
I tried to pass to the sip provider. Best bet is to use what your sip
provider can use or find another provider that that can do g722. That's what
I did when I wanted to use g726.
my2cents
On Tue, Jun 29, 2010 at 2:42 PM, Mindaugas Kezys
2011 May 04
1
asterisk 1.4.35 to 1.4.41
Under 1.4.35 I get this message printed MANY times
[May 3 21:41:21] WARNING[21567] chan_sip.c: Asked to transmit frame
type 4, while native formats is 0x1000 (g722)(4096) read/write = 0x1000
(g722)(4096)/0x1000 (g722)(4096)
[May 3 21:41:21] WARNING[21567] chan_sip.c: Asked to transmit frame
type 4, while native formats is 0x1000 (g722)(4096) read/write = 0x1000
(g722)(4096)/0x1000
2017 May 12
3
pjsip: asterisk can't decide which codec to use
Hello!
I'm facing completely choppy sound. The wireshark trace shows, that
there are a lot of codec changes without any trigger (means no options
or reinvite or any other package).
Background:
The call is initiated by asterisk and is received by the same asterisk
conference room via
Phone extension -> asterisk -> provider A -> provider B -> asterisk.
Asterisk initially sends
2023 Jul 05
3
Setting codec on originating (calling) channel with chan_pjsip (SIP_CODEC_INBOUND equivalent)
Hello,
Anyone? I have hard time to believe this is not possible with chan_pjsip.
Anyway, may I ask how people handle the following scenario which I
imagine should be quite common:
- I have internal extensions talk to each other using g722. so their
codec setting (with chan_sip now) is "allow=g722,ulaw"
- I have carriers trunks that handle ulaw only (allow=ulaw)
- calls between
2008 Feb 07
6
Asterisk G722
Hello,
I have some problems to use G722, when my client sent an invite request
to asterisk using G722/16000 codec
asterisk respond with G722/8000 codec.
I dont know exactly if Asterisk supports G722/16000 codec??
If yes how can I activate It??
Thanks.
Rachid.
Below wireshak trace:
2018 Jun 16
2
Only 8kHz recorded after disallowing all but G722 codec on inbound
We want to record inbound channels at 16kHz, but send only 8kHz to our
peers. I've set our default profile in sip.conf to disallow all but g722,
and the peers disallow all but ulaw. We have a proxy in front of Asterisk
that is configured to disallow all but G722 also.
My test calls show inbound to the proxy is recorded at 16kHz, inbound in
Asterisk is only 8kHz, and the peers receive 8kHz. So
2010 Feb 08
3
High codec translation times on x64
Hi Users,
I was wondering if someone of you have the same thing on CentOS 64x?
asterisk01*CLI> core show translation
Translation times between formats (in microseconds) for one
second of data
Source Format (Rows) Destination Format (Columns)
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729
speex ilbc g726 g722 siren7 siren14 slin16
g723
2023 Jul 05
1
Setting codec on originating (calling) channel with chan_pjsip (SIP_CODEC_INBOUND equivalent)
Hello Michael,
you are referring to the following behavior - did I get it correctly?:
outbound broken: asterisk offers g722 / g711 to provider (callee),
callee answers g711. Asterisk now transcodes between caller and callee
(g722 <-> g711).
inbound works: call from provider: g711 -> asterisk drops g722 and
passes g711 to internal callee -> no transcoding.
As far as I know,
2006 Nov 04
1
Pass through
Hi!
I want to tell asterisk to simply pass-through any codecs that my phones
support. I have to use codecs that are not popular and implemented by a
third-party, asterisk has nothing to do with them.
I've made a test with g722 (that asterisk doesn't support), i've set all my
two snom 300 phones to support only g722 and asterisk declined the sip
invitation. That is bad for me. Is it
2009 May 17
1
SHARED() variables and <ZOMBIE> channel
Hi,
I am using SHARED() function to push destination channel info (i.e.
audio codec) into "source" channel, in order to record into a customer
CDR field.
My dialplan looks like:
[default]
exten => _X.,1,Set(_X-SRC_CHANNEL=${CHANNEL})
exten => _X.,n,Dial(SIP/user at domain.net,30,M(getCalledInfo))
exten => h,1,Set(CDR(DST_CODEC)=${SHARED(X-DST-CODEC,${CHANNEL})})
2010 Jun 26
2
Codec negotiation
I have Polycom phones that support the g722 codec. Adding allow=g722
to the [general] section of sip.conf works great and I can make calls
between the phones using g722. However Asterisk is negotiating g722
for calls going out my voip provider and transcoding these to ulaw. In
sip.conf for the provider I have deny=all and allow=ulaw. This can
cause potential audio degrading and wastes cpu cycles.
2011 Mar 30
1
CDR Mysql adaptive Colum
Hello folks, i installed asterisk 1.8 from repo:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages
And Looked at this article about CDR in mysl.
http://www.voip-info.org/wiki/view/Asterisk+cdr+mysql
I installed asterisk-mysql pacakge from debian repo.
The cdr in mysql is working, but i can not get cdr adaptive colums are not,
i use this in my extension.conf
exten =>