Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 12:14 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: * follow on calls not working
PostPosted: Sun Aug 05, 2012 2:44 pm 
Offline

Joined: Sat Dec 10, 2011 12:23 pm
Posts: 30
Hi, i have an install of 1.9.4 running Asterisk 1.8 (using freepbx) and i'm trying to get the * follow on feature working as intended.

What is actually happening is when a user hits * both legs of the call get hung up instead of the user being put back to dial a new number.

In features_featuremap_additional.conf i have the line "disconnect=*" added by freepbx.

In the dial command i have the "H" (i've also tried the 'h" and tried using the * feature from the Bparty side but same result, ends both legs of the call).

Previously this used to work when i was on asterisk 1.4 but since updating to 1.8 it seems broken now.

Can anyone offer any advice?


Top
 Profile  
 
 Post subject: Re: * follow on calls not working
PostPosted: Sun Aug 12, 2012 11:32 am 
Offline

Joined: Sat Dec 10, 2011 12:23 pm
Posts: 30
Anyone?

Too add, i have number_try = 3 . Forgot to put that part in the above post.


Top
 Profile  
 
 Post subject: Re: * follow on calls not working
PostPosted: Wed Aug 29, 2012 4:40 am 
Offline

Joined: Sat Dec 10, 2011 12:23 pm
Posts: 30
Anyone?


Top
 Profile  
 
 Post subject: Re: * follow on calls not working
PostPosted: Wed Aug 29, 2012 10:45 am 
Offline
User avatar

Joined: Fri Sep 18, 2009 5:46 pm
Posts: 132
Location: hhhhmmmmm
may be some logs would be helpful for others to help you.


Top
 Profile  
 
 Post subject: Re: * follow on calls not working
PostPosted: Thu Aug 30, 2012 3:50 am 
Offline

Joined: Sat Dec 10, 2011 12:23 pm
Posts: 30
What logs are we after here, just the /var/log/full log?

i've tried turning on agi debug, doesnt really show anything, sip debug doesnt show anything either.

I'll post an extract out of the full log while attempting to do this later toinght when there is no traffic on the system.


Top
 Profile  
 
 Post subject: Re: * follow on calls not working
PostPosted: Fri Aug 31, 2012 5:00 pm 
Offline

Joined: Sat Dec 10, 2011 12:23 pm
Posts: 30
Ok here is the out put in the cli while trying to use the * following on feature to connect me back to the relevent IVR section to make another call.

I'm using ** in this instance.

The system has freepbx installed and Joe did a bunch of custom asterisk stuff for me.

I've edited the information in the output below to remove things like the PIN number and inbound/outbound numbers with X's

-- Executing [1@ivr-4:3] Goto("SIP/carrier-in-0000cb5a", "a2billing-to-place-a-call,1,1") in new stack
-- Goto (a2billing-to-place-a-call,1,1)
-- Executing [1@a2billing-to-place-a-call:1] DeadAGI("SIP/carrier-in-0000cb5a", "a2billing.php,3") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_request: a2billing.php
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_channel: SIP/carrier-in-0000cb5a
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_language: en
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_type: SIP
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_uniqueid: 1346431623.53466
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_version: 1.8.13.0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callerid: 61XXXXXXXX
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_calleridname: 61XXXXXXXX
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callingpres: 0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callingani2: 0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callington: 0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callingtns: 0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_dnid: 61XXXXXXXX
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_rdnis: 61XXXXXXXX
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_context: a2billing-to-place-a-call
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_extension: 1
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_priority: 1
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_enhanced: 0.0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_accountcode: 88XXXXXXX
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_threadid: 139723424687872
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_arg_1: 3
<SIP/carrier-in-0000cb5a>AGI Tx >>
<SIP/carrier-in-0000cb5a>AGI Rx << GET VARIABLE IDCONF
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=0
<SIP/carrier-in-0000cb5a>AGI Rx << ANSWER
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=0
<SIP/carrier-in-0000cb5a>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=1
<SIP/carrier-in-0000cb5a>AGI Rx << STREAM FILE prepaid-you-have "#" 0
-- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=0 endpos=25305
<SIP/carrier-in-0000cb5a>AGI Rx << SAY NUMBER 159 ""
-- <SIP/carrier-in-0000cb5a> Playing 'digits/1.ulaw' (language 'en')
-- <SIP/carrier-in-0000cb5a> Playing 'digits/hundred.ulaw' (language 'en')
-- <SIP/carrier-in-0000cb5a> Playing 'digits/50.ulaw' (language 'en')
-- <SIP/carrier-in-0000cb5a> Playing 'digits/9.ulaw' (language 'en')
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=0
<SIP/carrier-in-0000cb5a>AGI Rx << STREAM FILE credit "#" 0
-- Playing 'credit' (escape_digits=#) (sample_offset 0)
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=0 endpos=13201
<SIP/carrier-in-0000cb5a>AGI Rx << STREAM FILE vm-and "#" 0
-- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=0 endpos=5373
<SIP/carrier-in-0000cb5a>AGI Rx << SAY NUMBER 34 ""
-- <SIP/carrier-in-0000cb5a> Playing 'digits/30.ulaw' (language 'en')
-- <SIP/carrier-in-0000cb5a> Playing 'digits/4.ulaw' (language 'en')
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=0
<SIP/carrier-in-0000cb5a>AGI Rx << STREAM FILE prepaid-cents "#" 0
-- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0)
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=0 endpos=19281
<SIP/carrier-in-0000cb5a>AGI Rx << SET CALLERID 0
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=1
<SIP/carrier-in-0000cb5a>AGI Rx << CHANNEL STATUS SIP/carrier-in-0000cb5a
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=6
<SIP/carrier-in-0000cb5a>AGI Rx << GET DATA prepaid-enter-dest 6000 20
-- <SIP/carrier-in-0000cb5a> Playing 'prepaid-enter-dest.ulaw' (language 'en')
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=5
<SIP/carrier-in-0000cb5a>AGI Rx << EXEC DIAL SIP/replaced carrier ip/0755XXXXX,60,HRL(212400000:61000:30000)
-- AGI Script Executing Application: (DIAL) Options: (SIP/replaced carrier ip/0755XXXXX,60,HRL(212400000:61000:30000))
> Limit Data for this call:
> timelimit = 212400000 ms (212400.000 s)
> play_warning = 61000 ms (61.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000 ms (30.000 s)
> start_sound =
> warning_sound = timeleft
> end_sound =
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/replaced carrier ip/0755XXXXX
-- SIP/replaced carrier ip-0000cb5b is making progress passing it to SIP/carrier-in-0000cb5a
-- SIP/replaced carrier ip-0000cb5b answered SIP/carrier-in-0000cb5a
> User hit '**' to disconnect call.
-- Executing [h@a2billing-to-place-a-call:1] DeadAGI("SIP/carrier-in-0000cb5a", "a2billing.php,3") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_request: a2billing.php
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_channel: SIP/carrier-in-0000cb5a
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_language: en
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_type: SIP
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_uniqueid: 1346431623.53466
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_version: 1.8.13.0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callerid: 0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_calleridname: unknown
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callingpres: 0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callingani2: 0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callington: 0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_callingtns: 0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_dnid: 61XXXXXXXX
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_rdnis: 61XXXXXXXX
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_context: a2billing-to-place-a-call
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_extension: h
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_priority: 1
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_enhanced: 0.0
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_accountcode: 88XXXXXXX
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_threadid: 139723424687872
<SIP/carrier-in-0000cb5a>AGI Tx >> agi_arg_1: 3
<SIP/carrier-in-0000cb5a>AGI Tx >>
<SIP/carrier-in-0000cb5a>AGI Rx << GET VARIABLE IDCONF
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=0
<SIP/carrier-in-0000cb5a>AGI Rx << ANSWER
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
<SIP/carrier-in-0000cb5a>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=1
<SIP/carrier-in-0000cb5a>AGI Rx << STREAM FILE prepaid-you-have "#" 0
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
<SIP/carrier-in-0000cb5a>AGI Rx << SAY NUMBER 159 ""
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
<SIP/carrier-in-0000cb5a>AGI Rx << STREAM FILE credit "#" 0
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
<SIP/carrier-in-0000cb5a>AGI Rx << STREAM FILE vm-and "#" 0
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
<SIP/carrier-in-0000cb5a>AGI Rx << SAY NUMBER 09 ""
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
<SIP/carrier-in-0000cb5a>AGI Rx << STREAM FILE prepaid-cents "#" 0
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
<SIP/carrier-in-0000cb5a>AGI Rx << SET CALLERID 0
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
<SIP/carrier-in-0000cb5a>AGI Rx << CHANNEL STATUS SIP/carrier-in-0000cb5a
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
-- <SIP/carrier-in-0000cb5a>AGI Script a2billing.php completed, returning 0
-- Executing [h@a2billing-to-place-a-call:2] Hangup("SIP/carrier-in-0000cb5a", "") in new stack
== Spawn extension (a2billing-to-place-a-call, h, 2) exited non-zero on 'SIP/carrier-in-0000cb5a'
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=-1
<SIP/carrier-in-0000cb5a>AGI Rx << GET VARIABLE ANSWEREDTIME
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=1 (4)
<SIP/carrier-in-0000cb5a>AGI Rx << GET VARIABLE DIALSTATUS
<SIP/carrier-in-0000cb5a>AGI Tx >> 200 result=1 (ANSWER)
<SIP/carrier-in-0000cb5a>AGI Rx << CHANNEL STATUS SIP/carrier-in-0000cb5a
<SIP/carrier-in-0000cb5a>AGI Tx >> 511 Command Not Permitted on a dead channel
-- <SIP/carrier-in-0000cb5a>AGI Script a2billing.php completed, returning 4
== Spawn extension (a2billing-to-place-a-call, 1, 1) exited non-zero on 'SIP/carrier-in-0000cb5a'


Top
 Profile  
 
 Post subject: Re: * follow on calls not working
PostPosted: Wed Dec 26, 2012 7:30 am 
Offline

Joined: Sat Nov 28, 2009 1:17 pm
Posts: 10
Hi,
I am also facing this issue,
I have installed a2billing latest version 1.9.4 and asterisk 1.8.11.
I am using php 5.4 version on centos 6.3 64 bit on server.

I am also using H in dial pattern and i have set ** for disconnect call in asterisk features.conf
When i am pressing ** then it is showing below code
> User hit '**' to disconnect call.
-- Executing [h@a2billing:1] Hangup("SIP/0640520260-0000001b", "") in new stack

But i am not able to get another destination number asking prompt, it is quickly hangup the call,
I have also put number_try = 3 in agi-conf already but not able to get second call entering back on call.

Can anybody suggest me how this functionality will work for dropping call by ** and asking for another destination?
Thanks in advance!


Top
 Profile  
 
 Post subject: Re: * follow on calls not working
PostPosted: Thu Oct 03, 2013 9:06 pm 
Offline

Joined: Wed May 26, 2010 5:39 pm
Posts: 30
Mind you, there are three dial command parameters in every agi-conf.


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


All times are UTC


Who is online

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