Proxy Media for IVR bridged calls
Hi all, I have configured my internal profile to proxy all media, so I can use the g.729 codec for calls between extensions, even when they are behind NAT. Now I have a DID pointing to my FS instance, which triggers a standard IVR with a greeting message and a directory. Then someone calls the IVR and dial any extension, and when the call is answered it fails with error: error mod_g729.c:102 This codec is only usable in passthrough mode! I believe that the IVR bridge is not using proxy media, and that's why the call fails. My question is: how do I force proxy media for IVR bridged calls? Thanks! Rogelio
Rogelio, proxy-media is not required for G729 passthrough. By default, FS does relay media, and G729, among others, is available as a passthrough pseudo-codec. Proxy-media tells it to be a little bit more transparent, so you can use codecs that FS does not handle at all, or you can relay T38. In your case, I think your issue is a codec negotiation one. If a call from the outside hits your IVR, perhaps G711 is negotiated (that depends on the order of the codecs proposed by your carrier). And if you are using the default IVR sound files, I am pretty sure it was G729, because if not, you wouldn't be able to hear anything. Then, if you bridge to a G729 phone, you are asking FS to transcode between leg A, which was G711 and leg B which is G729. What you have to do is: -force leg A to be G729 -convert all your IVR sound files to G729, make sure FS loads mod_native_file and in your IVR config, reference all sound files without their extension David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 08/06/2010 à 08:32, Rogelio Perez a écrit :
Hi all,
I have configured my internal profile to proxy all media, so I can use the g.729 codec for calls between extensions, even when they are behind NAT. Now I have a DID pointing to my FS instance, which triggers a standard IVR with a greeting message and a directory. Then someone calls the IVR and dial any extension, and when the call is answered it fails with error: error mod_g729.c:102 This codec is only usable in passthrough mode! I believe that the IVR bridge is not using proxy media, and that's why the call fails.
My question is: how do I force proxy media for IVR bridged calls?
Thanks! Rogelio
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
David Ponzone
-
Rogelio Perez