Displaying 20 results from an estimated 300 matches similar to: "PJSIP - Forcing codec preference?"
2014 Sep 23
1
Change codec when dial from SIP to DAHDI
Hi:
I am useing asterisk 11.12.
I use G722 as preferred codec for my ip-phone. and my PSTN DAHDI
use alaw. G722 is great when ip-phone talks to each other. but when
ip-phone dialout to PSTN DAHDI, G722 is not great, since it is need to
transcode to alaw.
so I try to change the codec when dial from SIP to DAHDI. I tried
to use IP_CODEC/SIP_CODEC_OUTBOUND at dialplan. but the SIP
2010 Aug 03
0
asterisk-users Digest, Vol 73, Issue 5
Hi C F
no asterisk and sip device are not behind same router. actually both are in
different countries. how ever when caller and callee are behind same routers
voice is just fine (both ways) and i can see re-INVITEs too.
but when someone calls from another router then this issue arises. caller
can hear the called party but called party can not hear caller. and there
are no re-invites issued
2014 Aug 14
1
Possible handle leak in PJSIP
I have been seeing errors saying the Asterisk cannot establish an RTP
connection, so I did this:
lsof -i -n -P | grep asterisk | wc -l
10483
but I have only
Asterisk 11 has 1 open calls
Asterisk 12 has 21 open calls
Asterisk 14 has 19 open calls
Asterisk 15 has 22 open calls
Asterisk 16 has 15 open calls
Asterisk 17 has 15 open calls
Asterisk 30 has 71 open calls
Total
164 active calls
The
2008 Oct 23
0
command - set sip_codec- does not work with asterisk-1.4.21
hello:
i want to test the g729 with asterisk. my scenario is sipp(ulaw)->asterisk1 with g729->asterisk2 with g729.
I want to test g729 module with asterisk-1.4.21, when i make calls from asterisk 1 to asterisk 2, the asterisk 1 always send ulaw to asterisk 2. my sip in asterisk 1 is with codec g729 and enforce that use g729, the sip in asterisk 2 also work with G729 only, but asterisk 2
2009 Feb 25
1
SIP_CODEC variable
Hi,
I am using Aserisk 1.4.23.1 and trying to use SIP_CODEC to define the codec
being used. I have exclusively Polycom phones for this test, and basically I
want all communications to use g729 (preferred codec), except for pagine 20
phones (which busts my g729 license count). In that case I want to use gsm.
I have therefore specified Set(SIP_CODEC=gsm) I my dialplan before the
appropriate
2003 May 05
3
G723 - Has anyone gotten SIP_CODEC= to work?
FYI, asterisk DOES now support g723, but you have to pay for it:
http://store.yahoo.com/asteriskpbx/asteriskg729.html
-----Original Message-----
From: Dan Fernandez <danfernandez00@hotmail.com>
Date: Mon, 5 May 2003 17:33:05 -0300
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Has anyone gotten SIP_CODEC= to work?
Basically, since I?d like to use g723 for sip
2004 Jun 24
2
How to force G729
We want some of our users to use G729, and some others to use ULAW. Our PSTN gateway provider supports both, so that's not a problem, and if I force him (the PSTN gateway) to allow G729 only, the outgoing call will take place with G729.
The problem is that I want to have my PSTN provider configured to allow ULAW as a first priority, then G729. I did it like that:
[mypstngate]
type=friend
2005 Jun 03
0
SIP_CODEC, reinvites, and changing codecs
I am wondering if the SIP protocol and its implementation in * allows for
changing codecs mid-connection.
I've seen some questions regarding this on the list, but I've not found any
clear answers.
I've also seen the SIP_CODEC variable, but it's not clear that it will change
the codec on an existing call. Also, there are mentions of needing a reinvite
to make the change, but most
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 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 =>
2023 Jun 30
1
Setting codec on originating (calling) channel with chan_pjsip (SIP_CODEC_INBOUND equivalent)
Hello,
I finally got to look at chan_sip to chan_pjsip migration again. This
time I’m having problems with influencing codec selection on originating
(calling) channel. It looks like PJSIP_MEDIA_OFFER only works on
outbound (called) channel and has no affect on calling channel. My
experiments and function documentation (which says “Media and codec
offerings to be set on an outbound SIP
2014 Jul 30
2
SIP trunk gives fuzzy / distorted audio on mobiles, OK on fixed lines
I'm having a problem with a new SIP trunk.
Calls within the UK to fixed lines are fine, but calls to mobiles have
noticeably poorer audio quality.
I thought it might have been a codec issue; we have used G.726 for internal
and external calls (over primary ISDN and GSM). So I tried allowing "alaw",
(G.711 A-law) which is the native codec used within the PSTN in this country,
2010 Jun 21
1
Dialplan Gurus? Can Asterisk 1.4x CHANNEL function be used to retrieve info about OTHER channels?
Hi Everyone,
I want to know if a specific codec type is used at least one. For example, I
want to know if out of the 100 calls on the system if there is a 1 channel
that is running G.729 codec right now. If using dial-plan and I dial in, I
can use this to obtain information about CURRENT channel. But it won't allow
me to obtain information about OTHER channels and that is what I want to do.
I
2020 Sep 25
0
Negotiates g729 but RTP contains g711
Hi,
I was able to use Unsniff to validate that the incoming 20 byte payloads of audio from the downstream IAX2 trunk was definitely G.729a whilst Asterisk 16.13.0 transcodes to G.711a unnecessarily. Media is confirmed as having been negotiated as g729 on all four streams. Nuance with this call is that it's from a WebRTC client which doesn't transmit any audio, could this be influencing
2003 Oct 20
1
Setvar SIP_CODEC
Hello,
I have
a couple of 7960 and a quad T1 card on my asterisk box. I want to let
the phones to use g729 when they "talk" to each other, but to use g711
when I'm going to route the call out of my network using the T1 card.
Everything works just fine between the phones, but in order to be able
to make calls through T1 I have to disallow the g729.
For this purpose I have the
2014 Sep 27
2
can PJSIP_MEDIA_OFFER work like SIP_CODEC?
hi:
when using chan_sip, I can use set SIP_CODEC in dialplan to change
the codec of endpoint. this method didn't work with pjsip in asterisk
12/13.
I found asterisk 12/13 has a new function PJSIP_MEDIA_OFFER.
according to the description, it seems can set codec, but the document
didn't offer any example. i try to use something like
PJSIP_MEDIA_OFFER(alaw) but didn't work.
2010 Aug 02
6
Codec negotiation : expecting G726, getting G711a (alaw)
Hello list,
Grandstream GXP2010 phone calling to Snom 320, Asterisk in the middle.
Grandstream allows for 8 different codec specifications. I have defined
them as 4 x G726 & 4 x alaw.
Snom allow for 7 different codec specifications. I have defined them as
3 x G726 & 4 x G729.
The SIP peers are both defined as :
disallow=all
allow=g726
allow=alaw
allow=g729
allow=gsm
This is the
2020 Sep 25
0
Negotiates g729 but RTP contains g711
Hi,
I was able to use Unsniff to validate that the incoming 20 byte payloads of audio from the downstream IAX2 trunk was definitely G.729a whilst Asterisk 16.13.0 transcodes to G.711a unnecessarily. Media is confirmed as having been negotiated as g729 on all four streams. Nuance with this call is that it's from a WebRTC client which doesn't transmit any audio, could this be influencing
2009 Dec 29
1
ReceiveFAX G.711 + Realtime
Hello,
We're trying to receive G.711 (aLaw) faxes on the asterisk and convert
them to tif. With T.38, we have several issues, so we are trying to use
G.711, since the gateway is located in the same LAN, so there's no
bandwidth/packet-lose issue.
We also use on the same Asterisk Real-Time process for the extensions.conf
My question:
Is the following syntax for disabling T.38 support
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)}