Current-time: Jan 29 12:40:32 PST (UTC -0800) H323-conf-id: 51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6 SIP Call-ID: 94.23.242.200-1264797571.140 SIP Call-ID: 3515928926b06bd24f73a8790eb7943b@94.23.225.212 Requests: 9 REQUEST-- Jan 29 12:39:32: 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 = '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6' call-id = '3515928926b06bd24f73a8790eb7943b@94.23.225.212' Password = 'cisco' 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:919729858' NAS-Port = '5060' Jan 29 12:39:32: h323-conf-id=51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1, call-id=3515928926b06bd24f73a8790eb7943b@94.23.225.212/1 Jan 29 12:39:32: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 12:39:32: Authorization of the trusted node Jan 29 12:39:32: IP based authorization, force 'plaintext' password verification Jan 29 12:39:32: Verification of password using method 'plaintext': success Jan 29 12:39:32: '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:39:32: PrepareNexecute 'AccountAuth' Jan 29 12:39:32: SQL query 'AccountAuth' executed in 0.002633 seconds Jan 29 12:39:32: CLD '41216912818' is an off-net number Jan 29 12:39:32: Remote termination 'PortaSIP': Calculating routing for 41216912818 Jan 29 12:39:32: Falling back to default routing since no routing plan information is available Jan 29 12:39:32: RTP Proxy with origination preference '', Calling party NOT behind NAT. Jan 29 12:39:32: Looking up routes to '41216912818' using '' routing plan Jan 29 12:39:32: PrepareNexecute 'GetRoutingPerDestination*' Jan 29 12:39:32: SQL query 'GetRoutingPerDestination*' executed in 0.005979 seconds Jan 29 12:39:32: Checked 2010-01-29 21:39:32 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:39:32: Start of call is peak level 1 Jan 29 12:39:32: Using peak rate, since no off-peak is defined Jan 29 12:39:32: Checked 2010-01-29 21:39:32 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:39:32: Start of call is peak level 1 Jan 29 12:39:32: Checked 2010-01-29 21:39:32 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:39:32: Start of call is peak level 1 Jan 29 12:39:32: Using peak rate, since no off-peak is defined Jan 29 12:39:32: Using peak rate, since no off-peak is defined Jan 29 12:39:32: Using peak rate, since no off-peak is defined Jan 29 12:39:32: Checked 2010-01-29 21:39:32 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:39:32: Start of call is peak level 1 Jan 29 12:39:32: Using peak rate, since no off-peak is defined Jan 29 12:39:32: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:39:32: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 12:39:32: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:39:32: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 12:39:32: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:39:32: Translation 's/^(\d)/00$1/;' applied: '41216912818' -> '0041216912818' Jan 29 12:39:32: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:39:32: Translation 's/^(\d)/\+$1/' applied: '41216912818' -> '+41216912818' Jan 29 12:39:32: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:39:32: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 12:39:32: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:39:32: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 12:39:32: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:39:32: Translation 's/^(\d)/00$1/;' applied: '41215500329' -> '0041215500329' Jan 29 12:39:32: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:39:32: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 12:39:32: Result routes to destination '41216912818': +41216912818@212.249.15.3, prio = 10, cost = 0.00654, off-peak, 'OpenSER 3' - to remote GW +41216912818@212.249.15.9, prio = 10, cost = 0.00654, off-peak, 'OpenSER 9' - 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:39:32: 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 12:39:32: ...Done Authorize/INVITE in 0.030976 seconds, 0.008612 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:39:37: 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:39:32.330 GMT Fri Jan 29 2010' h323-connect-time = '20:39:37.205 GMT Fri Jan 29 2010' h323-conf-id = '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6' call-id = '3515928926b06bd24f73a8790eb7943b@94.23.225.212' Acct-Session-Id = '3515928926b06bd24f73a8790eb7943b@94.23.225.212' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '212.249.15.3' h323-ivr-out = 'DURATION:7200' h323-ivr-out = 'PortaBilling_Auth_CLD:41216912818' h323-ivr-out = 'PortaBilling_Seed:919729858' alert-timepoint = '20:39:33.579 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:39:37: h323-conf-id=51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1, call-id=3515928926b06bd24f73a8790eb7943b@94.23.225.212/1 Jan 29 12:39:37: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 12:39:37: Fixing time with duration 0 seconds from connect time Jan 29 12:39:37: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:39:37: SQL query 'GetActiveLegIdByAcct' executed in 0.037434 seconds Jan 29 12:39:37: '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:39:37: Looking up vendor/connection Jan 29 12:39:37: Trying to match connection for call Jan 29 12:39:37: Looking for a connection VoIP/originate Jan 29 12:39:37: Outgoing VoIP, matching by the remote IP address '212.249.15.3' (env 1) Jan 29 12:39:37: Found connection 205 'OpenSER 3' to vendor 'Verizon' Jan 29 12:39:37: Found vendor/connection Jan 29 12:39:37: PrepareNexecute 'InsertActiveLeg' Jan 29 12:39:37: SQL query 'InsertActiveLeg' executed in 0.001392 seconds Jan 29 12:39:37: Accounting response Jan 29 12:39:37: ...Done Accounting/Start/originate/VoIP in 0.046002 seconds, 0.038826 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:39:37: 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:39:32.166 GMT Fri Jan 29 2010' h323-connect-time = '20:39:37.207 GMT Fri Jan 29 2010' h323-conf-id = '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6' call-id = '3515928926b06bd24f73a8790eb7943b@94.23.225.212' Acct-Session-Id = '3515928926b06bd24f73a8790eb7943b@94.23.225.212' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' h323-ivr-out = 'PortaBilling_Seed:919729858' alert-timepoint = '20:39:37.207 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:39:37: h323-conf-id=51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1, call-id=3515928926b06bd24f73a8790eb7943b@94.23.225.212/1 Jan 29 12:39:37: Found a call in cache with such id Jan 29 12:39:37: Fixing time with duration 0 seconds from connect time Jan 29 12:39:37: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:39:37: SQL query 'GetActiveLegIdByAcct' executed in 0.007558 seconds Jan 29 12:39:37: '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:39:37: Looking up vendor/connection Jan 29 12:39:37: Trying to match connection for call Jan 29 12:39:37: Looking for a connection VoIP/answer Jan 29 12:39:37: VoIP, matching by the node IP '91.121.19.149' and User-Name '94.23.225.212' Jan 29 12:39:37: No VoIP from vendor connections were found Jan 29 12:39:37: Connection to vendor not found Jan 29 12:39:37: PrepareNexecute 'InsertActiveLeg' Jan 29 12:39:37: SQL query 'InsertActiveLeg' executed in 0.001647 seconds Jan 29 12:39:37: Accounting response Jan 29 12:39:37: ...Done Accounting/Start/answer/VoIP in 0.015024 seconds, 0.009205 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:39:37: 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 = 'Start' h323-call-origin = 'originate' h323-call-type = 'VoIP' h323-setup-time = '20:39:31 GMT Fri Jan 29 2010' h323-conf-id = '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6' call-id = '94.23.242.200-1264797571.140' session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:39:37: fixup: Using value '20:39:31 GMT Fri Jan 29 2010' to supply missing h323-connect-time attribute in Start accounting Jan 29 12:39:37: h323-conf-id=51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1, call-id=94.23.242.200-1264797571.140/1 Jan 29 12:39:37: Found a call in cache with such id Jan 29 12:39:37: Fixing time with duration 0 seconds from connect time Jan 29 12:39:37: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:39:37: SQL query 'GetActiveLegIdByAcct' executed in 0.008778 seconds Jan 29 12:39:37: PrepareNexecute 'AccountAccounting' Jan 29 12:39:37: SQL query 'AccountAccounting' executed in 0.048828 seconds Jan 29 12:39:37: Found Account: 41215500329[58048,credit,balance=0.29000,limit=none] of customer Swiss offices[16165,balance=633.57000,limit=700.00000] Jan 29 12:39:37: Looking up vendor/connection Jan 29 12:39:37: Trying to match connection for call Jan 29 12:39:37: Looking for a connection VoIP/originate Jan 29 12:39:37: Outgoing VoIP, matching by the remote IP address '94.23.225.212' (env 1) Jan 29 12:39:37: Call goes to our trusted node astrad.switzernet.com, on net leg Jan 29 12:39:37: Connection to vendor not found Jan 29 12:39:37: PrepareNexecute 'InsertActiveLeg' Jan 29 12:39:37: SQL query 'InsertActiveLeg' executed in 0.001628 seconds Jan 29 12:39:37: Accounting response Jan 29 12:39:37: ...Done Accounting/Start/originate/VoIP in 0.067197 seconds, 0.059234 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:39:37: 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 = 'Start' h323-call-origin = 'answer' h323-call-type = 'VoIP' h323-setup-time = '20:39:31 GMT Fri Jan 29 2010' h323-conf-id = '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6' call-id = '94.23.242.200-1264797571.140' session-protocol = 'sipv2' h323-remote-address = '94.23.242.200' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:39:37: fixup: Using value '20:39:31 GMT Fri Jan 29 2010' to supply missing h323-connect-time attribute in Start accounting Jan 29 12:39:37: h323-conf-id=51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1, call-id=94.23.242.200-1264797571.140/1 Jan 29 12:39:37: Found a call in cache with such id Jan 29 12:39:37: Fixing time with duration 0 seconds from connect time Jan 29 12:39:37: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:39:37: SQL query 'GetActiveLegIdByAcct' executed in 0.003959 seconds Jan 29 12:39:37: PrepareNexecute 'AccountAccounting' Jan 29 12:39:37: SQL query 'AccountAccounting' executed in 0.002486 seconds Jan 29 12:39:37: Found Account: 41215500329[58048,credit,balance=0.29000,limit=none] of customer Swiss offices[16165,balance=633.57000,limit=700.00000] Jan 29 12:39:37: Looking up vendor/connection Jan 29 12:39:37: Trying to match connection for call Jan 29 12:39:37: Looking for a connection VoIP/answer Jan 29 12:39:37: VoIP, matching by the node IP '94.23.242.200' and User-Name '41215500329' Jan 29 12:39:37: No VoIP from vendor connections were found Jan 29 12:39:37: Connection to vendor not found Jan 29 12:39:37: PrepareNexecute 'InsertActiveLeg' Jan 29 12:39:37: SQL query 'InsertActiveLeg' executed in 0.000942 seconds Jan 29 12:39:37: Accounting response Jan 29 12:39:37: ...Done Accounting/Start/answer/VoIP in 0.015323 seconds, 0.007387 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:40:00: 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:39:32.330 GMT Fri Jan 29 2010' h323-connect-time = '20:39:36.330 GMT Fri Jan 29 2010' h323-disconnect-time = '20:39:59.330 GMT Fri Jan 29 2010' h323-disconnect-cause = '0' h323-voice-quality = '0' h323-conf-id = '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6' call-id = '3515928926b06bd24f73a8790eb7943b@94.23.225.212' Acct-Session-Id = '3515928926b06bd24f73a8790eb7943b@94.23.225.212' Acct-Session-Time = '23' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '212.249.15.3' h323-ivr-out = 'DURATION:7200' h323-ivr-out = 'PortaBilling_Auth_CLD:41216912818' h323-ivr-out = 'PortaBilling_Seed:919729858' Acct-Terminate-Cause = 'User-Request' alert-timepoint = '20:39:33.579 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:40:00: h323-conf-id=51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1, call-id=3515928926b06bd24f73a8790eb7943b@94.23.225.212/1 Jan 29 12:40:00: Found a call in cache with such id Jan 29 12:40:00: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:40:00: SQL query 'GetActiveLegIdByAcct' executed in 0.001929 seconds Jan 29 12:40:00: PrepareNexecute 'DeleteActiveLeg' Jan 29 12:40:00: SQL query 'DeleteActiveLeg' executed in 0.000848 seconds Jan 29 12:40:00: User-Name needs correction. Postponing. Jan 29 12:40:00: Accounting response Jan 29 12:40:00: ...Done Accounting/Stop/originate/VoIP in 0.008795 seconds, 0.002777 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:40:00: 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:39:32.166 GMT Fri Jan 29 2010' h323-connect-time = '20:39:37.166 GMT Fri Jan 29 2010' h323-disconnect-time = '20:40:00.166 GMT Fri Jan 29 2010' h323-disconnect-cause = '0' h323-voice-quality = '0' h323-conf-id = '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6' call-id = '3515928926b06bd24f73a8790eb7943b@94.23.225.212' Acct-Session-Id = '3515928926b06bd24f73a8790eb7943b@94.23.225.212' Acct-Session-Time = '23' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' h323-ivr-out = 'PortaBilling_Seed:919729858' Acct-Terminate-Cause = 'User-Request' h323-ivr-out = 'PortaBilling_Session:unlock' alert-timepoint = '20:39:37.207 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:40:00: h323-conf-id=51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1, call-id=3515928926b06bd24f73a8790eb7943b@94.23.225.212/1 Jan 29 12:40:00: Found a call in cache with such id Jan 29 12:40:00: Copying randomization seed '919729858' into request's PortaBilling_Seed attribute Jan 29 12:40:00: Copying originator authorized CLD '41216912818' into current request Jan 29 12:40:00: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:40:00: SQL query 'GetActiveLegIdByAcct' executed in 0.001665 seconds Jan 29 12:40:00: PrepareNexecute 'DeleteActiveLeg' Jan 29 12:40:00: SQL query 'DeleteActiveLeg' executed in 0.001107 seconds Jan 29 12:40:00: User-Name needs correction. Postponing. Jan 29 12:40:00: Accounting response Jan 29 12:40:00: ...Done Accounting/Stop/answer/VoIP in 0.009356 seconds, 0.002772 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:40:00: 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:39:31 GMT Fri Jan 29 2010' h323-connect-time = '20:39:37 GMT Fri Jan 29 2010' h323-disconnect-time = '20:40:00 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6' call-id = '94.23.242.200-1264797571.140' Acct-Session-Time = '23' session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:40:00: h323-conf-id=51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1, call-id=94.23.242.200-1264797571.140/1 Jan 29 12:40:00: Found a call in cache with such id Jan 29 12:40:00: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:40:00: SQL query 'GetActiveLegIdByAcct' executed in 0.001635 seconds Jan 29 12:40:00: PrepareNexecute 'DeleteActiveLeg' Jan 29 12:40:00: SQL query 'DeleteActiveLeg' executed in 0.000936 seconds Jan 29 12:40:00: PrepareNexecute 'AccountAccounting' Jan 29 12:40:00: SQL query 'AccountAccounting' executed in 0.002235 seconds Jan 29 12:40:00: Found Account: 41215500329[58048,credit,balance=0.29000,limit=none] of customer Swiss offices[16165,balance=633.57000,limit=700.00000] Jan 29 12:40:00: End of the outgoing call for account, which appears as never logged-in Jan 29 12:40:00: Set lifetime with 15s to Fri Jan 29 12:40:15 2010 Jan 29 12:40:00: Looking up vendor/connection Jan 29 12:40:00: Trying to match connection for call Jan 29 12:40:00: Looking for a connection VoIP/originate Jan 29 12:40:00: Outgoing VoIP, matching by the remote IP address '94.23.225.212' (env 1) Jan 29 12:40:00: Call goes to our trusted node astrad.switzernet.com, on net leg Jan 29 12:40:00: Connection to vendor not found Jan 29 12:40:00: No connection to vendor - on-net call leg Jan 29 12:40:00: Copying randomization seed '14694' into request's PortaBilling_Seed attribute Jan 29 12:40:00: 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:40:00: Looking up vendor/connection Jan 29 12:40:00: Trying to match connection for call Jan 29 12:40:00: Looking for a connection VoIP/originate Jan 29 12:40:00: Outgoing VoIP, matching by the remote IP address '212.249.15.3' (env 1) Jan 29 12:40:00: Found connection 205 'OpenSER 3' to vendor 'Verizon' Jan 29 12:40:00: Found vendor/connection Jan 29 12:40:00: Applying connection translation rule on CLD ... Jan 29 12:40:00: Translation 's/^\+//;' applied: '+41216912818' -> '41216912818' Jan 29 12:40:00: Charging call ... Jan 29 12:40:00: Setting up a new charge with tariff 'business' ... Jan 29 12:40:00: Using peak rate, since no off-peak is defined Jan 29 12:40:00: PrepareNexecute 'GetPricePerDestination*' Jan 29 12:40:00: SQL query 'GetPricePerDestination*' executed in 0.001755 seconds Jan 29 12:40:00: Calculating account's charge by tariff 'business' Jan 29 12:40:00: Call to '41216912818' with duration 23 seconds will be charged for 23 seconds and cost is 0.01 (1x1x0.02+22x1x0.02^2) by rate 2487323 using 919770490 as seed Jan 29 12:40:00: Setting up a new charge with tariff 'verizon-PRE' ... Jan 29 12:40:00: Checked 2010-01-29 21:39:36 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:40:00: Checked 2010-01-29 21:39:59 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:40:00: Start of call is peak level 1 Jan 29 12:40:00: End of call is peak level 1 Jan 29 12:40:00: PrepareNexecute 'GetPricePerDestination*' Jan 29 12:40:00: SQL query 'GetPricePerDestination*' executed in 0.002095 seconds Jan 29 12:40:00: Calculating vendor's charge by tariff 'verizon-PRE' Jan 29 12:40:00: Call to '41216912818' with duration 23 seconds will be charged for 23 seconds and cost is 0.00705 (1x1x0.2709+22x1x0.0069) by rate 3530937 using 919770490 as seed Jan 29 12:40:00: Charging account for the call Jan 29 12:40:00: Inserting CDR Jan 29 12:40:00: PrepareNexecute 'InsertAccountCDR' Jan 29 12:40:00: SQL query 'InsertAccountCDR' executed in 0.001148 seconds Jan 29 12:40:00: Charging credit account 41215500329 0.01 Jan 29 12:40:00: PrepareNexecute 'UpdateAccountBalance' Jan 29 12:40:00: SQL query 'UpdateAccountBalance' executed in 0.001337 seconds Jan 29 12:40:00: Charging account's owner for the call Jan 29 12:40:00: Charging customer 16165 'Swiss offices' 0.01 Jan 29 12:40:00: PrepareNexecute 'UpdateCustomerBalance' Jan 29 12:40:00: SQL query 'UpdateCustomerBalance' executed in 0.00094 seconds Jan 29 12:40:00: Charging vendor for the call Jan 29 12:40:00: Charging vendor 55 'Verizon' 0.00705 Jan 29 12:40:00: Inserting CDR Jan 29 12:40:00: PrepareNexecute 'InsertVendorCDR' Jan 29 12:40:00: SQL query 'InsertVendorCDR' executed in 0.001045 seconds Jan 29 12:40:00: PrepareNexecute 'UpdateVendorBalance' Jan 29 12:40:00: SQL query 'UpdateVendorBalance' executed in 0.00088 seconds Jan 29 12:40:00: Accounting response Jan 29 12:40:00: ...Done Accounting/Stop/originate/VoIP in 0.058226 seconds, 0.014006 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:40:01: 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:39:31 GMT Fri Jan 29 2010' h323-connect-time = '20:39:37 GMT Fri Jan 29 2010' h323-disconnect-time = '20:40:00 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6' call-id = '94.23.242.200-1264797571.140' Acct-Session-Time = '23' session-protocol = 'sipv2' h323-remote-address = '94.23.242.200' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:40:01: h323-conf-id=51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1, call-id=94.23.242.200-1264797571.140/1 Jan 29 12:40:01: Found a call in cache with such id Jan 29 12:40:01: Copied account: 41215500329[58048,credit,balance=0.3,limit=none] of customer Swiss offices[16165,balance=633.58,limit=700.00000] from '91.121.19.149' into the current request Jan 29 12:40:01: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:40:01: SQL query 'GetActiveLegIdByAcct' executed in 0.001809 seconds Jan 29 12:40:01: PrepareNexecute 'DeleteActiveLeg' Jan 29 12:40:01: SQL query 'DeleteActiveLeg' executed in 0.000832 seconds Jan 29 12:40:01: End of call on incoming call leg from access NAS Jan 29 12:40:01: No logged in accounts, call lifetime reduced to 15 Jan 29 12:40:01: Set lifetime with 15s to Fri Jan 29 12:40:16 2010 Jan 29 12:40:01: Looking up vendor/connection Jan 29 12:40:01: Trying to match connection for call Jan 29 12:40:01: Looking for a connection VoIP/answer Jan 29 12:40:01: VoIP, matching by the node IP '94.23.242.200' and User-Name '41215500329' Jan 29 12:40:01: No VoIP from vendor connections were found Jan 29 12:40:01: Connection to vendor not found Jan 29 12:40:01: No connection from vendor Jan 29 12:40:01: Accounting response Jan 29 12:40:01: ...Done Accounting/Stop/answer/VoIP in 0.010182 seconds, 0.002641 spent in SQL queries. --REQUEST CALL-- Jan 29 12:40:37: Removing call 51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1 Jan 29 12:40:37: No logged in accounts, call lifetime reduced to 15 Jan 29 12:40:37: Cleaning up the call Jan 29 12:40:37: Found more than one potential candidate to restore username: 51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6 originate/VoIP: 41215500329 51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6 originate/VoIP: 41215500329 51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6 originate/VoIP: 41215500329 Jan 29 12:40:37: Attempt to fix usernames for 3 requests Jan 29 12:40:37: Changing '94.23.225.212' -> '41215500329' Jan 29 12:40:37: Copying randomization seed '919729858' into request's PortaBilling_Seed attribute Jan 29 12:40:37: Copying originator authorized CLD '41216912818' into current request Jan 29 12:40:37: Copied account: 41215500329[58048,credit,balance=0.3,limit=none] of customer Swiss offices[16165,balance=633.58,limit=700.00000] into the fixed request Jan 29 12:40:37: Changing '94.23.225.212' -> '41215500329' Jan 29 12:40:37: Copying randomization seed '919729858' into request's PortaBilling_Seed attribute Jan 29 12:40:37: Copying originator authorized CLD '41216912818' into current request Jan 29 12:40:37: Copied account: 41215500329[58048,credit,balance=0.3,limit=none] of customer Swiss offices[16165,balance=633.58,limit=700.00000] into the fixed request Jan 29 12:40:37: Changing '94.23.225.212' -> '41215500329' Jan 29 12:40:37: Copying randomization seed '919729858' into request's PortaBilling_Seed attribute Jan 29 12:40:37: Copying originator authorized CLD '41216912818' into current request Jan 29 12:40:37: Copied account: 41215500329[58048,credit,balance=0.3,limit=none] of customer Swiss offices[16165,balance=633.58,limit=700.00000] into the fixed request Jan 29 12:40:37: Processing answer/VoIP call leg Jan 29 12:40:37: Found not billed accounting request with the duration more than zero - bill it now Jan 29 12:40:37: Looking up vendor/connection Jan 29 12:40:37: Trying to match connection for call Jan 29 12:40:37: Looking for a connection VoIP/answer Jan 29 12:40:37: VoIP, matching by the node IP '91.121.19.149' and User-Name '94.23.225.212' Jan 29 12:40:37: No VoIP from vendor connections were found Jan 29 12:40:37: Connection to vendor not found Jan 29 12:40:37: Charging call ... Jan 29 12:40:37: This is incoming call, bill only vendor Jan 29 12:40:37: Vendor is undefined (on-net call?), call is not billed Jan 29 12:40:37: Processing originate/VoIP call leg Jan 29 12:40:37: Skipping Start accounting Jan 29 12:40:37: Processing originate/VoIP call leg Jan 29 12:40:37: Processing answer/VoIP call leg Jan 29 12:40:37: Skipping Start accounting Jan 29 12:40:37: Processing originate/VoIP call leg Jan 29 12:40:37: Skipping Start accounting Jan 29 12:40:37: Processing answer/VoIP call leg Jan 29 12:40:37: Processing originate/VoIP call leg Jan 29 12:40:37: Processing answer/VoIP call leg Jan 29 12:40:37: Skipping Start accounting Jan 29 12:40:37: There are no unsaved CDRs for this call left Jan 29 12:40:37: Call '51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1' deleted from the cache Jan 29 12:40:37: Call 51E4D9C2 2AA779D4 4F4DA3A7 2201F5B6/1 removed --CALL