Greetings,
Here's another problem I'm having with kamailio 3.2 and the standard kamailio.cfg script.
If the calling device is NATed, everything works fine if the original call gets connected. That is, the INVITE sent to the called device has the correct NAT fixups applied.
But if the called device fails to answer and the script runs route[TOVOICEMAIL], the call connects, but the INVITE sent to the voicemail server doesn't have the NAT fixup applied. The result is that the audio is connected in only one direction.
It would appear that some rtpproxy function needs to get called to apply the fixups prior to sending the INVITE to the voicemail server. I've tried adding calls to route(NATMANAGE) at various places, but to no avail.
Any ideas?