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

Need proper document on callback install and configure
http://forum.asterisk2billing.org/viewtopic.php?f=35&t=7809
Page 1 of 1

Author:  munirhossain [ Thu Jun 17, 2010 3:56 pm ]
Post subject:  Need proper document on callback install and configure

Hello
I need proper document on callback system like how to install and how to configure callback system. I allready install a2billing1.7 and its working ok and now i want to install and configure the callback system but can't get proper document on callback so can anyone help me to install callback and config it with my DID.
Thanks

Author:  jroper [ Thu Jun 17, 2010 6:06 pm ]
Post subject:  Re: Need proper document on callback install and configure

Hi

Have you seen the installation script on these forums, and the online documentation linked to from within the callback section of the Admin UI?

Joe

Author:  munirhossain [ Mon Jun 21, 2010 7:11 pm ]
Post subject:  Re: Need proper document on callback install and configure

I installed the call-back deamon and add
[a2billing-cid-callback]
exten => _X.,1,deadagi(a2billing.php|1|cid-callback|||2)
exten => _X.,n,Hangup

but call back not triggering

Peer audio RTP is at port XX.XXX.41.101:43456
Looking for XX15495369 in a2billing-cid-callback (domain XX.53.XX.XXX)
list_route: hop: <sip:[email protected]:5060;tgrp=TG_CORE_NBS>
elecom*CLI>
<--- Transmitting (no NAT) to X.XX.XX.41.100:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.XX.XX.41.100:5060;branch=z9hG4bKa6b903ddba83882865454ab2b7c4cbbf;received=X.XX.XX.41.100
From: <sip:[email protected]>;tag=3486135034-41390
To: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Contact: <sip:[email protected]>
Content-Length: 0


<------------>
-- Executing [[email protected]:1] DeadAGI("SIP/XX15495369-00000062", "a2billing.php|1|cid-callback|||2") in new stack
[Jun 20 12:50:34] WARNING[31941]: res_agi.c:2212 deadagi_exec: Running DeadAGI on a live channel will cause problems, please use AGI
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php|1|cid-callback|||2: file:a2billing.php - line:102 - uniqueid: - IDCONFIG : 1
a2billing.php|1|cid-callback|||2: file:a2billing.php - line:103 - uniqueid: - MODE : cid-callback
a2billing.php|1|cid-callback|||2: file:Class.A2Billing.php - line:713 - uniqueid:1277059834.120 - get_agi_request_parameter = 512XX08736 ; SIP/XX15495369-00000062 ; 1277059834.120 ; ; XX15495369
-- AGI Script a2billing.php completed, returning 0
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: INVITE)

<--- Reliably Transmitting (no NAT) to XX.XX.41.100:5060 --->

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