similar to: Change codec when dial from SIP to DAHDI

Displaying 20 results from an estimated 3000 matches similar to: "Change codec when dial from SIP to DAHDI"

2020 Feb 05
1
Hangup hook to put back a call into a queue
hi, I hope someone can help me:-) we’ve got a freepbx server. there are 2 special extensions (2001, 2002). if someone calls this extensions (or a call is forwarded to these extensions) and these extension hangup (not the caller party), then we’d like to put the calls back into a queue (1000) and wouldn’t like to hangup. I read your description about hangup hooks:
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.
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
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
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
2010 Jun 11
2
Call ended after 31 seconds
Hi people, I have a problem with some extensions. The calls are ended after 31/35 seconds, also, it depends on the number which I call. This is the log, but I've not been able to find something wrong... Any ideas? [Jun 11 15:50:46] DEBUG[26071] app_macro.c: Executed application: ExecIf [Jun 11 15:50:46] VERBOSE[26071] logger.c: -- Executing [s at macro-dialout-trunk:16]
2019 Oct 03
2
Asterisk not using common codec between (SIP) endpoints
Hello people, I've ran into two problem that I can't seem to be able to solve on my own. Here's my scenario (running Asterisk 13.28.1): In short: - Asterisk behaves unexpectedly (at least to me) when negotiating between endpoints             that have a different but intersecting set of codecs (preventing direct media flow).           - Also, when an endpoint sends RTP with an
2020 Sep 24
2
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
2020 Sep 25
0
PJSIP - Forcing codec preference?
Hi, We're holding ourselves back from moving to PJSIP as we don't appear to have figured out how to force codec preference in a dial plan. The 'PJSIP Advanced Codec Negotiation' document (https://wiki.asterisk.org/wiki/display/AST/PJSIP+Advanced+Codec+Negotiation) appears to ultimately be what we're after, but we're not comfortable running Asterisk 18 in production just
2015 Mar 20
3
outbound calls
hello list i have an issue related to outbound calls i can contact all the number except on number given by our provider in trunk the issue just when i configure my trunk in our server but when i configure the trunk directly in x-lite i can contact this number without issue below the cli == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Executing [0149xxxxxx at
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
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 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 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
2005 Mar 16
2
Dial multiple extensions, but different variables/timeouts
Hi everyone, I'm wondering I would accomplish the following: I want to dial several SIP extensions simultaneously, HOWEVER, for different times (say ext 10 for 15 sec and ext 11 for 30 sec), and potentially with different headers (such as ALERT_INFO) and codecs for each extension. Obviously whoever picks up first gets the call. After the longest timeout expires (30 sec in this example) I want
2015 Sep 30
3
Change Asterisk MulticastRTP codec
Greetings everyone, I was wondering if there was a way to change the codec that Asterisk uses when streaming via MulticastRTP. Or perhaps a way to transcode the multicast stream. In the CLI, when I have a multicast stream in progress, I am typing 'core show channel MulticastRTP/0x7f7........' to get lots of helpful information. I have noticed that when I do a MULTICAST page and send data
2010 Feb 06
1
CONNECTEDLINE
Gentlemen, Did tryout "CONNECTEDLINE" function, was exactly what I have been looking for. But there are at least one thing I cant figure out. Did a very simple and "stupid" extension 0317998955 and ran a test. My phone (0317998975) dials 955, the display on my phone changes from "955" to "Connected Line 955" when my call is answered, shouldn't the
2006 May 09
2
exten statement execution order
In the following macro, a call is dialed and control branches according to DIALSTATUS, much like the default std-exten macro. What I'm trying to figure out is how to regain control when the call is answered. ; Standard extension logic [macro-stdexten] ; ${ARG1}=Extension ${ARG2}=Device(s) to ring exten => s,1,NoOp(stdexten ${EXTEN}) exten =>
2010 Mar 26
1
SIP/2.0 403 Forbidden
hi,all when i send a call to other server use SIP trunk, i got this below, <--- SIP read from 222.46.18.52:5060 ---> SIP/2.0 403 Forbidden what's rong with is? > Asterisk 1.4.21.2, Copyright (C) 1999 - 2008 Digium, Inc. and others. > Created by Mark Spencer <markster at digium.com> > Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
2010 Mar 26
1
send a call from A to B use sip trunk prablem
i have a prablom here, i want to send a call from A to B use sip trunk , the call can sended B,but not work to PSTN. the message from B server. help pls,what's rong? > > <--- SIP read from 192.168.0.176:5060 ---> > INVITE sip:15921256331 at 192.168.0.151 <sip%3A15921256331 at 192.168.0.151>SIP/2.0 > Via: SIP/2.0/UDP 192.168.0.176:5060;branch=z9hG4bK51a51b96;rport