[asterisk-users] astcc - outgoing call does not hangup properly

Dan Caescu dcaescu at eqnet.us
Wed May 6 12:00:41 CDT 2009


Hi,

 

I am using ASTCC and trying to setup a calling card platform.

 

The problem that I have is that astcc does not hangup calls correctly:

 

1.	If I try to dial a number, call goes through fine. When I hang up
the call from my side I get this:

 

    -- Called 192.168.1.56/1XX6872XXXX   (masked a few digits)

    -- SIP/192.168.1.56-086c5000 is making progress passing it to
SIP/581581-086b3000

    -- SIP/192.168.1.56-086c5000 answered SIP/581581-086b3000

  == Spawn extension (sippool, 1XX6872XXXX, 1) exited non-zero on
'SIP/581581-086b3000'

 

2.	Dialing the same number, but hanging up from the remote side :

 

    -- Called 192.168.1.56/1XX6872XXXX

    -- SIP/192.168.1.56-086c5000 is making progress passing it to
SIP/581581-086b3000

    -- SIP/192.168.1.56-086c5000 answered SIP/581581-086b3000

    -- AGI Script astcc.agi completed, returning 0

    -- Executing Hangup("SIP/581581-086b3000", "NULL")

  == Spawn extension (sippool, 1XX6872XXXX, 2) exited non-zero on
'SIP/581581-086b3000'

 

 

Difference between these two cases is:

Case 1: call doesn't get billed (there was no hangup returned so astcc won't
bill the call - although call was completed)

Case 2: call gets billed and everything is fine.

 

 

So what is wrong in the first case? Why don't I get the hangup correctly?

 

 

PS: for case 1 I tried two different softphones, a SPA901 and a SPA942 so I
guess this is not because of the phone.

 

 

 

Dan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090506/62c2c5d2/attachment.htm 


More information about the asterisk-users mailing list