Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 3:37 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to configure subsequent calls In CID Callback
PostPosted: Mon May 18, 2009 4:04 pm 
Offline

Joined: Mon May 18, 2009 3:30 pm
Posts: 1
Hi,

I have setup CID callback in a2billing and its working well.

Now is it possible to hangup the second leg by pressing * or # key so that user can dial the different number without dialing DID number again.
It will save user's cost and will be more convenient.

Please help me to figure out this.

Thanks in advance.

Vicky


Top
 Profile  
 
 Post subject: Re: How to configure subsequent calls In CID Callback
PostPosted: Fri Jun 12, 2009 8:30 am 
Offline

Joined: Mon Feb 16, 2009 10:22 am
Posts: 19
Location: tunis
please i need your help to configure CID callback, i have spent 2 mounths to configure it but i didn't succed. how can configure it to make it work i have a did 33xxxxxx routed to my server. iam from tunisia so callerid look like this example: 0021692144766
thanks a lot


Top
 Profile  
 
 Post subject: Re: How to configure subsequent calls In CID Callback
PostPosted: Mon Mar 28, 2011 1:53 pm 
Offline

Joined: Mon Feb 16, 2009 10:22 am
Posts: 19
Location: tunis
Bonjour ,
J'ai rencontré un pb pour la configuration de a2billing-cid-callack et a2billing-all-callback.
Commençons d'abord par a2billing-cid-callabck:

j'utilise asterisk-1.4 + a2billing 1.9.3 sur un Centos 5 ( php 5.2.17)

voici le contexte de a2billing-cid-callabck
[a2billing-cid-callback]
exten => _X.,1,Ringing()
exten => _X.,n,Set(CALLERID(num)=00${IF($[${CALLERID(num):0:2}=00]?${CALLERID(num):2}:${CALLERID(num)})})
exten => _X.,n,DeadAGI(a2billing.php|6|cid-callback)
exten => _X.,n,Hangup

l'agi-conf 6 est configuré comme suit:
answer_call =yes
play_audio =yes
say_goodbye =no
use_dnid =no
number_try=3
force_callplan_id = 6
say_balance_after_auth =no
auto_setcallerid =yes
cid_enable =yes
cid_askpincode_ifnot_callerid =yes
cid_auto_assign_card_to_cid =yes
callerid_authentication_over_cardnumber=no



le web-callback fonctionne bien car le deamon est bien installé mais le cid callback ne fonctionne pas, j'appele le did j'entend la sonnerie, pas de hangup et le serveur ne me rappele pas voiçi les logs de cli:


Executing [33488722136@a2billing-cid-callback:1] Ringing("SIP/5060-00000014", "") in new stack
-- Executing [33488722136@a2billing-cid-callback:2] Set("SIP/5060-00000014", "CALLERID(num)=0021626317096") in new stack
-- Executing [33488722136@a2billing-cid-callback:3] DeadAGI("SIP/5060-00000014", "a2billing.php|6|cid-callback") in new stack
[2011-03-28 15:38:43] WARNING[19582]: 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
AGI Tx >> agi_request: a2billing.php
AGI Tx >> agi_channel: SIP/5060-00000014
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1301319523.30
AGI Tx >> agi_callerid: 0021626317096
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 1
AGI Tx >> agi_dnid: 33488722136
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: a2billing-cid-callback
AGI Tx >> agi_extension: 33488722136
AGI Tx >> agi_priority: 3
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << GET VARIABLE IDCONF
AGI Tx >> 200 result=0
AGI Rx << HANGUP
AGI Tx >> 200 result=1
AGI Rx << STREAM FILE prepaid-auth-fail "#" 0
-- Playing 'prepaid-auth-fail' (escape_digits=#) (sample_offset 0)
[2011-03-28 15:38:43] WARNING[19582]: file.c:768 ast_readaudio_callback: Failed to write frame
AGI Tx >> 200 result=-1 endpos=22880
-- Executing [33488722136@a2billing-cid-callback:1] Ringing("SIP/5060-00000015", "") in new stack
-- Executing [33488722136@a2billing-cid-callback:2] Set("SIP/5060-00000015", "CALLERID(num)=0021626317096") in new stack
-- Executing [33488722136@a2billing-cid-callback:3] DeadAGI("SIP/5060-00000015", "a2billing.php|6|cid-callback") in new stack
[2011-03-28 15:38:46] WARNING[19586]: 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
AGI Tx >> agi_request: a2billing.php
AGI Tx >> agi_channel: SIP/5060-00000015
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1301319526.31
AGI Tx >> agi_callerid: 0021626317096
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 1
AGI Tx >> agi_dnid: 33488722136
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: a2billing-cid-callback
AGI Tx >> agi_extension: 33488722136
AGI Tx >> agi_priority: 3
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << GET VARIABLE IDCONF
AGI Tx >> 200 result=0
AGI Rx << HANGUP
AGI Tx >> 200 result=1
AGI Rx << STREAM FILE prepaid-auth-fail "#" 0
-- Playing 'prepaid-auth-fail' (escape_digits=#) (sample_offset 0)
[2011-03-28 15:38:46] WARNING[19586]: file.c:768 ast_readaudio_callback: Failed to write frame
AGI Tx >> 200 result=-1 endpos=22880

S'ils vous plait j'ai besoin de votre aide.


Top
 Profile  
 
 Post subject: Re: How to configure subsequent calls In CID Callback
PostPosted: Wed Mar 30, 2011 1:00 pm 
Offline

Joined: Wed Mar 30, 2011 7:47 am
Posts: 1
Location: Norway
That answer seems to be very concise but we can't understand it. Is there any way to translate this to english? :D

__________


canada pharmacy canadian pharmacies canadian pharmacy online prescriptions


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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