Callback not working. Please help me!

Hi

I’m using
FreePBX 2.4.1.0
Asterisk 1.4.16

Callback was working fine. No Upgrade was done. When trying the Callback access number, the call is not automatically hung-up by the system. But callback works when manually hanging up the call. Simply, the system is not disconnecting the call using “486 Busy” to the caller.

But when looking at the asterisk CLI, i’m able to see that the system is using the “Hangup” function to destroy the call, but the call is not getting disconnected.

I’m posting my Asterisk CLI output below.

-- Executing [0208xxxxxxx@from-sip-external:1] NoOp("SIP/xx.xx.xx.xx-1990d480", "Received incoming SIP connection from unknown peer to 0208xxxxxxx") in new stack -- Executing [0208xxxxxxx@from-sip-external:2] Set("SIP/xx.xx.xx.xx-1990d480", "DID=0208xxxxxxx") in new stack -- Executing [0208xxxxxxx@from-sip-external:3] Goto("SIP/xx.xx.xx.xx-1990d480", "s|1") in new stack -- Goto (from-sip-external,s,1) -- Executing [s@from-sip-external:1] GotoIf("SIP/xx.xx.xx.xx-1990d480", "1?from-trunk|0208xxxxxxx|1") in new stack -- Goto (from-trunk,0208xxxxxxx,1) -- Executing [0208xxxxxxx@from-trunk:1] Set("SIP/xx.xx.xx.xx-1990d480", "__FROM_DID=0208xxxxxxx") in new stack -- Executing [0208xxxxxxx@from-trunk:2] Gosub("SIP/xx.xx.xx.xx-1990d480", "app-blacklist-check|s|1") in new stack -- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/xx.xx.xx.xx-1990d480", "") in new stack -- Executing [s@app-blacklist-check:2] GotoIf("SIP/xx.xx.xx.xx-1990d480", "0?blacklisted") in new stack -- Executing [s@app-blacklist-check:3] Return("SIP/xx.xx.xx.xx-1990d480", "") in new stack -- Executing [0208xxxxxxx@from-trunk:3] GotoIf("SIP/xx.xx.xx.xx-1990d480", "1 ?cidok") in new stack -- Goto (from-trunk,0208xxxxxxx,5) -- Executing [0208xxxxxxx@from-trunk:5] NoOp("SIP/xx.xx.xx.xx-1990d480", "CallerID is "0208yyyyyyy" <0208yyyyyyy>") in new stack -- Executing [0208xxxxxxx@from-trunk:6] Set("SIP/xx.xx.xx.xx-1990d480", "__CALLINGPRES_SV=allowed_not_screened") in new stack -- Executing [0208xxxxxxx@from-trunk:7] SetCallerPres("SIP/xx.xx.xx.xx-1990d480", "allowed_not_screened") in new stack -- Executing [0208xxxxxxx@from-trunk:8] Goto("SIP/xx.xx.xx.xx-1990d480", "callback|4|1") in new stack -- Goto (callback,4,1) -- Executing [4@callback:1] Set("SIP/xx.xx.xx.xx-1990d480", "CALL=0208yyyyyyy") in new stack -- Executing [4@callback:2] Set("SIP/xx.xx.xx.xx-1990d480", "DESTINATION=custom-a2billing-normal..1") in new stack -- Executing [4@callback:3] Set("SIP/xx.xx.xx.xx-1990d480", "SLEEP=10") in new stack -- Executing [4@callback:4] System("SIP/xx.xx.xx.xx-1990d480", "/var/lib/asterisk/bin/callback 0208yyyyyyy custom-a2billing-normal..1 10 &") in new stack -- Executing [4@callback:5] Hangup("SIP/xx.xx.xx.xx-1990d480", "") in new stack == Spawn extension (callback, 4, 5) exited non-zero on 'SIP/xx.xx.xx.xx-1990d480' localhost*CLI>

Can anyone pls get me help on this?

Many Thanks
Vinod

Can someone please help me with my callback problem

Many Thanks
Vinod

I don’t think anybody can help you out because the problem is very likely in the callback script that hasn’t been posted.

/var/lib/asterisk/bin/callback 0208yyyyyyy custom-a2billing-normal…1 10 &") in new stack

Hi

Thanks for the reply.

My Setup:
I’m using asterisk callback to call back the caller. Later, on the callback, the call is routed to the a2billing context, by which the caller is authenticated using his/her caller id using a2billing.

What i’m confused is with that “Hangup” application, which should hangup the call immediately without any reason, and the caller must get a “Call Rejected” or “486 Busy here”. But it doesn’t seems to hangup the call.

But usually callback was working with that setup, or in other words I haven’t changed the callback configuration.

Anyway the callback now seems to be working in wonder with the same setup.

I’m really confused.

Thanks & Regards
Vinod