[Asterisk-Users] SIP using which codec?

John Todd jtodd at loligo.com
Wed Aug 20 01:11:02 MST 2003


At 7:27 AM +0000 8/20/03, WipeOut . wrote:
>
>>  Is there a way to determine what codec the remote server wants to use in
>>  a SIP session for an incoming call by looking at something, possiby sip
>>  debug?
>>
>
>Take a look in the archives this was covered a couple of days ago..
>
>the command you are looking for is "sip show channels".. and then 
>look in the format column.. the formula for determining the format 
>was posted in the previous discussion and i can't rememebr it off 
>the top of my head..
>
>Later..
>

I think that the question is a bit more subtle than that.  The 
question says "wants to use", not "does use."

Currently, I think the only way you'll find this is with a SIP debug, 
looking at the SDP request.

JT



More information about the asterisk-users mailing list