[Freeswitch-users] Sofia late-negotiation on re-INVITE (codec-modification)

Visciano Giovanni Giovanni.Visciano at italtel.it
Fri Nov 25 09:27:17 MSK 2011


Basic call SIP vs SIP with:

<param name="inbound-late-negotiation" value="true"/>
<action application="set" data="inherit_codec=true"/>
<param name="renegotiate-codec-on-reinvite" value="true"/>

This help to avoid FS transcoding, the SIP endpoints negotiate codec end-to-end.
FS still in the media path but no transcoding applied.

INVITE [pcma,g729] ---> FS ---> INVITE [pcma,g729]
200 OK [pcma]      <--- FS ---> 200 OK [pcma]



If a SIP ep send a re-INVITE for codec modification, sofia negotiate the new codec on that leg without "asking" the remote party. This result in transcoding and since I have mod_g729 only in passthrough mode the call is released by the core.

re-INVITE [g729] ---> FS
200 OK    [g729] <--- FS


*************
It seems that "late_negotiation + inherit_codec" doesn't apply to a codec modification.
Do I miss some configuration options in the SIP profile?
(Note: I cannot use proxy-media/no-media mode in my configuration)
*************


Regards
Giovanni


Internet Email Confidentiality Footer
-----------------------------------------------------------------------------------------------------
La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto. 

This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred. 
-----------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111125/34309778/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list