Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 5:31 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: How can i stop these errors
PostPosted: Sun Oct 07, 2007 4:39 am 
Offline

Joined: Fri Dec 15, 2006 8:01 pm
Posts: 72
How can I stop these errors its create huge files every day but does not seem to slow my dual quad core clovertown processors.

Sep 4 17:54:03 NOTICE[15372] rtp.c: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible.
Client IP: 91.13.102.245
Sep 4 17:54:03 NOTICE[15265] frame.c: Dropping extra frame of G.729 since we already have a VAD frame at the end
Sep 4 17:54:03 NOTICE[15265] frame.c: Dropping extra frame of G.729 since we already have a VAD frame at the end
Sep 4 17:54:03 NOTICE[15265] frame.c: Dropping extra frame of G.729 since we already have a VAD frame at the end
Sep 4 17:54:04 NOTICE[15265] frame.c: Dropping extra frame of G.729 since we already have a VAD frame at the end
Sep 4 17:54:04 NOTICE[15265] frame.c: Dropping extra frame of G.729 since we already have a VAD frame at the end
Sep 4 17:54:04 NOTICE[15265] frame.c: Dropping extra frame of G.729 since we already have a VAD frame at the end
Sep 4 17:54:04 NOTICE[15265] frame.c: Dropping extra frame of G.729 since we already have a VAD frame at the end
Sep 4 17:54:08 WARNING[15436] acl.c: Cannot create socket
Sep 4 17:54:08 WARNING[15436] channel.c: Channel allocation failed: Can't create alert pipe!
Sep 4 17:54:08 WARNING[15436] chan_sip.c: Unable to allocate SIP channel structure
Sep 4 17:54:08 NOTICE[15436] app_dial.c: Unable to create channel of type 'SIP' (cause 0 - Unknown)
Sep 4 17:54:08 WARNING[10642] rtp.c: Unable to allocate socket: Too many open files
Sep 4 17:54:08 WARNING[10642] channel.c: Channel allocation failed: Can't create alert pipe!
Sep 4 17:54:08 WARNING[10642] chan_sip.c: Unable to allocate SIP channel structure
Sep 4 17:54:08 NOTICE[10642] chan_sip.c: Unable to create/find channel
Sep 4 17:54:09 WARNING[15444] res_agi.c: Unable to create toast pipe: Too many open files
Sep 4 17:54:09 ERROR[15444] cdr_csv.c: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : Too many open files
Sep 4 17:54:09 WARNING[15444] cdr_csv.c: Unable to write CSV record to account file '901381772155274' : Too many open files
Sep 4 17:54:09 ERROR[15444] cdr_custom.c: Unable to re-open master file /var/log/asterisk/cdr-custom/Master.csv : Too many open fil
es
Sep 4 17:54:10 WARNING[10642] channel.c: Channel allocation failed: Can't create alert pipe!
Sep 4 17:54:10 WARNING[10642] chan_sip.c: Unable to allocate SIP channel structure
Sep 4 17:54:10 NOTICE[10642] chan_sip.c: Unable to create/find channel
Sep 4 17:54:10 WARNING[15449] acl.c: Cannot create socket
Sep 4 17:54:10 WARNING[15449] channel.c: Channel allocation failed: Can't create alert pipe!
Sep 4 17:54:10 WARNING[15449] chan_sip.c: Unable to allocate SIP channel structure
Sep 4 17:54:10 NOTICE[15449] app_dial.c: Unable to create channel of type 'SIP' (cause 0 - Unknown)
Sep 4 17:54:10 WARNING[15458] res_agi.c: Unable to create toast pipe: Too many open files

"messages" 5277321L, 600147629C


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 07, 2007 11:00 am 
Offline

Joined: Fri Apr 28, 2006 5:11 am
Posts: 426
THIS IS NOT ASTERISK SUPPORT FORUM!!!
:chair:


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 10, 2007 1:03 am 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
The first errors (dropping extra frame) could be A2B related in that a prefix needs to be set in the trunk to tell the sip provider to turn off VAD support. eg; 89981XXXXXXXXXX

if the provider does not allow this prefix then you have to shop around because this basically means your customers have audio issues.

You are right about the second set of errors seems to be an asterisk issue resulting from the VAD issue.

Since I'm at it, I'll suggest you increase your file descriptors by placing at the end of /etc/security/limit.conf (f they do not exist or change the numbers to match).
root soft nofile 4096
root hard nofile 8196
asterisk soft nofile 4096
asterisk hard nofile 8196


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 10, 2007 3:23 am 
Offline

Joined: Fri Apr 28, 2006 5:11 am
Posts: 426
i must repeat:
THIS IS NOT ASTERISK SUPPORT FORUM!!!!
in your answer i can't see any tips for Asterisk2Billing, i can see only asterisk here... i remind again - VAD is NOT 'A2B related', never was and never will!!!! Go to Asterisk forum(s) with this questions and please respect community... Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 12, 2008 3:28 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
Asterisk and A2B are entwined and if Digium refuses to fix the issues that affect our business then we have to do it somewhere else.

I've just had enough of these "dropping frames" and did a research and found a fix in the digium bug tracker but it didn't work very well. To make it complete, I had to modify it a bit. Now there is no issue with VAD. (asterisk 1.4)

In frame.c change:

if (s->flags & AST_SMOOTHER_FLAG_G729) {
if (s->len % 10) {
ast_log(LOG_NOTICE, "Dropping extra frame of G.729 since we already have a VAD frame at the end\n");
return 0;
}
}

To:

if (s->flags & AST_SMOOTHER_FLAG_G729) {
if (s->len < 10) {
return 0;
}
if (s->len % 10) {
s->len -= (s->len % 10);
}
}


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 02, 2008 5:01 pm 
Offline

Joined: Thu Aug 02, 2007 11:20 pm
Posts: 2
Hi Vulcan,

I tried your VAD fix for Asterisk 1.4.21.2 and it does not work in our setup. Which version did you run it on successfully?

Thanks
Raja


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 30, 2008 3:40 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
It was used on 1.4x but this patch was abandoned and the switch was made back to ulaw and ilbc which was working quite well and still does. G729 isn't all that compared to the voice quality your customers get with ulaw. As far as bandwith issues I haven't noticed any. You just need a good fast connection and memory.

I'm taking cue from two big retail companies, Callcentric and Broadvoice, all they use is ulaw. Not to mention fax can be transmitted on ulaw.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 02, 2008 9:32 am 
Offline

Joined: Thu Oct 02, 2008 9:24 am
Posts: 1
I am no asterisk guru, but I killed myself today trying to fix this same error. And incredibly it went away when I set canreinvite=yes on the [general] context of sip.conf

Actually, it is not incredible, there is a good reason for it, but that I leave for the interested to research on.

KingDavid


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 04, 2008 6:09 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
That is good for wholesale, but running calling card, asterisk needs to stay in the RTP. When A2B gives out warnings prompts about balance and time left customers will not hear it. Again, Asterisk needs to stay in RTP to disconnect call if no rtp activity for a designated periond of time.


It's a possible billing issue with canreinvite=yes.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group