Erlang Mailing Lists

Author Message

<  Erlang questions mailing list  ~  Error reply for megaco request

cy_tang at telesoft.com.h
Posted: Wed Oct 30, 2002 8:02 am Reply with quote
Guest
I am working on a megaco message load generator.
I am using Erlang R8B-2 + megaco_session 0.3 on Linux 2.4.18 kernel.
I have encountered an Error reply (attached) intermittently on sending
the NotifyRequest.

What is the meaning/reason for "count_too_large" given by status of
error reply?
How to get around it?

Best regards,
CY
/Advanced TeleSoft


Post generated using Mail2Forum (http://m2f.sourceforge.net)
hakan at erix.ericsson.se
Posted: Wed Oct 30, 2002 8:35 am Reply with quote
Guest
On Wed, 30 Oct 2002, cy wrote:

Cy> I am working on a megaco message load generator.
Cy> I am using Erlang R8B-2 + megaco_session 0.3 on Linux 2.4.18 kernel.
Cy> I have encountered an Error reply (attached) intermittently on sending
Cy> the NotifyRequest.
Cy>
Cy> What is the meaning/reason for "count_too_large" given by status of
Cy> error reply?

The count_too_large/count_too_small errors, are implied by a range
check for integer values and string lengths when text messages are
encoded.

In this case the time-field in the 'TimeNotation' record was 9
characters long while only 8 characters was allowed.

Cy> How to get around it?

Ensure that the timestamp follows the following style with
exact 8 charaters: hhmmssss.


/H
cy_tang at telesoft.com.h
Posted: Thu Oct 31, 2002 10:07 am Reply with quote
Guest
Hakan,

By limiting the string length of 'TimeNotation' to 8 chars, it did solve
the issue.
Thanks.

CY

Hakan Mattsson wrote:

> On Wed, 30 Oct 2002, cy wrote:
>
> Cy> I am working on a megaco message load generator.
> Cy> I am using Erlang R8B-2 + megaco_session 0.3 on Linux 2.4.18 kernel.
> Cy> I have encountered an Error reply (attached) intermittently on
> sending Cy> the NotifyRequest.
> Cy> Cy> What is the meaning/reason for "count_too_large" given by
> status of Cy> error reply?
>
> The count_too_large/count_too_small errors, are implied by a range
> check for integer values and string lengths when text messages are
> encoded.
>
> In this case the time-field in the 'TimeNotation' record was 9
> characters long while only 8 characters was allowed.
>
> Cy> How to get around it?
>
> Ensure that the timestamp follows the following style with
> exact 8 charaters: hhmmssss.
>
>
> /H
yeti
Posted: Sat Sep 01, 2012 5:58 am Reply with quote
User Joined: 01 Sep 2012 Posts: 17 Location: fgf
cheap designer *beep* are the most suitable accessories for women who are fond of attending parties.There are different style in our cheap *beep* shop.cheap purses are a kind of practical products and are full of vitality.If you can choose cheap designer bags right now, we can supply all kinds of cheap bags from stock.
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum