Re: [Asterisk-Users] Setvar SIP_CODEC

2003-10-21 Thread Luis Benavente
Martin, Thank you for replaying. That's exactly what I am trying to do, but the call never gets answered because is dropped before that due codec incompatibility. Please see what the debug shows with my comments in line. Regards, Luis

Re: [Asterisk-Users] Setvar SIP_CODEC

2003-10-21 Thread Martin Pycko
> [extensions.conf] > exten => 123456,1,SetVar,SIP_CODEC=ulaw > exten => 123456,2,Dial(${TRUNK}/${EXTEN}) > > The problem is with the SetVar function, the debug shows that the > function is executed, but after that, * sends the media capability to > the phone with g729 as preferred codec. SIP

[Asterisk-Users] Setvar SIP_CODEC

2003-10-20 Thread Luis Benavente
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, b