Daniel-Constantin Mierla wrote:
On 04/09/2009 12:55 PM, Joao Gomes Pereira wrote:
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?
Probably there are more headers or bigger, just replace the condition with something more convenient:
if (msg:len >= 8192 ) {
Cheers, Daniel
I was afraid that increasing the message length could cause some problems.... isn't it bad to have a big value like 8192? Thanks Joao Pereira