Current-time: Jan 29 02:34:24 PST (UTC -0800) H323-conf-id: 4484E65F 254D1A86 699E76FF 36BAB6E3 SIP Call-ID: 94.23.225.212-1264761189.242 SIP Call-ID: 94.23.242.200-1264761189.71 Requests: 6 REQUEST-- Jan 29 02:33:09: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.242.200' NAS-Port-Name = 'SIP/41215500329-b600e258' User-Name = '41215500329' Called-Station-Id = '0216912818' Calling-Station-Id = '41215500329' h323-conf-id = '4484E65F 254D1A86 699E76FF 36BAB6E3' call-id = '94.23.242.200-1264761189.71' Digest-Attributes = 'User-Name = "41215500329"' Digest-Attributes = 'Realm = "switzernet"' Digest-Attributes = 'Nonce = "0e2c84f5"' Digest-Attributes = 'URI = "sip:0216912818@94.23.242.200"' Digest-Attributes = 'Method = "INVITE"' Digest-Attributes = 'Algorithm = "MD5"' Digest-Response = 'b5f93d890c08bad9648f403486ffec89' h323-ivr-out = 'PortaBilling_Routing:SIP' Jan 29 02:33:09: h323-conf-id=4484E65F 254D1A86 699E76FF 36BAB6E3/1, call-id=94.23.242.200-1264761189.71/1 Jan 29 02:33:09: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 02:33:09: Checking if this call comes through a VoIP from vendor connection Jan 29 02:33:09: No VoIP from vendor connections were found Jan 29 02:33:09: PrepareNexecute 'AccountAuth' Jan 29 02:33:09: SQL query 'AccountAuth' executed in 0.001885 seconds Jan 29 02:33:09: Found Account: 41215500329[58048,credit,balance=0.11000,limit=none] of customer Swiss offices[16165,balance=631.14000,limit=700.00000] Jan 29 02:33:09: PrepareNexecute 'GetSessions' Jan 29 02:33:09: SQL query 'GetSessions' executed in 0.000638 seconds Jan 29 02:33:09: Account 41215500329 is already logged in, other session with call ID=2129AF17 60390377 2722CBBF 613CEA4D Jan 29 02:33:09: Verification of password using method 'digest_response': success Jan 29 02:33:09: Applying customer dialing translation rule on CLD ... Jan 29 02:33:09: Translation 'local_to_e164($_,{cc=>'41',dp=>'0',ip=>'00'});#% cc=41 dp=0 ip=00' applied: '0216912818' -> '41216912818' Jan 29 02:33:09: PrepareNexecute 'AccountAuth' Jan 29 02:33:09: SQL query 'AccountAuth' executed in 0.001867 seconds Jan 29 02:33:09: CLD '41216912818' is an off-net number Jan 29 02:33:09: Setting up a new charge with tariff 'business' ... Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: PrepareNexecute 'GetPricePerDestination*' Jan 29 02:33:09: SQL query 'GetPricePerDestination*' executed in 0.001878 seconds Jan 29 02:33:09: Compute maximum call duration for leg Account 41215500329 to destination with funds 68.86 (customer funds 68.86 reduced to 68.86) Jan 29 02:33:09: Maximum call duration: 206580 announced as 206580 (+1x1x0.02+206579x1x0.02) by rate 2487323 using 47680 as seed Jan 29 02:33:09: Remote termination 'PortaSIP': Calculating routing for 41216912818 Jan 29 02:33:09: RTP Proxy with origination preference 'Undetermined', Calling party NOT behind NAT. Jan 29 02:33:09: Looking up routes to '41216912818' using '' routing plan Jan 29 02:33:09: PrepareNexecute 'GetRoutingPerDestination*' Jan 29 02:33:09: SQL query 'GetRoutingPerDestination*' executed in 0.005639 seconds Jan 29 02:33:09: Checked 2010-01-29 11:33:09 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:09: Start of call is peak level 0 Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Checked 2010-01-29 11:33:09 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:09: Start of call is peak level 0 Jan 29 02:33:09: Checked 2010-01-29 11:33:09 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:09: Start of call is peak level 0 Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Checked 2010-01-29 11:33:09 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:09: Start of call is peak level 0 Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Applying route outgoing CLD translation on '41216912818' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 02:33:09: Applying route outgoing CLD translation on '41216912818' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 02:33:09: Applying route outgoing CLD translation on '41216912818' ... Jan 29 02:33:09: Translation 's/^(\d)/00$1/;' applied: '41216912818' -> '0041216912818' Jan 29 02:33:09: Applying route outgoing CLD translation on '41216912818' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/' applied: '41216912818' -> '+41216912818' Jan 29 02:33:09: Applying route outgoing CLI translation on '41215500329' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 02:33:09: Applying route outgoing CLI translation on '41215500329' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 02:33:09: Applying route outgoing CLI translation on '41215500329' ... Jan 29 02:33:09: Translation 's/^(\d)/00$1/;' applied: '41215500329' -> '0041215500329' Jan 29 02:33:09: Applying route outgoing CLI translation on '41215500329' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 02:33:09: Result routes to destination '41216912818': +41216912818@212.249.15.3, prio = 10, cost = 0.01120, 'OpenSER 3' - to remote GW +41216912818@212.249.15.9, prio = 10, cost = 0.01120, 'OpenSER 9' - to remote GW 0041216912818@217.168.45.4, prio = 9, cost = 0.00000, 'Asterisk SS7' - to remote GW +41216912818@87.106.213.52, prio = 8, cost = 0.00000, 'OpenSER UK' - to remote GW Jan 29 02:33:09: Enhance lifetime with 1800s to Fri Jan 29 03:03:09 2010 Jan 29 02:33:09: Authentication acknowledge response h323-ivr-in = PortaBilling_Routing:@;g-hunt=seq h323-ivr-in = PortaBilling_Routing: @;g-hunt=skip;expires=300;credit-time=206580;cli=+41215500329;patience=20 h323-ivr-in = PortaBilling_Routing: +41216912818@212.249.15.3 h323-ivr-in = PortaBilling_Routing: +41216912818@212.249.15.9 h323-ivr-in = PortaBilling_Routing: 0041216912818@217.168.45.4;cli=0041215500329;rtpp=1 h323-ivr-in = PortaBilling_Routing: +41216912818@87.106.213.52 h323-billing-model = 0 h323-ivr-in = Tariff:business h323-ivr-in = PortaBilling_CLI:41215500329 h323-ivr-in = MOH:1 h323-ivr-in = PortaBilling_CompleteNumber:41216912818 h323-ivr-in = PortaBilling_Auth_CLD:41216912818 h323-ivr-in = PortaBilling_Auth_Reseller_CLD:41216912818 h323-ivr-in = DURATION:206580 h323-return-code = 0 h323-currency = CHF h323-credit-time = 206580 h323-preferred-lang = en Jan 29 02:33:09: ...Done Authorize/INVITE in 0.042719 seconds, 0.011907 spent in SQL queries. --REQUEST REQUEST-- Jan 29 02:33:09: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.225.212' NAS-Port-Name = 'SIP/94.23.242.200-30076130' User-Name = '94.23.242.200' Called-Station-Id = '41216912818' Calling-Station-Id = '41215500329' h323-conf-id = '4484E65F 254D1A86 699E76FF 36BAB6E3' call-id = '94.23.225.212-1264761189.242' Password = 'xxxxxxxxx' h323-ivr-out = 'PortaBilling_Routing:SIP' Jan 29 02:33:09: h323-conf-id=4484E65F 254D1A86 699E76FF 36BAB6E3/1, call-id=94.23.225.212-1264761189.242/1 Jan 29 02:33:09: Found a call in cache with such id Jan 29 02:33:09: Authorization of the trusted node Jan 29 02:33:09: IP based authorization, force 'plaintext' password verification Jan 29 02:33:09: Verification of password using method 'plaintext': success Jan 29 02:33:09: '94.23.242.200' is a trusted node's ID or IP, unable to use it as an account ID. Correct account ID should be available on the other call legs Jan 29 02:33:09: PrepareNexecute 'AccountAuth' Jan 29 02:33:09: SQL query 'AccountAuth' executed in 0.001397 seconds Jan 29 02:33:09: CLD '41216912818' is an off-net number Jan 29 02:33:09: Remote termination 'PortaSIP': Calculating routing for 41216912818 Jan 29 02:33:09: Routing information retrieved from previous auth request Jan 29 02:33:09: RTP Proxy with origination preference '', Calling party NOT behind NAT. Jan 29 02:33:09: Looking up routes to '41216912818' using '' routing plan Jan 29 02:33:09: PrepareNexecute 'GetRoutingPerDestination*' Jan 29 02:33:09: SQL query 'GetRoutingPerDestination*' executed in 0.006105 seconds Jan 29 02:33:09: Checked 2010-01-29 11:33:09 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:09: Start of call is peak level 0 Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Checked 2010-01-29 11:33:09 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:09: Start of call is peak level 0 Jan 29 02:33:09: Checked 2010-01-29 11:33:09 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:09: Start of call is peak level 0 Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Checked 2010-01-29 11:33:09 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:09: Start of call is peak level 0 Jan 29 02:33:09: Using peak rate, since no off-peak is defined Jan 29 02:33:09: Applying route outgoing CLD translation on '41216912818' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 02:33:09: Applying route outgoing CLD translation on '41216912818' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 02:33:09: Applying route outgoing CLD translation on '41216912818' ... Jan 29 02:33:09: Translation 's/^(\d)/00$1/;' applied: '41216912818' -> '0041216912818' Jan 29 02:33:09: Applying route outgoing CLD translation on '41216912818' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/' applied: '41216912818' -> '+41216912818' Jan 29 02:33:09: Applying route outgoing CLI translation on '41215500329' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 02:33:09: Applying route outgoing CLI translation on '41215500329' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 02:33:09: Applying route outgoing CLI translation on '41215500329' ... Jan 29 02:33:09: Translation 's/^(\d)/00$1/;' applied: '41215500329' -> '0041215500329' Jan 29 02:33:09: Applying route outgoing CLI translation on '41215500329' ... Jan 29 02:33:09: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 02:33:09: Result routes to destination '41216912818': +41216912818@212.249.15.3, prio = 10, cost = 0.01120, 'OpenSER 3' - to remote GW +41216912818@212.249.15.9, prio = 10, cost = 0.01120, 'OpenSER 9' - to remote GW 0041216912818@217.168.45.4, prio = 9, cost = 0.00000, 'Asterisk SS7' - to remote GW +41216912818@87.106.213.52, prio = 8, cost = 0.00000, 'OpenSER UK' - to remote GW Jan 29 02:33:09: Authentication acknowledge response h323-ivr-in = PortaBilling_Routing:@;g-hunt=seq h323-ivr-in = PortaBilling_Routing: @;g-hunt=skip;expires=300;credit-time=-1;cli=+41215500329;patience=20 h323-ivr-in = PortaBilling_Routing: +41216912818@212.249.15.3 h323-ivr-in = PortaBilling_Routing: +41216912818@212.249.15.9 h323-ivr-in = PortaBilling_Routing: 0041216912818@217.168.45.4;cli=0041215500329;rtpp=1 h323-ivr-in = PortaBilling_Routing: +41216912818@87.106.213.52 h323-ivr-in = PortaBilling_CacheExpiration:Never h323-ivr-in = PortaBilling_CLI:41215500329 h323-ivr-in = PortaBilling_CompleteNumber:41216912818 h323-ivr-in = PortaBilling_Auth_CLD:41216912818 h323-ivr-in = PortaBilling_Auth_Reseller_CLD:41216912818 h323-return-code = 13 Jan 29 02:33:09: ...Done Authorize in 0.030120 seconds, 0.007502 spent in SQL queries. --REQUEST REQUEST-- Jan 29 02:33:15: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.225.212' User-Name = '94.23.242.200' Called-Station-Id = '+41216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Start' h323-call-origin = 'originate' h323-call-type = 'VoIP' h323-setup-time = '10:33:10 GMT Fri Jan 29 2010' h323-conf-id = '4484E65F 254D1A86 699E76FF 36BAB6E3' call-id = '94.23.225.212-1264761189.242' session-protocol = 'sipv2' h323-remote-address = '212.249.15.3' Exec-Program-Log = 'porta-billing.pl' Jan 29 02:33:15: fixup: Using value '10:33:10 GMT Fri Jan 29 2010' to supply missing h323-connect-time attribute in Start accounting Jan 29 02:33:15: h323-conf-id=4484E65F 254D1A86 699E76FF 36BAB6E3/1, call-id=94.23.225.212-1264761189.242/1 Jan 29 02:33:15: Found a call in cache with such id Jan 29 02:33:15: Copying randomization seed '7048' into request's PortaBilling_Seed attribute Jan 29 02:33:15: Copying originator authorized CLD '41216912818' into current request Jan 29 02:33:15: Copying reseller authorized CLD '41216912818' into current request Jan 29 02:33:15: Replacing username '94.23.242.200' with the real username '41215500329' Jan 29 02:33:15: Copied account: 41215500329[58048,credit,balance=0.11000,limit=none] of customer Swiss offices[16165,balance=631.14000,limit=700.00000] from '94.23.242.200' into the current request Jan 29 02:33:15: Fixing time with duration 0 seconds from connect time Jan 29 02:33:15: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 02:33:15: SQL query 'GetActiveLegIdByAcct' executed in 0.001168 seconds Jan 29 02:33:15: Looking up vendor/connection Jan 29 02:33:15: Trying to match connection for call Jan 29 02:33:15: Looking for a connection VoIP/originate Jan 29 02:33:15: Outgoing VoIP, matching by the remote IP address '212.249.15.3' (env 1) Jan 29 02:33:15: Found connection 205 'OpenSER 3' to vendor 'Verizon' Jan 29 02:33:15: Found vendor/connection Jan 29 02:33:15: PrepareNexecute 'InsertActiveLeg' Jan 29 02:33:15: SQL query 'InsertActiveLeg' executed in 0.000872 seconds Jan 29 02:33:15: Accounting response Jan 29 02:33:15: ...Done Accounting/Start/originate/VoIP in 0.008582 seconds, 0.002040 spent in SQL queries. --REQUEST REQUEST-- Jan 29 02:33:15: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.225.212' User-Name = '94.23.242.200' Called-Station-Id = '41216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Start' h323-call-origin = 'answer' h323-call-type = 'VoIP' h323-setup-time = '10:33:09 GMT Fri Jan 29 2010' h323-conf-id = '4484E65F 254D1A86 699E76FF 36BAB6E3' call-id = '94.23.225.212-1264761189.242' session-protocol = 'sipv2' h323-remote-address = '94.23.242.200' Exec-Program-Log = 'porta-billing.pl' Jan 29 02:33:15: fixup: Using value '10:33:09 GMT Fri Jan 29 2010' to supply missing h323-connect-time attribute in Start accounting Jan 29 02:33:15: h323-conf-id=4484E65F 254D1A86 699E76FF 36BAB6E3/1, call-id=94.23.225.212-1264761189.242/1 Jan 29 02:33:15: Found a call in cache with such id Jan 29 02:33:15: Copying randomization seed '7048' into request's PortaBilling_Seed attribute Jan 29 02:33:15: Copying originator authorized CLD '41216912818' into current request Jan 29 02:33:15: Copying reseller authorized CLD '41216912818' into current request Jan 29 02:33:15: Replacing username '94.23.242.200' with the real username '41215500329' Jan 29 02:33:15: Copied account: 41215500329[58048,credit,balance=0.11000,limit=none] of customer Swiss offices[16165,balance=631.14000,limit=700.00000] from '94.23.242.200' into the current request Jan 29 02:33:15: Fixing time with duration 0 seconds from connect time Jan 29 02:33:15: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 02:33:15: SQL query 'GetActiveLegIdByAcct' executed in 0.001151 seconds Jan 29 02:33:15: Looking up vendor/connection Jan 29 02:33:15: Trying to match connection for call Jan 29 02:33:15: Looking for a connection VoIP/answer Jan 29 02:33:15: VoIP, matching by the node IP '94.23.225.212' and User-Name '94.23.242.200' Jan 29 02:33:15: No VoIP from vendor connections were found Jan 29 02:33:15: Connection to vendor not found Jan 29 02:33:15: PrepareNexecute 'InsertActiveLeg' Jan 29 02:33:15: SQL query 'InsertActiveLeg' executed in 0.000867 seconds Jan 29 02:33:15: Accounting response Jan 29 02:33:15: ...Done Accounting/Start/answer/VoIP in 0.008391 seconds, 0.002018 spent in SQL queries. --REQUEST REQUEST-- Jan 29 02:33:24: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.225.212' User-Name = '94.23.242.200' Called-Station-Id = '+41216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Stop' h323-call-origin = 'originate' h323-call-type = 'VoIP' h323-setup-time = '10:33:10 GMT Fri Jan 29 2010' h323-connect-time = '10:33:15 GMT Fri Jan 29 2010' h323-disconnect-time = '10:33:24 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '4484E65F 254D1A86 699E76FF 36BAB6E3' call-id = '94.23.225.212-1264761189.242' Acct-Session-Time = '9' session-protocol = 'sipv2' h323-remote-address = '212.249.15.3' Exec-Program-Log = 'porta-billing.pl' Jan 29 02:33:24: h323-conf-id=4484E65F 254D1A86 699E76FF 36BAB6E3/1, call-id=94.23.225.212-1264761189.242/1 Jan 29 02:33:24: Found a call in cache with such id Jan 29 02:33:24: Copying randomization seed '7048' into request's PortaBilling_Seed attribute Jan 29 02:33:24: Copying originator authorized CLD '41216912818' into current request Jan 29 02:33:24: Copying reseller authorized CLD '41216912818' into current request Jan 29 02:33:24: Replacing username '94.23.242.200' with the real username '41215500329' Jan 29 02:33:24: Copied account: 41215500329[58048,credit,balance=0.11000,limit=none] of customer Swiss offices[16165,balance=631.14000,limit=700.00000] from '94.23.242.200' into the current request Jan 29 02:33:24: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 02:33:24: SQL query 'GetActiveLegIdByAcct' executed in 0.001202 seconds Jan 29 02:33:24: PrepareNexecute 'DeleteActiveLeg' Jan 29 02:33:24: SQL query 'DeleteActiveLeg' executed in 0.000821 seconds Jan 29 02:33:24: End of the outgoing call for account, which appears as never logged-in Jan 29 02:33:24: Set lifetime with 15s to Fri Jan 29 02:33:39 2010 Jan 29 02:33:24: Looking up vendor/connection Jan 29 02:33:24: Trying to match connection for call Jan 29 02:33:24: Looking for a connection VoIP/originate Jan 29 02:33:24: Outgoing VoIP, matching by the remote IP address '212.249.15.3' (env 1) Jan 29 02:33:24: Found connection 205 'OpenSER 3' to vendor 'Verizon' Jan 29 02:33:24: Found vendor/connection Jan 29 02:33:24: Applying connection translation rule on CLD ... Jan 29 02:33:24: Translation 's/^\+//;' applied: '+41216912818' -> '41216912818' Jan 29 02:33:24: Charging call ... Jan 29 02:33:24: Using peak rate, since no off-peak is defined Jan 29 02:33:24: Can reuse the already initialized charge. Jan 29 02:33:24: Calculating account's charge by tariff 'business' Jan 29 02:33:24: Call to '41216912818' with duration 9 seconds will be charged for 9 seconds and cost is 0.01 (1x1x0.02+8x1x0.02^2) by rate 2487323 using 47680 as seed Jan 29 02:33:24: Setting up a new charge with tariff 'verizon-PRE' ... Jan 29 02:33:24: Checked 2010-01-29 11:33:15 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:24: Checked 2010-01-29 11:33:24 Europe/Zurich against 'hr{17-7} wd{mo-fr }, wd{sa su }, md{25} mo{dec}, md{26} mo{dec}, md{1} mo{jan}, md{2} mo{jan}, md{10} mo{apr}, md{13} mo{apr}, md{1} mo{may}, md{1} mo{jun}, md{1} mo{aug}': 0 Jan 29 02:33:24: Start of call is peak level 0 Jan 29 02:33:24: End of call is peak level 0 Jan 29 02:33:24: PrepareNexecute 'GetPricePerDestination*' Jan 29 02:33:24: SQL query 'GetPricePerDestination*' executed in 0.006079 seconds Jan 29 02:33:24: Calculating vendor's charge by tariff 'verizon-PRE' Jan 29 02:33:24: Call to '41216912818' with duration 9 seconds will be charged for 9 seconds and cost is 0.01057 (1x1x0.5398+8x1x0.0118) by rate 3530937 using 47680 as seed Jan 29 02:33:24: Charging account for the call Jan 29 02:33:24: Inserting CDR Jan 29 02:33:24: PrepareNexecute 'InsertAccountCDR' Jan 29 02:33:24: SQL query 'InsertAccountCDR' executed in 0.001375 seconds Jan 29 02:33:24: Charging credit account 41215500329 0.01 Jan 29 02:33:24: PrepareNexecute 'UpdateAccountBalance' Jan 29 02:33:24: SQL query 'UpdateAccountBalance' executed in 0.000852 seconds Jan 29 02:33:24: Charging account's owner for the call Jan 29 02:33:24: Charging customer 16165 'Swiss offices' 0.01 Jan 29 02:33:24: PrepareNexecute 'UpdateCustomerBalance' Jan 29 02:33:24: SQL query 'UpdateCustomerBalance' executed in 0.000812 seconds Jan 29 02:33:24: Charging vendor for the call Jan 29 02:33:24: Charging vendor 55 'Verizon' 0.01057 Jan 29 02:33:24: Inserting CDR Jan 29 02:33:24: PrepareNexecute 'InsertVendorCDR' Jan 29 02:33:24: SQL query 'InsertVendorCDR' executed in 0.00108 seconds Jan 29 02:33:24: PrepareNexecute 'UpdateVendorBalance' Jan 29 02:33:24: SQL query 'UpdateVendorBalance' executed in 0.001192 seconds Jan 29 02:33:24: Accounting response Jan 29 02:33:24: ...Done Accounting/Stop/originate/VoIP in 0.031235 seconds, 0.013413 spent in SQL queries. --REQUEST REQUEST-- Jan 29 02:33:24: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.225.212' User-Name = '94.23.242.200' Called-Station-Id = '41216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Stop' h323-call-origin = 'answer' h323-call-type = 'VoIP' h323-setup-time = '10:33:09 GMT Fri Jan 29 2010' h323-connect-time = '10:33:15 GMT Fri Jan 29 2010' h323-disconnect-time = '10:33:24 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '4484E65F 254D1A86 699E76FF 36BAB6E3' call-id = '94.23.225.212-1264761189.242' Acct-Session-Time = '9' session-protocol = 'sipv2' h323-remote-address = '94.23.242.200' Exec-Program-Log = 'porta-billing.pl' Jan 29 02:33:24: h323-conf-id=4484E65F 254D1A86 699E76FF 36BAB6E3/1, call-id=94.23.225.212-1264761189.242/1 Jan 29 02:33:24: Found a call in cache with such id Jan 29 02:33:24: Copying randomization seed '7048' into request's PortaBilling_Seed attribute Jan 29 02:33:24: Copying originator authorized CLD '41216912818' into current request Jan 29 02:33:24: Copying reseller authorized CLD '41216912818' into current request Jan 29 02:33:24: Replacing username '94.23.242.200' with the real username '41215500329' Jan 29 02:33:24: Copied account: 41215500329[58048,credit,balance=0.12,limit=none] of customer Swiss offices[16165,balance=631.15,limit=700.00000] from '94.23.242.200' into the current request Jan 29 02:33:24: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 02:33:24: SQL query 'GetActiveLegIdByAcct' executed in 0.00119 seconds Jan 29 02:33:24: PrepareNexecute 'DeleteActiveLeg' Jan 29 02:33:24: SQL query 'DeleteActiveLeg' executed in 0.000774 seconds Jan 29 02:33:24: End of call on incoming call leg from access NAS Jan 29 02:33:24: There have been authentication requests from more than one NAS Jan 29 02:33:24: No logged in accounts, call lifetime reduced to 15 Jan 29 02:33:24: Set lifetime with 15s to Fri Jan 29 02:33:39 2010 Jan 29 02:33:24: Looking up vendor/connection Jan 29 02:33:24: Trying to match connection for call Jan 29 02:33:24: Looking for a connection VoIP/answer Jan 29 02:33:24: VoIP, matching by the node IP '94.23.225.212' and User-Name '94.23.242.200' Jan 29 02:33:24: No VoIP from vendor connections were found Jan 29 02:33:24: Connection to vendor not found Jan 29 02:33:24: No connection from vendor Jan 29 02:33:24: Accounting response Jan 29 02:33:24: ...Done Accounting/Stop/answer/VoIP in 0.008817 seconds, 0.001964 spent in SQL queries. --REQUEST