Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Feb 23, 2019 11:43 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: callback not working (a2billing 1.7.0)
PostPosted: Tue Jun 22, 2010 9:57 am 
Offline

Joined: Wed May 05, 2010 5:49 pm
Posts: 20
Hello

I followed the below instruction to install callback system

LOAD_LOC=/usr/src/a2billing

yum -y install python-setuptools.noarch
yum -y install MySQL-python
easy_install sqlalchemy

cd $LOAD_LOC/Callback/callback-daemon-py
cp $LOAD_LOC/CallBack/callback-daemon-py/build/lib/callback_daemon/a2b-callback-daemon.rc /etc/init.d/a2b-callback-daemon
chmod +x /etc/init.d/a2b-callback-daemon

cd $LOAD_LOC/CallBack/callback-daemon-py/
python setup.py build
python setup.py bdist_egg
easy_install dist/callback_daemon-1.0.prod_r1528-py2.4.egg
chkconfig –add a2b-callback-daemon
service a2b-callback-daemon start
chkconfig a2b-callback-daemon on


****add these lines in extensions.conf

[a2billing-cid-callback]
exten => _X.,1,deadagi(a2billing.php|1|cid-callback|||1)
exten => _X.,n,Hangup

=====
**** Now i can start a2b-callback-daemon successfully.

[[email protected] ~]# service a2b-callback-daemon restart
Stopping a2b-callback-daemon: [ OK ]
a2b_callback_daemon is stopped
Starting a2b-callback-daemon: [ OK ]
[[email protected] ~]#

******but callback still not triggered

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: 1223059[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|||1") 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|||1: file:a2billing.php - line:102 - uniqueid: - IDCONFIG : 1
a2billing.php|1|cid-callback|||1: file:a2billing.php - line:103 - uniqueid: - MODE : cid-callback
a2billing.php|1|cid-callback|||1: file:Class.A2Billing.php - line:713 - uniqueid:1277059834.120 - get_agi_request_parameter = 5124108736 ; SIP/3215495369-00000062 ; 1277059834.120 ; ; 3215495369
-- 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 --->


******* there are nothing in a2b-callback-daemon.log
but still call back not triggering


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Hosted Voice Broadcast


All times are UTC


Who is online

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