asterisk2billing.org
http://forum.asterisk2billing.org/

AGI DON'T WORKs
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=10628
Page 1 of 1

Author:  almeidaandre [ Thu Dec 05, 2013 2:12 pm ]
Post subject:  AGI DON'T WORKs

Hi,

I have a problem on my server PBXIP that contains:

- Asterisk 11.2-cert2
- A2billing v2.0.7

What happen?

Well, I configured the AGi following the sugestions from OrĂ¡culo "Google"...hehehe :) but yet the AGI does complete yours actions.

When I start a call to destination ex: "40020022" it show this:

localhost*CLI> agi set debug on
AGI Debugging Enabled
== Using SIP RTP CoS mark 5
-- Executing [40020022@a2billing:1] NoOp("SIP/3674206627-00000001", "A2Billing Start") in new stack
-- Executing [40020022@a2billing:2] AGI("SIP/3674206627-00000001", "a2billing.php,1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
<SIP/3674206627-00000001>AGI Tx >> agi_request: a2billing.php
<SIP/3674206627-00000001>AGI Tx >> agi_channel: SIP/3674206627-00000001
<SIP/3674206627-00000001>AGI Tx >> agi_language: en
<SIP/3674206627-00000001>AGI Tx >> agi_type: SIP
<SIP/3674206627-00000001>AGI Tx >> agi_uniqueid: 1386250162.1
<SIP/3674206627-00000001>AGI Tx >> agi_version: 11.2-cert2
<SIP/3674206627-00000001>AGI Tx >> agi_callerid: 3674206627
<SIP/3674206627-00000001>AGI Tx >> agi_calleridname: 3674206627
<SIP/3674206627-00000001>AGI Tx >> agi_callingpres: 0
<SIP/3674206627-00000001>AGI Tx >> agi_callingani2: 0
<SIP/3674206627-00000001>AGI Tx >> agi_callington: 0
<SIP/3674206627-00000001>AGI Tx >> agi_callingtns: 0
<SIP/3674206627-00000001>AGI Tx >> agi_dnid: 40020022
<SIP/3674206627-00000001>AGI Tx >> agi_rdnis: unknown
<SIP/3674206627-00000001>AGI Tx >> agi_context: a2billing
<SIP/3674206627-00000001>AGI Tx >> agi_extension: 40020022
<SIP/3674206627-00000001>AGI Tx >> agi_priority: 2
<SIP/3674206627-00000001>AGI Tx >> agi_enhanced: 0.0
<SIP/3674206627-00000001>AGI Tx >> agi_accountcode: 3674206627
<SIP/3674206627-00000001>AGI Tx >> agi_threadid: 140580250253056
<SIP/3674206627-00000001>AGI Tx >> agi_arg_1: 1
<SIP/3674206627-00000001>AGI Tx >>
-- <SIP/3674206627-00000001>AGI Script a2billing.php completed, returning 0
-- Executing [40020022@a2billing:3] Hangup("SIP/3674206627-00000001", "") in new stack
== Spawn extension (a2billing, 40020022, 3) exited non-zero on 'SIP/3674206627-00000001'

It dont generate any Dial, and call recive a Spawn.

On interface web I associated the custumers with the rates, trunks...etc..etc...

But even so the AGI don't Works!!!

Can someone help me??

Author:  NefariousParity [ Thu Dec 05, 2013 8:27 pm ]
Post subject:  Re: AGI DON'T WORKs

How are you trying to dial. From another server through a2billing?

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/