FWIW, you can use "pre_answer" to send 183 w/SDP from FS; "ring_ready" will send 180. See the early media article on the wiki for more information.
Actually, I just found another interesting piece of the puzzle.
On the outbound call (that works), the gateway responds with a 183/SDP message.
The inbound call (that doesn’t work) returns a 180 Ringing/NO SDP message.
Both legs are using the same profile, so I don’t think that’s an issue. For some reason though, if a 183/SDP is sent, Freeswitch forwards the rtpmap attribute. If no 183 is detected, it deletes the attribute.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of David Ponzone
Sent: Tuesday, May 24, 2011 01:12
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] rtpmap line missing on answer
Sean,
can you check the configuration of the SIP profile used by both legs ?
Perhaps you have late-negotiation enabled in one of them ?
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
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.
_______________________________________________
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