[asterisk-users] Question about codec re-negotiation in asterisk 1.4.X

Eric Wieling EWieling at nyigc.com
Fri Jul 22 10:16:09 CDT 2011


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: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] 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" <EWieling at nyigc.com>
Sent: Friday, July 22, 2011 11:06 AM
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
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: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] 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 <EWieling at nyigc.com<mailto:EWieling at nyigc.com>> 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: asterisk-users-bounces at lists.digium.com<mailto:asterisk-users-bounces at lists.digium.com> [mailto:asterisk-users-bounces at lists.digium.com<mailto:asterisk-users-bounces at lists.digium.com>] 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.


-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110722/6e746f45/attachment.htm>


More information about the asterisk-users mailing list