Current-time: Jan 29 12:06:48 PST (UTC -0800) H323-conf-id: 20E247A5 332966B0 20D484EC 17845B5E SIP Call-ID: 5ba10b793bd6e02b51963150761c3437@94.23.225.212 Requests: 5 REQUEST-- Jan 29 12:03:27: 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 = '20E247A5 332966B0 20D484EC 17845B5E' call-id = '5ba10b793bd6e02b51963150761c3437@94.23.225.212' Password = 'xxxxxxxx' 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:665661793' NAS-Port = '5060' Jan 29 12:03:27: h323-conf-id=20E247A5 332966B0 20D484EC 17845B5E/1, call-id=5ba10b793bd6e02b51963150761c3437@94.23.225.212/1 Jan 29 12:03:27: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 12:03:27: Authorization of the trusted node Jan 29 12:03:27: IP based authorization, force 'plaintext' password verification Jan 29 12:03:27: Verification of password using method 'plaintext': success Jan 29 12:03:27: '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:03:27: PrepareNexecute 'AccountAuth' Jan 29 12:03:27: SQL query 'AccountAuth' executed in 0.001425 seconds Jan 29 12:03:27: CLD '41216912818' is an off-net number Jan 29 12:03:27: Remote termination 'PortaSIP': Calculating routing for 41216912818 Jan 29 12:03:27: Falling back to default routing since no routing plan information is available Jan 29 12:03:27: RTP Proxy with origination preference '', Calling party NOT behind NAT. Jan 29 12:03:27: Looking up routes to '41216912818' using '' routing plan Jan 29 12:03:27: PrepareNexecute 'GetRoutingPerDestination*' Jan 29 12:03:27: SQL query 'GetRoutingPerDestination*' executed in 0.00702 seconds Jan 29 12:03:27: Checked 2010-01-29 21:03:27 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:03:27: Start of call is peak level 1 Jan 29 12:03:27: Using peak rate, since no off-peak is defined Jan 29 12:03:27: Checked 2010-01-29 21:03:27 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:03:27: Start of call is peak level 1 Jan 29 12:03:27: Checked 2010-01-29 21:03:27 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:03:27: Start of call is peak level 1 Jan 29 12:03:27: Using peak rate, since no off-peak is defined Jan 29 12:03:27: Using peak rate, since no off-peak is defined Jan 29 12:03:27: Using peak rate, since no off-peak is defined Jan 29 12:03:27: Checked 2010-01-29 21:03:27 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:03:27: Start of call is peak level 1 Jan 29 12:03:27: Using peak rate, since no off-peak is defined Jan 29 12:03:27: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:03:27: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 12:03:27: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:03:27: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 12:03:27: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:03:27: Translation 's/^(\d)/00$1/;' applied: '41216912818' -> '0041216912818' Jan 29 12:03:27: Applying route outgoing CLD translation on '41216912818' ... Jan 29 12:03:27: Translation 's/^(\d)/\+$1/' applied: '41216912818' -> '+41216912818' Jan 29 12:03:27: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:03:27: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 12:03:27: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:03:27: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 12:03:27: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:03:27: Translation 's/^(\d)/00$1/;' applied: '41215500329' -> '0041215500329' Jan 29 12:03:27: Applying route outgoing CLI translation on '41215500329' ... Jan 29 12:03:27: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 12:03:27: 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:03:27: 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:03:27: ...Done Authorize/INVITE in 0.033873 seconds, 0.008445 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:03: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' Acct-Status-Type = 'Start' h323-call-origin = 'originate' h323-call-type = 'VoIP' h323-setup-time = '20:03:27.671 GMT Fri Jan 29 2010' h323-connect-time = '20:03:32.906 GMT Fri Jan 29 2010' h323-conf-id = '20E247A5 332966B0 20D484EC 17845B5E' call-id = '5ba10b793bd6e02b51963150761c3437@94.23.225.212' Acct-Session-Id = '5ba10b793bd6e02b51963150761c3437@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:665661793' alert-timepoint = '20:03:28.866 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:03:32: h323-conf-id=20E247A5 332966B0 20D484EC 17845B5E/1, call-id=5ba10b793bd6e02b51963150761c3437@94.23.225.212/1 Jan 29 12:03:32: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 12:03:32: Fixing time with duration 0 seconds from connect time Jan 29 12:03:32: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:03:32: SQL query 'GetActiveLegIdByAcct' executed in 0.002307 seconds Jan 29 12:03: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:03:32: Looking up vendor/connection Jan 29 12:03:32: Trying to match connection for call Jan 29 12:03:32: Looking for a connection VoIP/originate Jan 29 12:03:32: Outgoing VoIP, matching by the remote IP address '212.249.15.9' (env 1) Jan 29 12:03:32: Found connection 217 'OpenSER 9' to vendor 'Verizon' Jan 29 12:03:32: Found vendor/connection Jan 29 12:03:32: PrepareNexecute 'InsertActiveLeg' Jan 29 12:03:33: SQL query 'InsertActiveLeg' executed in 0.000859000000000054 seconds Jan 29 12:03:33: Accounting response Jan 29 12:03:33: ...Done Accounting/Start/originate/VoIP in 0.011415 seconds, 0.003166 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:03:33: 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:03:27.670 GMT Fri Jan 29 2010' h323-connect-time = '20:03:32.908 GMT Fri Jan 29 2010' h323-conf-id = '20E247A5 332966B0 20D484EC 17845B5E' call-id = '5ba10b793bd6e02b51963150761c3437@94.23.225.212' Acct-Session-Id = '5ba10b793bd6e02b51963150761c3437@94.23.225.212' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' h323-ivr-out = 'PortaBilling_Seed:665661793' alert-timepoint = '20:03:32.908 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:03:33: h323-conf-id=20E247A5 332966B0 20D484EC 17845B5E/1, call-id=5ba10b793bd6e02b51963150761c3437@94.23.225.212/1 Jan 29 12:03:33: Found a call in cache with such id Jan 29 12:03:33: Fixing time with duration 0 seconds from connect time Jan 29 12:03:33: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:03:33: SQL query 'GetActiveLegIdByAcct' executed in 0.001911 seconds Jan 29 12:03:33: '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:03:33: Looking up vendor/connection Jan 29 12:03:33: Trying to match connection for call Jan 29 12:03:33: Looking for a connection VoIP/answer Jan 29 12:03:33: VoIP, matching by the node IP '91.121.19.149' and User-Name '94.23.225.212' Jan 29 12:03:33: No VoIP from vendor connections were found Jan 29 12:03:33: Connection to vendor not found Jan 29 12:03:33: PrepareNexecute 'InsertActiveLeg' Jan 29 12:03:33: SQL query 'InsertActiveLeg' executed in 0.000886 seconds Jan 29 12:03:33: Accounting response Jan 29 12:03:33: ...Done Accounting/Start/answer/VoIP in 0.009431 seconds, 0.002797 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:05:30: 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:03:27.671 GMT Fri Jan 29 2010' h323-connect-time = '20:03:32.671 GMT Fri Jan 29 2010' h323-disconnect-time = '20:05:29.671 GMT Fri Jan 29 2010' h323-disconnect-cause = '0' h323-voice-quality = '0' h323-conf-id = '20E247A5 332966B0 20D484EC 17845B5E' call-id = '5ba10b793bd6e02b51963150761c3437@94.23.225.212' Acct-Session-Id = '5ba10b793bd6e02b51963150761c3437@94.23.225.212' Acct-Session-Time = '117' 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:665661793' Acct-Terminate-Cause = 'User-Request' alert-timepoint = '20:03:28.866 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:05:30: h323-conf-id=20E247A5 332966B0 20D484EC 17845B5E/1, call-id=5ba10b793bd6e02b51963150761c3437@94.23.225.212/1 Jan 29 12:05:30: Found a call in cache with such id Jan 29 12:05:30: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:05:30: SQL query 'GetActiveLegIdByAcct' executed in 0.001477 seconds Jan 29 12:05:30: PrepareNexecute 'DeleteActiveLeg' Jan 29 12:05:30: SQL query 'DeleteActiveLeg' executed in 0.000977 seconds Jan 29 12:05:30: User-Name needs correction. Postponing. Jan 29 12:05:30: Accounting response Jan 29 12:05:30: ...Done Accounting/Stop/originate/VoIP in 0.010531 seconds, 0.002454 spent in SQL queries. --REQUEST REQUEST-- Jan 29 12:05:30: 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:03:27.670 GMT Fri Jan 29 2010' h323-connect-time = '20:03:32.670 GMT Fri Jan 29 2010' h323-disconnect-time = '20:05:29.670 GMT Fri Jan 29 2010' h323-disconnect-cause = '0' h323-voice-quality = '0' h323-conf-id = '20E247A5 332966B0 20D484EC 17845B5E' call-id = '5ba10b793bd6e02b51963150761c3437@94.23.225.212' Acct-Session-Id = '5ba10b793bd6e02b51963150761c3437@94.23.225.212' Acct-Session-Time = '117' Acct-Delay-Time = '0' h323-session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' h323-ivr-out = 'PortaBilling_Seed:665661793' Acct-Terminate-Cause = 'User-Request' h323-ivr-out = 'PortaBilling_Session:unlock' alert-timepoint = '20:03:32.908 GMT Fri Jan 29 2010' NAS-Port = '5060' Exec-Program-Log = 'porta-billing.pl' Jan 29 12:05:30: h323-conf-id=20E247A5 332966B0 20D484EC 17845B5E/1, call-id=5ba10b793bd6e02b51963150761c3437@94.23.225.212/1 Jan 29 12:05:30: Found a call in cache with such id Jan 29 12:05:30: Copying randomization seed '665661793' into request's PortaBilling_Seed attribute Jan 29 12:05:30: Copying originator authorized CLD '41216912818' into current request Jan 29 12:05:30: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 12:05:30: SQL query 'GetActiveLegIdByAcct' executed in 0.001997 seconds Jan 29 12:05:30: PrepareNexecute 'DeleteActiveLeg' Jan 29 12:05:30: SQL query 'DeleteActiveLeg' executed in 0.000807 seconds Jan 29 12:05:30: User-Name needs correction. Postponing. Jan 29 12:05:30: Accounting response Jan 29 12:05:30: ...Done Accounting/Stop/answer/VoIP in 0.012090 seconds, 0.002804 spent in SQL queries. --REQUEST CALL-- Jan 29 12:05:58: Removing call 20E247A5 332966B0 20D484EC 17845B5E/1 Jan 29 12:05:58: No logged in accounts, call lifetime reduced to 15 Jan 29 12:05:58: Cleaning up the call Jan 29 12:05:58: No request from trusted node to recover username Jan 29 12:05:58: PrepareNexecute 'GetEnvMail' Jan 29 12:05:58: SQL query 'GetEnvMail' executed in 0.000449 seconds Jan 29 12:05:58: PrepareNexecute 'MailAlarm' Jan 29 12:05:58: SQL query 'MailAlarm' executed in 0.000595 seconds Jan 29 12:05:58: There are no recepients of mail alarms with type 'UNKN' Jan 29 12:05:58: Processing answer/VoIP call leg Jan 29 12:05:58: Found not billed accounting request with the duration more than zero - bill it now Jan 29 12:05:58: Looking up vendor/connection Jan 29 12:05:58: Trying to match connection for call Jan 29 12:05:58: Looking for a connection VoIP/answer Jan 29 12:05:58: VoIP, matching by the node IP '91.121.19.149' and User-Name '94.23.225.212' Jan 29 12:05:58: No VoIP from vendor connections were found Jan 29 12:05:58: Connection to vendor not found Jan 29 12:05:58: Charging call ... Jan 29 12:05:58: This is incoming call, bill only vendor Jan 29 12:05:58: Vendor is undefined (on-net call?), call is not billed Jan 29 12:05:58: Processing originate/VoIP call leg Jan 29 12:05:58: Skipping Start accounting Jan 29 12:05:58: Processing answer/VoIP call leg Jan 29 12:05:58: Skipping Start accounting Jan 29 12:05:58: Processing originate/VoIP call leg Jan 29 12:05:58: Found not billed accounting request with the duration more than zero - bill it now Jan 29 12:05:58: Looking up vendor/connection Jan 29 12:05:58: Trying to match connection for call Jan 29 12:05:58: Looking for a connection VoIP/originate Jan 29 12:05:58: Outgoing VoIP, matching by the remote IP address '212.249.15.9' (env 1) Jan 29 12:05:58: Found connection 217 'OpenSER 9' to vendor 'Verizon' Jan 29 12:05:58: Found vendor/connection Jan 29 12:05:58: Applying connection translation rule on CLD ... Jan 29 12:05:58: Translation 's/^\+//;' applied: '+41216912818' -> '41216912818' Jan 29 12:05:58: Charging call ... Jan 29 12:05:58: '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:05:58: Setting up a new charge with tariff 'verizon-PRE' ... Jan 29 12:05:58: Checked 2010-01-29 21:03: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:05:58: Checked 2010-01-29 21:05:29 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:05:58: Start of call is peak level 1 Jan 29 12:05:58: End of call is peak level 1 Jan 29 12:05:58: PrepareNexecute 'GetPricePerDestination*' Jan 29 12:05:58: SQL query 'GetPricePerDestination*' executed in 0.001677 seconds Jan 29 12:05:58: Calculating vendor's charge by tariff 'verizon-PRE' Jan 29 12:05:58: Call to '41216912818' with duration 117 seconds will be charged for 117 seconds and cost is 0.01786 (1x1x0.2709+116x1x0.0069) by rate 3530937 using 665702425 as seed Jan 29 12:05:58: Attempt to charge call with unknown Account, Customer Jan 29 12:05:58: Charging vendor for the call Jan 29 12:05:58: Charging vendor 55 'Verizon' 0.01786 Jan 29 12:05:58: Inserting CDR Jan 29 12:05:58: PrepareNexecute 'InsertVendorCDR' Jan 29 12:05:58: SQL query 'InsertVendorCDR' executed in 0.001172 seconds Jan 29 12:05:58: PrepareNexecute 'UpdateVendorBalance' Jan 29 12:05:58: SQL query 'UpdateVendorBalance' executed in 0.000974 seconds Jan 29 12:05:58: There are no unsaved CDRs for this call left Jan 29 12:05:58: Call '20E247A5 332966B0 20D484EC 17845B5E/1' deleted from the cache Jan 29 12:05:58: Call 20E247A5 332966B0 20D484EC 17845B5E/1 removed --CALL