Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 5:04 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: sip/iax service dont want to work
PostPosted: Wed Aug 17, 2011 9:02 am 
Offline

Joined: Tue Jul 26, 2011 10:15 am
Posts: 10
hello Folks,
A lot of thanks for jroper, he helped me to solve a lot of prolems in my system.
so my callingcard is working also all the trunks but i added a sip/iax service to my system and customers can also register to my machine, but when they make a call with sip, the system asking to enter the CARD NR. and when they call with IAX the system don't find the trunk my debug:

Aug 17 10:53:34 VERBOSE [1604] file.c:-- <IAX2/USER-9535> Playing 'digits/60.gsm' (language 'en')
Aug 17 10:53:35 VERBOSE [1604] file.c:-- <IAX2/USER-9535> Playing 'digits/4.gsm' (language 'en')
Aug 17 10:53:35 VERBOSE [1604] res_agi.c: -- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0)
Aug 17 10:53:36 VERBOSE [1604] file.c:-- <IAX2/USER-9535> Playing 'prepaid-enter-dest.gsm' (language 'en')
Aug 17 10:53:46 VERBOSE [1604] file.c: -- <IAX2/USER-9535> Playing 'prepaid-enter-dest.gsm' (language 'en')
Aug 17 10:53:54 VERBOSE [1604] res_agi.c: -- Playing 'prepaid-invalid-digits' (escape_digits=#) (sample_offset 0)
Aug 17 10:53:55 VERBOSE [1604] file.c: -- <IAX2/USER-9535> Playing 'prepaid-enter-dest.gsm' (language 'en')
Aug 17 10:53:56 VERBOSE [1604] res_agi.c: -- <IAX2/USER-9535>AGI Script a2billing.php completed, returning
Aug 17 10:53:56 VERBOSE [1604] pbx.c: == Spawn extension (a2billing, 00249909600001, 3) exited non-zero on 'IAX2/USER-9535'
Aug 17 10:53:56 VERBOSE [1604] chan_iax2.c:-- Hungup 'IAX2/USER-9535'
Aug 17 10:54:12 VERBOSE [2912] chan_iax2.c: -- Accepting AUTHENTICATED call from MYIP:
> requested format = gsm,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw|alaw|gsm|g729),
> priority = mine
Aug 17 10:54:12 VERBOSE [1608] pbx.c: -- Executing [00249909600001@a2billing:1] Answer("IAX2/USER-9791", "") in new stack
Aug 17 10:54:12 VERBOSE [1608] pbx.c:-- Executing [00249909600001@a2billing:2] Wait("IAX2/USER-9791", "1") in new stack
Aug 17 10:54:14 VERBOSE [1608] pbx.c: -- Executing [00249909600001@a2billing:3] DeadAGI("IAX2USER-9791", "a2billing.php,1") in new stack
Aug 17 10:54:14 WARNING [1608] res_agi.c:DeadAGI has been deprecated, please use AGI in all cases!
Aug 17 10:54:14 VERBOSE [1608] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
Aug 17 10:54:14 VERBOSE [1608] res_agi.c:-- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
Aug 17 10:54:15 VERBOSE [1608] file.c: -- <IAX2/USER-9791> Playing 'digits/20.gsm' (language 'en')
Aug 17 10:54:16 VERBOSE [1608] file.c:-- <IAX2/USER8-9791> Playing 'digits/6.gsm' (language 'en')
Aug 17 10:54:16 VERBOSE [1608] res_agi.c: -- Playing 'credit' (escape_digits=#) (sample_offset 0)
Aug 17 10:54:17 VERBOSE [1608] res_agi.c: -- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
Aug 17 10:54:18 VERBOSE [1608] file.c:-- <IAX2/USER-9791> Playing 'digits/60.gsm' (language 'en')
Aug 17 10:54:19 VERBOSE [1608] file.c: -- <IAX2/USER-9791> Playing 'digits/4.gsm' (language 'en')
Aug 17 10:54:19 VERBOSE [1608] res_agi.c: -- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0)
Aug 17 10:54:20 VERBOSE [1608] file.c:-- <IAX2/USER-9791> Playing 'prepaid-enter-dest.gsm' (language 'en')
Aug 17 10:54:30 VERBOSE [1608] file.c: -- <IAX2USER-9791> Playing 'prepaid-enter-dest.gsm' (language 'en')
Aug 17 10:54:40 VERBOSE [1608] file.c: -- <IAX2/USER-9791> Playing 'prepaid-enter-dest.gsm' (language 'en')

is there is something that i should add to configurations ans where?! any help will be grateful.


Top
 Profile  
 
 Post subject: Re: sip/iax service dont want to work
PostPosted: Wed Aug 17, 2011 3:37 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Make sure your SIP endpoints are using an agi-conf that does not have cid_enabled to yes.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group