Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 9:37 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: reading from db, allow field is misunderstood by asterisk
PostPosted: Thu Nov 08, 2007 3:33 pm 
Offline

Joined: Fri Nov 02, 2007 9:52 pm
Posts: 23
Hello,

I'm not sure this is an asterisk related thing or a2billing not confirming to asterisk fields syntax, any way:

i have created a postpaid account and sip for it, and it registers successfully, but on asterisk cli debug i see the following when unregistering and registering again:

Quote:

[Nov 8 05:29:10] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' alaw'
[Nov 8 05:29:10] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' gsm'
[Nov 8 05:29:10] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' g729'
Really destroying SIP dialog '[email protected]' Method: OPTIONS
[Nov 8 05:29:10] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' alaw'
[Nov 8 05:29:10] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' gsm'
[Nov 8 05:29:10] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' g729'
-- Unregistered SIP '3326289642'
Really destroying SIP dialog '[email protected]' Method: OPTIONS
[Nov 8 05:29:10] WARNING[1157]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' alaw'
[Nov 8 05:29:10] WARNING[1157]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' gsm'
[Nov 8 05:29:10] WARNING[1157]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' g729'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' alaw'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' gsm'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' g729'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' alaw'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' gsm'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' g729'
-- Registered SIP '3326289642' at 10.0.0.67 port 5066 expires 3600
-- Saved useragent "Ekiga/2.0.11" for peer 3326289642
Really destroying SIP dialog '[email protected]' Method: OPTIONS
[Nov 8 05:29:12] WARNING[1157]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' alaw'
[Nov 8 05:29:12] WARNING[1157]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' gsm'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' alaw'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' gsm'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' g729'
Really destroying SIP dialog '[email protected]' Method: OPTIONS
[Nov 8 05:29:12] WARNING[1157]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' g729'
Really destroying SIP dialog '[email protected]' Method: OPTIONS
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' alaw'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' gsm'
[Nov 8 05:29:12] WARNING[1176]: frame.c:1289 ast_parse_allow_disallow: Cannot allow unknown format ' g729'
[Nov 8 05:29:12] NOTICE[1176]: chan_sip.c:14719 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 3326289642
Really destroying SIP dialog '[email protected]' Method: OPTIONS
Really destroying SIP dialog '9a483222-7c8c-dc11-8b53-00166f15d5e0@uwe-laptop' Method: SUBSCRIBE




editing the db manually and removing spaces fixes the problem, this doesnt happen to all accounts, some work just fine! im using odbc for extconfig for realtime :
Quote:
sipusers => odbc,a2billing,cc_sip_buddies
sippeers => odbc,a2billing,cc_sip_buddies


any idea ?

i forgot to mention that im using asteris2billing 1.3 in conjuction with asterisk 1.4.13 built from source on debian etch with mysql 5.0.32-Debian_7etch1-log


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 08, 2007 3:41 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Thanks very much for the bug report and fix.

This particular problem was recently fixed.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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