Hello to all I have Asterisk forwarding calls through Kamailio.
If calls are placed by an Asterisk extension (like X-Lite) everything works fine. ( ex: X-Lite -> Asterisk -> Kamailio )
If calls are placed through a Cisco Router (connected to Asterisk) Kamailio answers: "513 Message too big" ( ex: Cisco VoIP client -> Cisco Router -> Asterisk -> Kamailio )
Also, the destination phone rings, but the calling party is disconnected because of this 513 message.
This message if probably being originated here:
if (msg:len >= 2048 ) { sl_send_reply("513", "Message too big"); exit; };
What could be the problem? Is the problem in Kamailio configuration or Asterisk configuration? And why does the call works when placed by an Asterisk extension, but doesn't work when placed by an Asterisk connected equipment?
Thanks Regards Joao Pereira