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.
|