Ah, we do not use 1.8 yet.    I've been unable to get 1.8 to transcode between 
g722 and ulaw.   I assume it is a config issue.

Does your (pre-answer) example change the codec for BOTH legs of the call or 
just the incoming leg or outgoing leg?  When I was referring to a "call" I 
meant both legs of the call.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Bryant Zimmerman
Sent: Friday, July 22, 2011 11:10 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Question about codec re-negotiation in asterisk 
1.4.X

Eric

With 1.8.x I use.

exten => Process,1,Set(SIP_CODEC=ulaw)

And the system kicks the call over to ulaw. Now this is just prior to the 
answer so I don't know if it meets your criteria. But it works great to enforce 
inline T.30 audio faxes. I also use the f/F option T.38 or T.30 on recevie fax. 
This option was added as part of a patch in 1.8 and is in the 1.10/2.0 branch.
Thanks

Bryant Zimmerman (ZK Tech Inc.)
616-855-1030 Ext. 2003


Thanks

Bryant Zimmerman (ZK Tech Inc.)
616-855-1030 Ext. 2003

________________________________
From: "Eric Wieling" <[email protected]>
Sent: Friday, July 22, 2011 11:06 AM
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<[email protected]>
Subject: Re: [asterisk-users] Question about codec re-negotiation in asterisk 
1.4.X
Asterisk supports reinvites (if reinvites are enabled in sip.conf), just not 
changing codecs in the middle of the call.      If anyone has managed to get it 
to work, I'd love to hear about it.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Matteo Campana
Sent: Friday, July 22, 2011 11:00 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Question about codec re-negotiation in asterisk 
1.4.X


On Fri, Jul 22, 2011 at 4:46 PM, Eric Wieling 
<[email protected]<mailto:[email protected]>> wrote:

Asterisk does not support changing codecs on the fly.


And why asterisk sends 200 OK to the provider, if does not support its 
re-invite?

M.




From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Matteo Campana
Sent: Friday, July 22, 2011 10:39 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Question about codec re-negotiation in asterisk 1.4.X

Hi all,
I have a major issue with a codec renegotiation in an asterisk 1.4.33.1 setup, 
which leads me to ask a general question about asterisk 1.4.X codec 
negotiation: asterisk can support a re-negotiation of a codec "on the fly" 
through a re-Invite? If my SIP provider sends me a re-invite changing codec 
from g729 to g711, asterisk properly handle the matter?
I see in the trace that asterisk responds 200 OK to the provider, but does not 
send the re-invite to the UAC, and stops to send rtp to the UAC.


-

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to