inline

On 6/24/2011 7:26 PM, Nauman Sulaiman wrote:
> Hi,
>
> Just wondering what is preferred here?
>
> UA1 offers  PCMU, PCMA, G729  (PCMU most preferred) to UA2
>
> UA2 answers with PCMU
>
> This completes OA and PCMU is negotiated codec
>
> Then UA2 is put on hold and then unheld

you don't say what was offered and answered for hold.
For now I'll assume its the same as o/a 1.

> UA2 sends in REINVITE (Unhold) offer  G729,PCMA,PCMU  (G729 most preferred)
>
> As G729 is preferred codec, UA1 answers with only G729 and negotiated codec 
> has been changed.
>
> What is best here, should UA1 answer with PCMU here as this was what was
> negotiated in first OA (in effect it remembers )
>
> OR should it just answer with G729 as this is the preferred codec sent in 
> offer by UA2. So here it does not care what was previously negotiated.

IMO either is ok - take your pick.

But in general, for o/a, I recommend that each party always go with its 
own preferences, to the extent permitted by the o/a rules. When one side 
makes assumptions about what the other side wants, that can lead to 
mistakes - sometimes nasty ones.

        Thanks,
        Paul
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to