Current-time: Jan 29 12:33:26 PST (UTC -0800) H323-conf-id: 364CD29D 18D578ED 40F8117E 1A7957C4 SIP Call-ID: 94.23.242.200-1264796504.136 SIP Call-ID: 5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212 SIP Call-ID: 94.23.225.212-1264796504.24 Requests: 9 REQUEST-- Jan 29 12:21:45: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '91.121.19.149' User-Name = '94.23.225.212' Called-Station-Id = '41216912818' Calling-Station-Id = '41215500329' h323-conf-id = '364CD29D 18D578ED 40F8117E 1A7957C4' call-id = '5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212' Password = 'xxxxxxxxx' h323-remote-address = '94.23.225.212' h323-session-protocol = 'sipv2' h323-ivr-out = 'PortaBilling_Routing:SIP' h323-ivr-out = 'PortaBilling_AuthMethod:INVITE' h323-ivr-out = 'PortaBilling_Notify:rtpp_level=3' h323-ivr-out = 'PortaBilling_Seed:1763915978' NAS-Port = '5060' Jan 29 12:21:45: h323-conf-id=364CD29D 18D578ED 40F8117E 1A7957C4/1, call-id=5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212/1 Jan 29 12:21:45: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 12:21:45: Authorization of the trusted node Jan 29 12:21:45: IP based authorization, force 'plaintext' password verification Jan 29 12:21:45: Verification of password using method 'plaintext': success Jan 29 12:21:45: '94.23.225.212' 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 12:21:45: PrepareNexecute 'AccountAuth' Jan 29 12:21:45: SQL query 'AccountAuth' executed in 0.001428 seconds Jan 29 12:21:45: CLD '41216912818' is an off-net number Jan 29 12:21:45: Remote termination 'PortaSIP': Calculating routing for 41216912818 Jan 29 12:21:45: Falling back to default routing since no routing plan information is available Jan 29 12:21:45: RTP Proxy with origination preference '', Calling party NOT behind NAT. Jan 29 12:21:45: Looking up routes to '41216912818' using '' routing plan Jan 29 12:21:45: PrepareNexecute 'GetRoutingPerDestination*' Jan 29 12:21:45: SQL query 'GetRoutingPerDestination*' executed in 0.005702 seconds Jan 29 12:21:45: Checked 2010-01-29 21:21:45 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}': 1 Jan 29 12:21:45: Start of call is peak level 1 Jan 29 12:21:45: Using peak rate, since no off-peak is defined Jan 29 12:21:45: Checked 2010-01-29 21:21:45 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}': 1 Jan 29 12:21:45: Start of call is peak level 1 Jan 29 12:21:45: Checked 2010-01-29 21:21:45 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}': 1 Jan 29 12:21:45: Start of call is peak level 1 Jan 29 12:21:45: Using peak rate, since no off-peak is defined Jan 29 12:21:45: Using peak rate, since no off-peak is defined Jan 29 12:21:45: Using peak rate, since no off-peak is defined Jan 29 12:21:45: Checked 2010-01-29 21:21:45 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}': 1 Jan 29 12:21:45: Start of call is peak level 1 Jan 29 12:21:45: Using peak rate, since no off-peak is defined Jan 29 12:21:45: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:21:45: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 12:21:45: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:21:45: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 12:21:45: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:21:45: Translation 's/^(\d)/00$1/;' applied: '41216912818' -> '0041216912818' Jan 29 12:21:45: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:21:45: Translation 's/^(\d)/\+$1/' applied: '41216912818' -> '+41216912818' Jan 29 12:21:45: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:21:45: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 12:21:45: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:21:45: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 12:21:45: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:21:45: Translation 's/^(\d)/00$1/;' applied: '41215500329' -> '0041215500329' Jan 29 12:21:45: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:21:45: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 12:21:45: Result routes to destination '41216912818': +41216912818@212.249.15.9, prio = 10, cost = 0.00654, off-peak, 'OpenSER 9' - to remote GW +41216912818@212.249.15.3, prio = 10, cost = 0.00654, off-peak, 'OpenSER 3' - to remote GW 0041216912818@217.168.45.4, prio = 9, cost = 0.00000, off-peak, 'Asterisk SS7' - to remote GW +41216912818@87.106.213.52, prio = 8, cost = 0.00000, 'OpenSER UK' - to remote GW Jan 29 12:21:45: 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.9 h323-ivr-in = PortaBilling_Routing: +41216912818@212.249.15.3 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 12:21:45: ...Done Authorize/INVITE in 0.027376 seconds, 0.007130 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:21:56: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '91.121.19.149' User-Name = '94.23.225.212' Called-Station-Id = '41216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Start' h323-call-origin = 'answer' h323-call-type = 'VoIP' h323-setup-time = '20:21:45.248 GMT Fri Jan 29 2010' h323-connect-time = '20:21:55.921 GMT Fri Jan 29 2010' h323-conf-id = '364CD29D 18D578ED 40F8117E 1A7957C4' call-id = '5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212' Acct-Session-Id = '5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' h323-ivr-out = 'PortaBilling_Seed:1763915978' alert-timepoint = '20:21:55.921 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:21:56: h323-conf-id=364CD29D 18D578ED 40F8117E 1A7957C4/1, call-id=5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212/1 Jan 29 12:21:56: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 12:21:56: Fixing time with duration 0 seconds from connect time Jan 29 12:21:56: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:21:56: SQL query 'GetActiveLegIdByAcct' executed in 0.00163 seconds Jan 29 12:21:56: '94.23.225.212' 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 12:21:56: Looking up vendor/connection Jan 29 12:21:56: Trying to match connection for call Jan 29 12:21:56: Looking for a connection VoIP/answer Jan 29 12:21:56: VoIP, matching by the node IP '91.121.19.149' and User-Name '94.23.225.212' Jan 29 12:21:56: No VoIP from vendor connections were found Jan 29 12:21:56: Connection to vendor not found Jan 29 12:21:56: PrepareNexecute 'InsertActiveLeg' Jan 29 12:21:56: SQL query 'InsertActiveLeg' executed in 0.001523 seconds Jan 29 12:21:56: Accounting response Jan 29 12:21:56: ...Done Accounting/Start/answer/VoIP in 0.009109 seconds, 0.003153 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:21:56: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '91.121.19.149' User-Name = '94.23.225.212' Called-Station-Id = '+41216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Start' h323-call-origin = 'originate' h323-call-type = 'VoIP' h323-setup-time = '20:21:45.353 GMT Fri Jan 29 2010' h323-connect-time = '20:21:55.919 GMT Fri Jan 29 2010' h323-conf-id = '364CD29D 18D578ED 40F8117E 1A7957C4' call-id = '5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212' Acct-Session-Id = '5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '212.249.15.9' h323-ivr-out = 'DURATION:7200' h323-ivr-out = 'PortaBilling_Auth_CLD:41216912818' h323-ivr-out = 'PortaBilling_Seed:1763915978' alert-timepoint = '20:21:46.498 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:21:56: h323-conf-id=364CD29D 18D578ED 40F8117E 1A7957C4/1, call-id=5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212/1 Jan 29 12:21:56: Found a call in cache with such id Jan 29 12:21:56: Fixing time with duration 0 seconds from connect time Jan 29 12:21:56: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:21:56: SQL query 'GetActiveLegIdByAcct' executed in 0.00152 seconds Jan 29 12:21:56: '94.23.225.212' 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 12:21:56: Looking up vendor/connection Jan 29 12:21:56: Trying to match connection for call Jan 29 12:21:56: Looking for a connection VoIP/originate Jan 29 12:21:56: Outgoing VoIP, matching by the remote IP address '212.249.15.9' (env 1) Jan 29 12:21:56: Found connection 217 'OpenSER 9' to vendor 'Verizon' Jan 29 12:21:56: Found vendor/connection Jan 29 12:21:56: PrepareNexecute 'InsertActiveLeg' Jan 29 12:21:56: SQL query 'InsertActiveLeg' executed in 0.001459 seconds Jan 29 12:21:56: Accounting response Jan 29 12:21:56: ...Done Accounting/Start/originate/VoIP in 0.009159 seconds, 0.002979 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:23:41: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '91.121.19.149' User-Name = '94.23.225.212' Called-Station-Id = '41216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Stop' h323-call-origin = 'answer' h323-call-type = 'VoIP' h323-setup-time = '20:21:45.248 GMT Fri Jan 29 2010' h323-connect-time = '20:21:55.248 GMT Fri Jan 29 2010' h323-disconnect-time = '20:23:40.248 GMT Fri Jan 29 2010' h323-disconnect-cause = '0' h323-voice-quality = '0' h323-conf-id = '364CD29D 18D578ED 40F8117E 1A7957C4' call-id = '5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212' Acct-Session-Id = '5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212' Acct-Session-Time = '105' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' h323-ivr-out = 'PortaBilling_Seed:1763915978' Acct-Terminate-Cause = 'User-Request' h323-ivr-out = 'PortaBilling_Session:unlock' alert-timepoint = '20:21:55.921 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:23:41: h323-conf-id=364CD29D 18D578ED 40F8117E 1A7957C4/1, call-id=5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212/1 Jan 29 12:23:41: Found a call in cache with such id Jan 29 12:23:41: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:23:41: SQL query 'GetActiveLegIdByAcct' executed in 0.002041 seconds Jan 29 12:23:41: PrepareNexecute 'DeleteActiveLeg' Jan 29 12:23:41: SQL query 'DeleteActiveLeg' executed in 0.001399 seconds Jan 29 12:23:41: User-Name needs correction. Postponing. Jan 29 12:23:41: Accounting response Jan 29 12:23:41: ...Done Accounting/Stop/answer/VoIP in 0.009228 seconds, 0.003440 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:23:42: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '91.121.19.149' User-Name = '94.23.225.212' Called-Station-Id = '+41216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Stop' h323-call-origin = 'originate' h323-call-type = 'VoIP' h323-setup-time = '20:21:45.353 GMT Fri Jan 29 2010' h323-connect-time = '20:21:55.353 GMT Fri Jan 29 2010' h323-disconnect-time = '20:23:40.353 GMT Fri Jan 29 2010' h323-disconnect-cause = '0' h323-voice-quality = '0' h323-conf-id = '364CD29D 18D578ED 40F8117E 1A7957C4' call-id = '5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212' Acct-Session-Id = '5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212' Acct-Session-Time = '105' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '212.249.15.9' h323-ivr-out = 'DURATION:7200' h323-ivr-out = 'PortaBilling_Auth_CLD:41216912818' h323-ivr-out = 'PortaBilling_Seed:1763915978' Acct-Terminate-Cause = 'User-Request' alert-timepoint = '20:21:46.498 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:23:42: h323-conf-id=364CD29D 18D578ED 40F8117E 1A7957C4/1, call-id=5fc445503b8a53e96cf0f9075d5b453c@94.23.225.212/1 Jan 29 12:23:42: Found a call in cache with such id Jan 29 12:23:42: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:23:42: SQL query 'GetActiveLegIdByAcct' executed in 0.002055 seconds Jan 29 12:23:42: PrepareNexecute 'DeleteActiveLeg' Jan 29 12:23:42: SQL query 'DeleteActiveLeg' executed in 0.001334 seconds Jan 29 12:23:42: User-Name needs correction. Postponing. Jan 29 12:23:42: Accounting response Jan 29 12:23:42: ...Done Accounting/Stop/originate/VoIP in 0.009093 seconds, 0.003389 spent in SQL queries. --REQUEST CALL-- Jan 29 12:24:03: Removing call 364CD29D 18D578ED 40F8117E 1A7957C4/1 Jan 29 12:24:03: No logged in accounts, call lifetime reduced to 15 Jan 29 12:24:03: Cleaning up the call Jan 29 12:24:03: No request from trusted node to recover username Jan 29 12:24:03: PrepareNexecute 'GetEnvMail' Jan 29 12:24:03: SQL query 'GetEnvMail' executed in 0.000334 seconds Jan 29 12:24:03: PrepareNexecute 'MailAlarm' Jan 29 12:24:03: SQL query 'MailAlarm' executed in 0.000306 seconds Jan 29 12:24:03: There are no recepients of mail alarms with type 'UNKN' Jan 29 12:24:03: Processing answer/VoIP call leg Jan 29 12:24:03: Skipping Start accounting Jan 29 12:24:03: Processing answer/VoIP call leg Jan 29 12:24:03: Found not billed accounting request with the duration more than zero - bill it now Jan 29 12:24:03: Looking up vendor/connection Jan 29 12:24:03: Trying to match connection for call Jan 29 12:24:03: Looking for a connection VoIP/answer Jan 29 12:24:03: VoIP, matching by the node IP '91.121.19.149' and User-Name '94.23.225.212' Jan 29 12:24:03: No VoIP from vendor connections were found Jan 29 12:24:03: Connection to vendor not found Jan 29 12:24:03: Charging call ... Jan 29 12:24:03: This is incoming call, bill only vendor Jan 29 12:24:03: Vendor is undefined (on-net call?), call is not billed Jan 29 12:24:03: Processing originate/VoIP call leg Jan 29 12:24:03: Found not billed accounting request with the duration more than zero - bill it now Jan 29 12:24:03: Looking up vendor/connection Jan 29 12:24:03: Trying to match connection for call Jan 29 12:24:03: Looking for a connection VoIP/originate Jan 29 12:24:03: Outgoing VoIP, matching by the remote IP address '212.249.15.9' (env 1) Jan 29 12:24:03: Found connection 217 'OpenSER 9' to vendor 'Verizon' Jan 29 12:24:03: Found vendor/connection Jan 29 12:24:03: Applying connection translation rule on CLD ... Jan 29 12:24:03: Translation 's/^\+//;' applied: '+41216912818' -> '41216912818' Jan 29 12:24:03: Charging call ... Jan 29 12:24:03: '94.23.225.212' 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 12:24:03: Setting up a new charge with tariff 'verizon-PRE' ... Jan 29 12:24:03: Checked 2010-01-29 21:21:55 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}': 1 Jan 29 12:24:03: Checked 2010-01-29 21:23:40 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}': 1 Jan 29 12:24:03: Start of call is peak level 1 Jan 29 12:24:03: End of call is peak level 1 Jan 29 12:24:03: PrepareNexecute 'GetPricePerDestination*' Jan 29 12:24:03: SQL query 'GetPricePerDestination*' executed in 0.002117 seconds Jan 29 12:24:03: Calculating vendor's charge by tariff 'verizon-PRE' Jan 29 12:24:03: Call to '41216912818' with duration 105 seconds will be charged for 105 seconds and cost is 0.01648 (1x1x0.2709+104x1x0.0069) by rate 3530937 using 1763956610 as seed Jan 29 12:24:03: Attempt to charge call with unknown Account, Customer Jan 29 12:24:03: Charging vendor for the call Jan 29 12:24:03: Charging vendor 55 'Verizon' 0.01648 Jan 29 12:24:03: Inserting CDR Jan 29 12:24:03: PrepareNexecute 'InsertVendorCDR' Jan 29 12:24:03: SQL query 'InsertVendorCDR' executed in 0.001124 seconds Jan 29 12:24:03: PrepareNexecute 'UpdateVendorBalance' Jan 29 12:24:03: SQL query 'UpdateVendorBalance' executed in 0.000807 seconds Jan 29 12:24:03: Processing originate/VoIP call leg Jan 29 12:24:03: Skipping Start accounting Jan 29 12:24:03: There are no unsaved CDRs for this call left Jan 29 12:24:03: Call '364CD29D 18D578ED 40F8117E 1A7957C4/1' deleted from the cache Jan 29 12:24:03: Call 364CD29D 18D578ED 40F8117E 1A7957C4/1 removed --CALL REQUEST-- Jan 29 12:24:41: 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 = '20:21:45 GMT Fri Jan 29 2010' h323-connect-time = '20:21:55 GMT Fri Jan 29 2010' h323-disconnect-time = '20:23:41 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '364CD29D 18D578ED 40F8117E 1A7957C4' call-id = '94.23.225.212-1264796504.24' Acct-Session-Time = '106' session-protocol = 'sipv2' h323-remote-address = '91.121.19.149' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:24:41: h323-conf-id=364CD29D 18D578ED 40F8117E 1A7957C4/1, call-id=94.23.225.212-1264796504.24/1 Jan 29 12:24:41: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 12:24:41: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:24:41: SQL query 'GetActiveLegIdByAcct' executed in 0.001559 seconds Jan 29 12:24:41: User-Name needs correction. Postponing. Jan 29 12:24:41: Accounting response Jan 29 12:24:41: ...Done Accounting/Stop/originate/VoIP in 0.006098 seconds, 0.001559 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:24:41: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.242.200' User-Name = '41215500329' Called-Station-Id = '+41216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Stop' h323-call-origin = 'originate' h323-call-type = 'VoIP' h323-setup-time = '20:21:44 GMT Fri Jan 29 2010' h323-connect-time = '20:21:55 GMT Fri Jan 29 2010' h323-disconnect-time = '20:23:41 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '364CD29D 18D578ED 40F8117E 1A7957C4' call-id = '94.23.242.200-1264796504.136' Acct-Session-Time = '106' session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:24:41: h323-conf-id=364CD29D 18D578ED 40F8117E 1A7957C4/1, call-id=94.23.242.200-1264796504.136/1 Jan 29 12:24:41: Found a call in cache with such id Jan 29 12:24:41: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:24:41: SQL query 'GetActiveLegIdByAcct' executed in 0.002172 seconds Jan 29 12:24:41: PrepareNexecute 'AccountAccounting' Jan 29 12:24:41: SQL query 'AccountAccounting' executed in 0.001905 seconds Jan 29 12:24:41: Found Account: 41215500329[58048,credit,balance=0.29000,limit=none] of customer Swiss offices[16165,balance=633.57000,limit=700.00000] Jan 29 12:24:41: End of the outgoing call for account, which appears as never logged-in Jan 29 12:24:41: Set lifetime with 15s to Fri Jan 29 12:24:56 2010 Jan 29 12:24:41: Looking up vendor/connection Jan 29 12:24:41: Trying to match connection for call Jan 29 12:24:41: Looking for a connection VoIP/originate Jan 29 12:24:41: Outgoing VoIP, matching by the remote IP address '94.23.225.212' (env 1) Jan 29 12:24:41: Call goes to our trusted node astrad.switzernet.com, on net leg Jan 29 12:24:41: Connection to vendor not found Jan 29 12:24:41: No connection to vendor - on-net call leg Jan 29 12:24:41: Copying randomization seed '47443' into request's PortaBilling_Seed attribute Jan 29 12:24:41: Copied account: 41215500329[58048,credit,balance=0.29000,limit=none] of customer Swiss offices[16165,balance=633.57000,limit=700.00000] into cached request, early attemt to charge ... Jan 29 12:24:41: Looking up vendor/connection Jan 29 12:24:41: Trying to match connection for call Jan 29 12:24:41: Looking for a connection VoIP/originate Jan 29 12:24:41: Outgoing VoIP, matching by the remote IP address '91.121.19.149' (env 1) Jan 29 12:24:41: Call goes to our trusted node fr2.youroute.net, on net leg Jan 29 12:24:41: Connection to vendor not found Jan 29 12:24:41: Accounting response Jan 29 12:24:41: ...Done Accounting/Stop/originate/VoIP in 0.012348 seconds, 0.004077 spent in SQL queries. --REQUEST CALL-- Jan 29 12:25:05: Removing call 364CD29D 18D578ED 40F8117E 1A7957C4/1 Jan 29 12:25:05: No logged in accounts, call lifetime reduced to 15 Jan 29 12:25:05: Cleaning up the call Jan 29 12:25:05: Usernames in all accounting requests are ok Jan 29 12:25:05: Processing originate/VoIP call leg Jan 29 12:25:05: Processing originate/VoIP call leg Jan 29 12:25:05: Found not billed accounting request with the duration more than zero - bill it now Jan 29 12:25:05: Charging call ... Jan 29 12:25:05: Vendor is undefined (on-net call?), call is not billed Jan 29 12:25:05: No outgoing connections to vendor, on-net call Jan 29 12:25:05: Updating account usage of '41215500329' with 'Fri Jan 29 12:25:05 2010' Jan 29 12:25:05: PrepareNexecute 'UpdateAccountUsage' Jan 29 12:25:05: SQL query 'UpdateAccountUsage' executed in 0.000856 seconds Jan 29 12:25:05: Inserting on-net CDR for this call Jan 29 12:25:05: Inserting CDR Jan 29 12:25:05: PrepareNexecute 'InsertOnNetCDR' Jan 29 12:25:05: SQL query 'InsertOnNetCDR' executed in 0.001415 seconds Jan 29 12:25:05: PrepareNexecute 'MailAlarm' Jan 29 12:25:05: SQL query 'MailAlarm' executed in 0.000242 seconds Jan 29 12:25:05: There are no recepients of mail alarms with type 'MIS_GENERAL' Jan 29 12:25:05: Call '364CD29D 18D578ED 40F8117E 1A7957C4/1' deleted from the cache Jan 29 12:25:05: Call 364CD29D 18D578ED 40F8117E 1A7957C4/1 removed --CALL REQUEST-- Jan 29 12:25:41: 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 = '20:21:44 GMT Fri Jan 29 2010' h323-connect-time = '20:21:55 GMT Fri Jan 29 2010' h323-disconnect-time = '20:23:41 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '364CD29D 18D578ED 40F8117E 1A7957C4' call-id = '94.23.225.212-1264796504.24' Acct-Session-Time = '106' session-protocol = 'sipv2' h323-remote-address = '94.23.242.200' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:25:41: h323-conf-id=364CD29D 18D578ED 40F8117E 1A7957C4/1, call-id=94.23.225.212-1264796504.24/1 Jan 29 12:25:41: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 12:25:41: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:25:41: SQL query 'GetActiveLegIdByAcct' executed in 0.001573 seconds Jan 29 12:25:41: User-Name needs correction. Postponing. Jan 29 12:25:41: Accounting response Jan 29 12:25:41: ...Done Accounting/Stop/answer/VoIP in 0.005901 seconds, 0.001573 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:25:41: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.242.200' User-Name = '41215500329' Called-Station-Id = '0216912818' Calling-Station-Id = '41215500329' Acct-Status-Type = 'Stop' h323-call-origin = 'answer' h323-call-type = 'VoIP' h323-setup-time = '20:21:44 GMT Fri Jan 29 2010' h323-connect-time = '20:21:55 GMT Fri Jan 29 2010' h323-disconnect-time = '20:23:41 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '364CD29D 18D578ED 40F8117E 1A7957C4' call-id = '94.23.242.200-1264796504.136' Acct-Session-Time = '106' session-protocol = 'sipv2' h323-remote-address = '94.23.242.200' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:25:41: h323-conf-id=364CD29D 18D578ED 40F8117E 1A7957C4/1, call-id=94.23.242.200-1264796504.136/1 Jan 29 12:25:41: Found a call in cache with such id Jan 29 12:25:41: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:25:41: SQL query 'GetActiveLegIdByAcct' executed in 0.001877 seconds Jan 29 12:25:41: End of call on incoming call leg from access NAS Jan 29 12:25:41: No logged in accounts, call lifetime reduced to 15 Jan 29 12:25:41: Set lifetime with 15s to Fri Jan 29 12:25:56 2010 Jan 29 12:25:41: Looking up vendor/connection Jan 29 12:25:41: Trying to match connection for call Jan 29 12:25:41: Looking for a connection VoIP/answer Jan 29 12:25:41: VoIP, matching by the node IP '94.23.242.200' and User-Name '41215500329' Jan 29 12:25:41: No VoIP from vendor connections were found Jan 29 12:25:41: Connection to vendor not found Jan 29 12:25:41: No connection from vendor Jan 29 12:25:41: Accounting response Jan 29 12:25:41: ...Done Accounting/Stop/answer/VoIP in 0.006853 seconds, 0.001877 spent in SQL queries. --REQUEST CALL-- Jan 29 12:26:07: Removing call 364CD29D 18D578ED 40F8117E 1A7957C4/1 Jan 29 12:26:07: No logged in accounts, call lifetime reduced to 15 Jan 29 12:26:07: Cleaning up the call Jan 29 12:26:07: No originate call legs to replace username on, probably junk incoming call Jan 29 12:26:07: Processing answer/VoIP call leg Jan 29 12:26:07: Found not billed accounting request with the duration more than zero - bill it now Jan 29 12:26:07: Looking up vendor/connection Jan 29 12:26:07: Trying to match connection for call Jan 29 12:26:07: Looking for a connection VoIP/answer Jan 29 12:26:07: VoIP, matching by the node IP '94.23.225.212' and User-Name '94.23.242.200' Jan 29 12:26:07: No VoIP from vendor connections were found Jan 29 12:26:07: Connection to vendor not found Jan 29 12:26:07: Charging call ... Jan 29 12:26:07: This is incoming call, bill only vendor Jan 29 12:26:07: Vendor is undefined (on-net call?), call is not billed Jan 29 12:26:07: Processing answer/VoIP call leg Jan 29 12:26:07: No outgoing connections to vendor, on-net call Jan 29 12:26:07: No originate call legs, junk incoming call Jan 29 12:26:07: Call '364CD29D 18D578ED 40F8117E 1A7957C4/1' deleted from the cache Jan 29 12:26:07: Call 364CD29D 18D578ED 40F8117E 1A7957C4/1 removed --CALL