asterisk2billing.org
http://forum.asterisk2billing.org/

A2B selects wrong ID with failover to second incoming trunk
http://forum.asterisk2billing.org/viewtopic.php?f=22&t=8116
Page 1 of 1

Author:  RobinA [ Fri Sep 10, 2010 5:51 am ]
Post subject:  A2B selects wrong ID with failover to second incoming trunk

Hello All,

I've been working on this problem for the last 24 hours trying to figure out why A2B 1.4X is selecting a different card to charge when the first call fails.
Problem: I have a customer with two IAX2 trunks. One Hamachi and one Directly through the Internet.
Both trunks have the same accountcode on my end.
The customer is out of credit and sends a call through the public Internet trunk.
The call fails and the failover trunk on the client's end kicks in and sends the call again.
This time the call succeeds because A2B selects the accountcode of a different (unrelated) customer.
Checking the call log, the sessionid has the correct information but the card_id is that of another customer.

Why is A2B selecting the account of a different user whenever the failover takes place.
Please see the attached log.

RobinA.

Attachments:
WrongTrunk.txt [49.99 KiB]
Downloaded 927 times

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/