Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu May 28, 2020 10:21 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: How to change "603 Decline" to "486 Busy Here"
PostPosted: Wed Feb 10, 2010 10:31 am 
Offline

Joined: Tue Jan 06, 2009 11:04 am
Posts: 36
Location: Bangkok, Thailand
Dear All,

When I dialed into number for "a2billing-cid-callback". I got busy tone and SIP message "603 Declined". I would like to change it to "486 Busy Here". Cany anyone tell me where i can change?

Regares,


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Fri May 21, 2010 6:56 pm 
Offline

Joined: Tue Jan 06, 2009 11:04 am
Posts: 36
Location: Bangkok, Thailand
Um... Seem nobody can help me, or don't understand what I need.

When I call to access number for callback. A2B send "603 Declined". Some mobile doesn't automatic hang up call, still generate busy signal.

So I think, If i can change "603 Declined" to "483 Busy Here". Every mobiles can automatic hang up without continue generate busy signal.

Sorry about my poor english.


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Sat May 22, 2010 8:16 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

I suspect that A2Billing.php is going to need modification to allow this to happen. Unfortunately, I am not a programmer, so I cannot tell you where to look or what to change.

Joe


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Sat Oct 30, 2010 6:17 pm 
Offline

Joined: Tue Oct 06, 2009 12:23 pm
Posts: 23
Location: Austria
Hello,

you can put a parameter to Hangup
e.g.:
exten => _X.,n,Hangup(41)
should cause a SIP-BYE Message

See also:
http://www.voip-info.org/wiki/view/Asterisk+cmd+Hangup

Greetings
www.bestcallshop.com


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Mon Nov 08, 2010 8:35 am 
Offline

Joined: Tue Jan 06, 2009 11:04 am
Posts: 36
Location: Bangkok, Thailand
I try Hangup(17), where 17 is User-Busy for ISDN disconnect code. But Asterisk still send "603 Declined".


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Tue Nov 16, 2010 5:06 pm 
Offline

Joined: Tue Oct 06, 2009 12:23 pm
Posts: 23
Location: Austria
Did you try with Code 41 ?

http://mobile-phone-card.com/cc_main.php


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Fri Nov 26, 2010 6:31 pm 
Offline

Joined: Wed Mar 31, 2010 3:45 am
Posts: 132
Location: São Paulo
After ringing after 60 seconds it is also giving 603 Declined is this the correct code for that?

what would be the proper code for that?


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Mon Nov 29, 2010 10:49 am 
Offline

Joined: Tue Oct 06, 2009 12:23 pm
Posts: 23
Location: Austria
If you hear ringing for 60 seconds, your dialplan is not correct or you have a different problem.

exten => _X.,n,Hangup(41)
should hangup immediatly and send SIP Code 503

See also: http://www.voip-info.org/wiki/view/Aste ... angupcause

ISUP Cause value SIP response
---------------- ------------
41 temporary failure 503 Service unavailable

It works for us at:
http://benotos.com/cc_main.php


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Mon Nov 29, 2010 2:08 pm 
Offline

Joined: Wed Mar 31, 2010 3:45 am
Posts: 132
Location: São Paulo
Hi Alfred,

Thank you for your reply

this is my dialplan

Quote:
[a2billing-wholesale]
exten => _X.,1,NoOp(A2Billing Start)
exten => _X.,n,DeadAgi(a2billing.php,4)
exten => h,1,Hangup


I cannot see anything wrong with it,
If Ifinish with hangup(41) will this be applied to all calls?


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Tue Dec 14, 2010 10:42 am 
Offline

Joined: Tue Jan 06, 2009 11:04 am
Posts: 36
Location: Bangkok, Thailand
Alfred,

I tried Hangup(41)
...

exten => 085XXXXXXX,1,Ringing
exten => 085XXXXXXX,n,Wait(1)
exten => 085XXXXXXX,n,DeadAGI(a2billing.php|all-callback|5)
exten => 085XXXXXXX,n,Hangup(41)

After I diled to access number to activate all-callback. I got one ringback tone then more busy tone. I still get "603 Declined". My phone didn't autometic hangup, I have to press hangup button. I think if i can change "603 Declined" to other code, for example 503 Service Unavailable or 486 Buy Here, My phone can do autometic hangup itself.

I use Asterisk 1.4.22 and seem Hangup(41) doesn't work.

Regards,
Nuiz


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Tue Dec 14, 2010 10:45 am 
Offline

Joined: Tue Jan 06, 2009 11:04 am
Posts: 36
Location: Bangkok, Thailand
renatofb wrote:
After ringing after 60 seconds it is also giving 603 Declined is this the correct code for that?

what would be the proper code for that?


Please try to add Ringing and Wait(1) commands to your dialpl.

exten => _X.,1,Ringing()
exten => _X.,n,Wait(1)
exten => _X.,n,AGI...


Top
 Profile  
 
 Post subject: Re: How to change "603 Decline" to "486 Busy Here"
PostPosted: Tue Dec 14, 2010 9:14 pm 
Offline

Joined: Wed Mar 31, 2010 3:45 am
Posts: 132
Location: São Paulo
hi iamaladin
Thank you for your reply.

What would be effect of Ringing() and Wait(1) in the dial plan on a Wholesale configuration that could take effect on this problem?

I will try it anyway.
Regards,
Renato.


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


All times are UTC


Who is online

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