Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread jg
I think the order or elements is relevant: [100] disallow=all allow=ulaw allow=g722 or [100] allow=!all,ulaw,g722 should work. jg -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk?

Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread Administrator TOOTAI
Hello Le 15/12/2013 11:07, jg a écrit : I think the order or elements is relevant: [100] disallow=all allow=ulaw allow=g722 or [100] allow=!all,ulaw,g722 should work. [...] Yes, but what about if 100 have g722 as prefered codec? Eg: [100] disallow=all allow=g722 allow=ulaw [101]

Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread jg
I see, you do want something like picking g722 provided there is no transcoding. Because Asterisk is a B2BUA it can transcode, so it would choose g722 where the other party is doing g711. For known parties, maybe one could change the SIP configuration on the fly using the Asterisk realtime

Re: [asterisk-users] IAX2 bridge failing

2013-12-15 Thread Michelle Dupuis
No - but this is a new setup so I can't say it worked before...it just isn't working from the start. I've found the call setup works and once bridged there is one way audio (to the ATA, none from the ATA). And the the connection drops after 30 secs approx because something on the path (or

Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread Ryan Wagoner
On Sun, Dec 15, 2013 at 5:07 AM, jg webaccou...@jgoettgens.de wrote: I think the order or elements is relevant: [100] disallow=all allow=ulaw allow=g722 or [100] allow=!all,ulaw,g722 should work. jg If I choose that order and the phone supports both ulaw and g722 only ulaw will be

Re: [asterisk-users] Ctrl-W killing entire line, not just last word

2013-12-15 Thread Tiago Geada
I would guess you need to recompile ? On 12 December 2013 20:07, Dotan Cohen dotanco...@gmail.com wrote: On Wed, Dec 11, 2013 at 10:20 PM, Tzafrir Cohen tzafrir.co...@xorcom.com wrote: You need libedit-dev, not libeditline-dev. Thank you Tzafrir. However, even after installing libedit

Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread Ryan Wagoner
On Sun, Dec 15, 2013 at 7:20 AM, jg webaccou...@jgoettgens.de wrote: I see, you do want something like picking g722 provided there is no transcoding. Because Asterisk is a B2BUA it can transcode, so it would choose g722 where the other party is doing g711. For known parties, maybe one could

Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread jg
You are correct. Your idea of the prioritize_matching_codecs option is what I am looking for. Yes Asterisk can transcode, but why transcode when you don't need to. If the phone is advertising both formats it should support them. If the phone only supports local MOH in one format then the

Re: [asterisk-users] Ctrl-W killing entire line, not just last word

2013-12-15 Thread Dotan Cohen
On Sun, Dec 15, 2013 at 3:58 PM, Tiago Geada tiago.ge...@gmail.com wrote: I would guess you need to recompile ? I was under the impression that the library was dynamically linked. I am using the Ubuntu binaries for Asterisk, so if someone could confirm that their Asterisk build does in fact

Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread Ryan Wagoner
On Sun, Dec 15, 2013 at 9:32 AM, jg webaccou...@jgoettgens.de wrote: Is it possible to let the Sangoma card work only on the most demanding codecs? This requires some analysis to estimate the benefits. Another question is whether the user phones are provisioned or not. If provisioned, then

Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread jg
I still don't have a way to enable the higher quality g722 codec for internal use without making a transcoding mess. Maybe Asterisk 12 with pjsip will have a better solution. Currently, I am no longer using g722 anymore for production setups. I had a some SIP-Phone combinations (not Polycom, not

[asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread CDR
I have had the issue for years. The problem is that Asterisk developers are removed from the business. We desperately need simple way to eliminate transcoding when unnecessary. Transcoding brings a server to its knees. It is a very simple new setting in sip.conf prioritize_matching_codecs=yes I

Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread Patrick Lists
On 12/15/2013 09:55 PM, CDR wrote: I have had the issue for years. The problem is that Asterisk developers are removed from the business. We desperately need simple way to eliminate transcoding when unnecessary. Transcoding brings a server to its knees. It is a very simple new setting in

Re: [asterisk-users] Why doesn't Asterisk try to prevent transcoding

2013-12-15 Thread dotnetdub
Yup - its definitely doable in FS. On 15 December 2013 21:18, Patrick Lists asterisk-l...@puzzled.xs4all.nl wrote: On 12/15/2013 09:55 PM, CDR wrote: I have had the issue for years. The problem is that Asterisk developers are removed from the business. We desperately need simple way to

Re: [asterisk-users] Ctrl-W killing entire line, not just last word

2013-12-15 Thread dotnetdub
Always has cleared the entire line.. On 15 December 2013 16:25, Dotan Cohen dotanco...@gmail.com wrote: On Sun, Dec 15, 2013 at 3:58 PM, Tiago Geada tiago.ge...@gmail.com wrote: I would guess you need to recompile ? I was under the impression that the library was dynamically linked. I am

Re: [asterisk-users] Multiple IAX2 Trunks Load balancing

2013-12-15 Thread Brian LaVallee
Are you looking for something like this? Note: This will continuously go between the two trunks until the caller hangs up, can be fixed by adding loop counter. ; ; extensions.conf ; [LOADBALANCE] exten = _X.,1,NoOp(Connect to least used trunk) ; - show active count exten = _X.,n,NoOp(Calls: