Summary: | ASTERISK-01722: When using g729 as primary codec, media description line in the SDP lists Codec type 18 twice | ||
Reporter: | tschroer (tschroer) | Labels: | |
Date Opened: | 2004-05-28 15:42:03 | Date Closed: | 2004-09-25 02:43:33 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When using g729 as primary codec as defined in the sip.conf file, The Media description line in the SDP lists Codec type 18 twice on INVITE messages. The sip.conf file lists the codecs in the following manner: disallow=all allow=g729 allow=ulaw We are interfacing a Veraz softswitch that is responding back with a 503 message to this INVITE. I just downloaded the license for the 729 codec and used the latest codec_g729a.so file from the i686 directory. ****** ADDITIONAL INFORMATION ****** SDP taken from INVITE issued by Asterisk after enabling the 729 codec in sip.conf. see media description. Session Description Protocol Session Description Protocol Version (v): 0 Owner/Creator, Session Id (o): root 12560 12560 IN IP4 <asterisk IP Address> Owner Username: root Session ID: 12560 Session Version: 12560 Owner Network Type: IN Owner Address Type: IP4 Owner Address: <asterisk IP Address> Session Name (s): session Connection Information (c): IN IP4 <asterisk IP Address> Connection Network Type: IN Connection Address Type: IP4 Connection Address: <asterisk IP Address> Time Description, active time (t): 0 0 Session Start Time: 0 Session Stop Time: 0 Media Description, name and address (m): audio 15574 RTP/AVP 18 18 0 103 Media Type: audio Media Port: 15574 Media Proto: RTP/AVP Media Format: 18 Media Format: 18 Media Format: 0 Media Format: 103 Media Attribute (a): rtpmap:18 G729/8000 Media Attribute Fieldname: rtpmap Media Attribute Value: 18 G729/8000 Media Attribute (a): rtpmap:18 G729/8000 Media Attribute Fieldname: rtpmap Media Attribute Value: 18 G729/8000 Media Attribute (a): rtpmap:0 PCMU/8000 Media Attribute Fieldname: rtpmap Media Attribute Value: 0 PCMU/8000 Media Attribute (a): rtpmap:103 telephone-event/8000 Media Attribute Fieldname: rtpmap Media Attribute Value: 103 telephone-event/8000 Media Attribute (a): fmtp:103 0-16 Media Attribute Fieldname: fmtp Media Attribute Value: 103 0-16 Media Attribute (a): silenceSupp:off - - - - Media Attribute Fieldname: silenceSupp Media Attribute Value: off - - - - | ||
Comments: | By: Mark Spencer (markster) 2004-05-29 19:22:49 is this stable or head? By: tschroer (tschroer) 2004-05-30 09:33:15 Asterisk CVS-HEAD-05/13/04-15:53:27 By: Mark Spencer (markster) 2004-05-30 12:43:26 I believe this was fixed days ago in CVS head. Please do a cvs update "and make clean ; make install" or check out a clean copy. By: tschroer (tschroer) 2004-05-30 13:18:27 I did that on Friday, May 28th. Although, after downloading a clean copy, I did a "make clean; make upgrade". Wouldn't that take care of it? By: Mark Spencer (markster) 2004-05-30 13:33:19 Your show version says its' 5/13/04 so apparently you're not running a clean build of the new code. Can you check out a clean copy and make sure the issue is still there or alternatively just find me on IRC and we'll talk (kram, irc.freenode.net) By: Mark Spencer (markster) 2004-05-30 16:14:38 I just tried to duplicate this and even with multiple allow=g729 and an allow=g729 in the friend declaration I am still unable to duplciate this on CVS head. I'm strongly inclined to think this is just a versioning issue, so please try updating or checking out a clean copy as soon as you can so i can either fix or resolve this. thanks. By: tschroer (tschroer) 2004-05-31 06:36:04 I was waiting until off hours to update the version again and did a "make clean; make install" as you suggested and it corrected the problem. Thanks so much! Problem resolved. |