[Kamailio-Users] 513 Message too big
Daniel-Constantin Mierla
miconda at gmail.com
Thu Apr 9 11:59:45 CEST 2009
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
--
Daniel-Constantin Mierla
http://www.asipto.com/
More information about the Users
mailing list