[SIPForum-discussion] Finall what codec they are using..

Kashif Husain kashifhusain29 at gmail.com
Thu Dec 13 07:48:27 UTC 2012


In your scenario the call will be established using the common codecs of
sdp3 and sdp2.
The controller might have advertised the rtp ip/port of A at (3) and B at
(7), so the rtp will be direct. In case there is no common codec the call
will fail.

Here is a better way of doing the same thing

             A              Controller               B
             |(1) INVITE (no sdp)|                   |
             |<------------------|                   |
             |(2) 200 sdp2       |                   |
             |------------------>|                   |
             |                   |(3) INVITE sdp2    |
             |                   |------------------>|
             |                   |(4) 200 OK sdp3    |
             |  (5) ACK sdp3     |<------------------|
             |<------------------| (6) ACK           |
             |                   |------------------>|
             | (7)RTP            |                   |
             |.......................................|

This way you can avoid rest of the SIP messaging to get the same result.

Thanks,
-kashif

On Tue, Dec 11, 2012 at 7:45 AM, Raees Shaikh <captainraees at gmail.com>wrote:

> I would think it should either allocate a transcoder or the call should
> fail
>
> Regards
> Raees
> On Dec 10, 2012 3:51 AM, "vijay kant gupta" <vijaykant.it2002 at gmail.com>
> wrote:
>
>>
>> Hi Can any body suggest Finally Call setp with which Common SDP. .
>> Or it need correction.. last 200 Ok should contain Sdp3.
>>
>>
>>              A              Controller               B
>>              |(1) INVITE bh sdp1 |                   |
>>              |<------------------|                   |
>>              |(2) 200 sdp2       |                   |
>>              |------------------>|                   |
>>              |                   |(3) INVITE sdp2    |
>>              |                   |------------------>|
>>              |(4) ACK            |                   |
>>              |<------------------|                   |
>>              |                   |(5) 200 OK sdp3    |
>>              |                   |<------------------|
>>              |                   |(6) ACK            |
>>              |                   |------------------>|
>>              |(7) INVITE sdp3    |                   |
>>              |<------------------|                   |
>>              |(8) 200 OK sdp2    |                   |
>>              |------------------>|                   |
>>              |(9) ACK            |                   |
>>              |<------------------|                   |
>>              |(10) RTP           |                   |
>>              |.......................................|
>>
>>
>> _______________________________________________
>> This is the SIP Forum discussion mailing list
>> TO UNSUBSCRIBE, or edit your delivery options, please visit
>> http://sipforum.org/mailman/listinfo/discussion
>> Post to the list at discussion at sipforum.org
>>
>>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20121213/4731735a/attachment-0002.html>


More information about the discussion mailing list