Hi All,
I have successfully installed Asterisk-1.4.26.2 and A2Billing 1.4 I have added one rate card and one customer. I have register 2 users with Grandstream phones. My issue is that when I m firing a call, its not getting established. On Asterisk I am getting following errror : ---------------------------------------------------------------------------------- *CLI> -- Executing [2222@default:1] Answer("SIP/10000-0076c6c0", "") in new stack -- Executing [2222@default:2] Wait("SIP/10000-0076c6c0", "2") in new stack
*CLI> -- Executing [2222@default:3] DeadAGI("SIP/10000-0076c6c0", "a2billing.php") in new stack [Sep 17 17:28:57] WARNING[4913]: res_agi.c:2203 deadagi_exec: Running DeadAGI on a live channel will cause problems, please use AGI -- Launched AGI Script /opt/asterisk-1/var/lib/asterisk/agi-bin/a2billing.php [Sep 17 17:28:57] WARNING[4913]: file.c:664 ast_openstream_full: File prepaid-enter-pin-number does not exist in any format [Sep 17 17:28:57] WARNING[4913]: file.c:972 ast_streamfile: Unable to open prepaid-enter-pin-number (format 0x200100 (g729|h264)): Illegal seek [Sep 17 17:28:57] WARNING[4913]: file.c:664 ast_openstream_full: File prepaid-invalid-digits does not exist in any format [Sep 17 17:28:57] WARNING[4913]: file.c:664 ast_openstream_full: File prepaid-enter-pin-number does not exist in any format [Sep 17 17:28:57] WARNING[4913]: file.c:972 ast_streamfile: Unable to open prepaid-enter-pin-number (format 0x200100 (g729|h264)): Illegal seek [Sep 17 17:28:57] WARNING[4913]: file.c:664 ast_openstream_full: File prepaid-invalid-digits does not exist in any format [Sep 17 17:28:57] WARNING[4913]: file.c:664 ast_openstream_full: File prepaid-enter-pin-number does not exist in any format [Sep 17 17:28:57] WARNING[4913]: file.c:972 ast_streamfile: Unable to open prepaid-enter-pin-number (format 0x200100 (g729|h264)): Illegal seek -- AGI Script a2billing.php completed, returning 0
---------------------------------------------------------------------------------- I have 2 peers in sip.conf file.
[10000] type=friend username=10000 secret=1234 context=default host=dynamic canreinvite=yes disallow=all allow=g729 allow=h264
[2222] type=friend username=2222 secret=1234 context=default host=dynamic canreinvite=yes disallow=all allow=g729 allow=h264
extension.conf file ---------------------------------------------------------------------- [default] exten => _X.,1,Answer exten => _X.,2,Wait,2 ;;exten => _X.,3,DeadAGI(a2billing.php|1) exten => _X.,3,DeadAGI,a2billing.php exten => _X.,4,Wait,2 exten => _X.,5,Hangup
Any help is appreciated.
Thank you very much.
|