Current-time: Jan 29 10:56:17 PST (UTC -0800) H323-conf-id: 2CA14700 50625C82 3B0FC57A 1F9CD16B SIP Call-ID: 94.23.225.212-1264791157.10 SIP Call-ID: 94.23.242.200-1264791156.122 Requests: 6 REQUEST-- Jan 29 10:52:37: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.242.200' NAS-Port-Name = 'SIP/41215500329-08839900' User-Name = '41215500329' Called-Station-Id = '0216912818' Calling-Station-Id = '41215500329' h323-conf-id = '2CA14700 50625C82 3B0FC57A 1F9CD16B' call-id = '94.23.242.200-1264791156.122' Digest-Attributes = 'User-Name = "41215500329"' Digest-Attributes = 'Realm = "switzernet"' Digest-Attributes = 'Nonce = "1d2e431a"' Digest-Attributes = 'URI = "sip:0216912818@94.23.242.200"' Digest-Attributes = 'Method = "INVITE"' Digest-Attributes = 'Algorithm = "MD5"' Digest-Response = '9028d22c494aabc1343706d897abc577' h323-ivr-out = 'PortaBilling_Routing:SIP' Jan 29 10:52:37: h323-conf-id=2CA14700 50625C82 3B0FC57A 1F9CD16B/1, call-id=94.23.242.200-1264791156.122/1 Jan 29 10:52:37: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 10:52:37: Checking if this call comes through a VoIP from vendor connection Jan 29 10:52:37: No VoIP from vendor connections were found Jan 29 10:52:37: PrepareNexecute 'AccountAuth' Jan 29 10:52:37: SQL query 'AccountAuth' executed in 0.001946 seconds Jan 29 10:52:37: Found Account: 41215500329[58048,credit,balance=0.25000,limit=none] of customer Swiss offices[16165,balance=633.53000,limit=700.00000] Jan 29 10:52:37: PrepareNexecute 'GetSessions' Jan 29 10:52:37: SQL query 'GetSessions' executed in 0.000737 seconds Jan 29 10:52:37: Account 41215500329 is already logged in, other session with call ID=2129AF17 60390377 2722CBBF 613CEA4D Jan 29 10:52:37: Verification of password using method 'digest_response': success Jan 29 10:52:37: Applying customer dialing translation rule on CLD ... Jan 29 10:52:37: Translation 'local_to_e164($_,{cc=>'41',dp=>'0',ip=>'00'});#% cc=41 dp=0 ip=00' applied: '0216912818' -> '41216912818' Jan 29 10:52:37: PrepareNexecute 'AccountAuth' Jan 29 10:52:37: SQL query 'AccountAuth' executed in 0.001403 seconds Jan 29 10:52:37: CLD '41216912818' is an off-net number Jan 29 10:52:37: Setting up a new charge with tariff 'business' ... Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: PrepareNexecute 'GetPricePerDestination*' Jan 29 10:52:37: SQL query 'GetPricePerDestination*' executed in 0.001865 seconds Jan 29 10:52:37: Compute maximum call duration for leg Account 41215500329 to destination with funds 66.47 (customer funds 66.47 reduced to 66.47) Jan 29 10:52:37: Maximum call duration: 199410 announced as 199410 (+1x1x0.02+199409x1x0.02) by rate 2487323 using 82705 as seed Jan 29 10:52:37: Remote termination 'PortaSIP': Calculating routing for 41216912818 Jan 29 10:52:37: RTP Proxy with origination preference 'Undetermined', Calling party NOT behind NAT. Jan 29 10:52:37: Looking up routes to '41216912818' using '' routing plan Jan 29 10:52:37: PrepareNexecute 'GetRoutingPerDestination*' Jan 29 10:52:37: SQL query 'GetRoutingPerDestination*' executed in 0.005685 seconds Jan 29 10:52:37: Checked 2010-01-29 19:52:37 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 10:52:37: Start of call is peak level 1 Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Checked 2010-01-29 19:52:37 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 10:52:37: Start of call is peak level 1 Jan 29 10:52:37: Checked 2010-01-29 19:52:37 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 10:52:37: Start of call is peak level 1 Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Checked 2010-01-29 19:52:37 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 10:52:37: Start of call is peak level 1 Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Applying route outgoing CLD translation on '41216912818' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 10:52:37: Applying route outgoing CLD translation on '41216912818' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 10:52:37: Applying route outgoing CLD translation on '41216912818' ... Jan 29 10:52:37: Translation 's/^(\d)/00$1/;' applied: '41216912818' -> '0041216912818' Jan 29 10:52:37: Applying route outgoing CLD translation on '41216912818' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/' applied: '41216912818' -> '+41216912818' Jan 29 10:52:37: Applying route outgoing CLI translation on '41215500329' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 10:52:37: Applying route outgoing CLI translation on '41215500329' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 10:52:37: Applying route outgoing CLI translation on '41215500329' ... Jan 29 10:52:37: Translation 's/^(\d)/00$1/;' applied: '41215500329' -> '0041215500329' Jan 29 10:52:37: Applying route outgoing CLI translation on '41215500329' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 10:52:37: 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 10:52:37: Enhance lifetime with 1800s to Fri Jan 29 11:22:37 2010 Jan 29 10:52:37: Authentication acknowledge response h323-ivr-in = PortaBilling_Routing:@;g-hunt=seq h323-ivr-in = PortaBilling_Routing: @;g-hunt=skip;expires=300;credit-time=199410;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:199410 h323-return-code = 0 h323-currency = CHF h323-credit-time = 199410 h323-preferred-lang = en Jan 29 10:52:37: ...Done Authorize/INVITE in 0.039894 seconds, 0.011636 spent in SQL queries. --REQUEST REQUEST-- Jan 29 10:52:37: Processing request (BE ver1.245.2.11,pid15598): NAS-IP-Address = '94.23.225.212' NAS-Port-Name = 'SIP/94.23.242.200-685db860' User-Name = '94.23.242.200' Called-Station-Id = '41216912818' Calling-Station-Id = '41215500329' h323-conf-id = '2CA14700 50625C82 3B0FC57A 1F9CD16B' call-id = '94.23.225.212-1264791157.10' Password = 'xxxxxxxx ' h323-ivr-out = 'PortaBilling_Routing:SIP' Jan 29 10:52:37: h323-conf-id=2CA14700 50625C82 3B0FC57A 1F9CD16B/1, call-id=94.23.225.212-1264791157.10/1 Jan 29 10:52:37: Found a call in cache with such id Jan 29 10:52:37: Authorization of the trusted node Jan 29 10:52:37: IP based authorization, force 'plaintext' password verification Jan 29 10:52:37: Verification of password using method 'plaintext': success Jan 29 10:52:37: '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 10:52:37: PrepareNexecute 'AccountAuth' Jan 29 10:52:37: SQL query 'AccountAuth' executed in 0.001449 seconds Jan 29 10:52:37: CLD '41216912818' is an off-net number Jan 29 10:52:37: Remote termination 'PortaSIP': Calculating routing for 41216912818 Jan 29 10:52:37: Routing information retrieved from previous auth request Jan 29 10:52:37: RTP Proxy with origination preference '', Calling party NOT behind NAT. Jan 29 10:52:37: Looking up routes to '41216912818' using '' routing plan Jan 29 10:52:37: PrepareNexecute 'GetRoutingPerDestination*' Jan 29 10:52:37: SQL query 'GetRoutingPerDestination*' executed in 0.005718 seconds Jan 29 10:52:37: Checked 2010-01-29 19:52:37 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 10:52:37: Start of call is peak level 1 Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Checked 2010-01-29 19:52:37 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 10:52:37: Start of call is peak level 1 Jan 29 10:52:37: Checked 2010-01-29 19:52:37 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 10:52:37: Start of call is peak level 1 Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Checked 2010-01-29 19:52:37 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 10:52:37: Start of call is peak level 1 Jan 29 10:52:37: Using peak rate, since no off-peak is defined Jan 29 10:52:37: Applying route outgoing CLD translation on '41216912818' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 10:52:37: Applying route outgoing CLD translation on '41216912818' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41216912818' -> '+41216912818' Jan 29 10:52:37: Applying route outgoing CLD translation on '41216912818' ... Jan 29 10:52:37: Translation 's/^(\d)/00$1/;' applied: '41216912818' -> '0041216912818' Jan 29 10:52:37: Applying route outgoing CLD translation on '41216912818' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/' applied: '41216912818' -> '+41216912818' Jan 29 10:52:37: Applying route outgoing CLI translation on '41215500329' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 10:52:37: Applying route outgoing CLI translation on '41215500329' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 10:52:37: Applying route outgoing CLI translation on '41215500329' ... Jan 29 10:52:37: Translation 's/^(\d)/00$1/;' applied: '41215500329' -> '0041215500329' Jan 29 10:52:37: Applying route outgoing CLI translation on '41215500329' ... Jan 29 10:52:37: Translation 's/^(\d)/\+$1/;' applied: '41215500329' -> '+41215500329' Jan 29 10:52:37: 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 10:52:37: 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 10:52:37: ...Done Authorize in 0.027046 seconds, 0.007167 spent in SQL queries. --REQUEST REQUEST-- Jan 29 10:52:57: 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 = '18:52:37 GMT Fri Jan 29 2010' h323-connect-time = '18:52:42 GMT Fri Jan 29 2010' h323-disconnect-time = '18:52:57 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '2CA14700 50625C82 3B0FC57A 1F9CD16B' call-id = '94.23.242.200-1264791156.122' Acct-Session-Time = '15' session-protocol = 'sipv2' h323-remote-address = '94.23.225.212' Exec-Program-Log = 'porta-billing.pl' Jan 29 10:52:57: h323-conf-id=2CA14700 50625C82 3B0FC57A 1F9CD16B/1, call-id=94.23.242.200-1264791156.122/1 Jan 29 10:52:57: Found a call in cache with such id Jan 29 10:52:57: Copied account: 41215500329[58048,credit,balance=0.25000,limit=none] of customer Swiss offices[16165,balance=633.53000,limit=700.00000] from '94.23.242.200' into the current request Jan 29 10:52:57: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 10:52:57: SQL query 'GetActiveLegIdByAcct' executed in 0.002232 seconds Jan 29 10:52:57: End of the outgoing call for account, which appears as never logged-in Jan 29 10:52:57: Set lifetime with 15s to Fri Jan 29 10:53:12 2010 Jan 29 10:52:57: Looking up vendor/connection Jan 29 10:52:57: Trying to match connection for call Jan 29 10:52:57: Looking for a connection VoIP/originate Jan 29 10:52:57: Outgoing VoIP, matching by the remote IP address '94.23.225.212' (env 1) Jan 29 10:52:57: Call goes to our trusted node astrad.switzernet.com, on net leg Jan 29 10:52:57: Connection to vendor not found Jan 29 10:52:57: No connection to vendor - on-net call leg Jan 29 10:52:57: Accounting response Jan 29 10:52:57: ...Done Accounting/Stop/originate/VoIP in 0.007892 seconds, 0.002232 spent in SQL queries. --REQUEST REQUEST-- Jan 29 10:52:58: 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 = '18:52:36 GMT Fri Jan 29 2010' h323-connect-time = '18:52:42 GMT Fri Jan 29 2010' h323-disconnect-time = '18:52:57 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '2CA14700 50625C82 3B0FC57A 1F9CD16B' call-id = '94.23.242.200-1264791156.122' Acct-Session-Time = '15' session-protocol = 'sipv2' h323-remote-address = '94.23.242.200' Exec-Program-Log = 'porta-billing.pl' Jan 29 10:52:58: h323-conf-id=2CA14700 50625C82 3B0FC57A 1F9CD16B/1, call-id=94.23.242.200-1264791156.122/1 Jan 29 10:52:58: Found a call in cache with such id Jan 29 10:52:58: Copied account: 41215500329[58048,credit,balance=0.25000,limit=none] of customer Swiss offices[16165,balance=633.53000,limit=700.00000] from '94.23.242.200' into the current request Jan 29 10:52:58: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 10:52:58: SQL query 'GetActiveLegIdByAcct' executed in 0.001361 seconds Jan 29 10:52:58: End of call on incoming call leg from access NAS Jan 29 10:52:58: There have been authentication requests from more than one NAS Jan 29 10:52:58: Scheduling 41215500329 for logout, call lifetime reduced to 15 Jan 29 10:52:58: PrepareNexecute 'GetSessions' Jan 29 10:52:58: SQL query 'GetSessions' executed in 0.000947 seconds Jan 29 10:52:58: Logging out account '41215500329'(58048) from '2CA14700 50625C82 3B0FC57A 1F9CD16B' Jan 29 10:52:58: PrepareNexecute 'RemoveSession' Jan 29 10:52:58: SQL query 'RemoveSession' executed in 0.000954 seconds Jan 29 10:52:58: Set lifetime with 15s to Fri Jan 29 10:53:13 2010 Jan 29 10:52:58: Looking up vendor/connection Jan 29 10:52:58: Trying to match connection for call Jan 29 10:52:58: Looking for a connection VoIP/answer Jan 29 10:52:58: VoIP, matching by the node IP '94.23.242.200' and User-Name '41215500329' Jan 29 10:52:58: No VoIP from vendor connections were found Jan 29 10:52:58: Connection to vendor not found Jan 29 10:52:58: No connection from vendor Jan 29 10:52:58: Accounting response Jan 29 10:52:58: ...Done Accounting/Stop/answer/VoIP in 0.009920 seconds, 0.003262 spent in SQL queries. --REQUEST CALL-- Jan 29 10:53:37: Removing call 2CA14700 50625C82 3B0FC57A 1F9CD16B/1 Jan 29 10:53:37: Scheduling 41215500329 for logout, call lifetime reduced to 15 Jan 29 10:53:37: PrepareNexecute 'GetSessions' Jan 29 10:53:37: SQL query 'GetSessions' executed in 0.000548 seconds Jan 29 10:53:37: Logging out account '41215500329'(58048) from '2CA14700 50625C82 3B0FC57A 1F9CD16B' Jan 29 10:53:37: PrepareNexecute 'RemoveSession' Jan 29 10:53:37: SQL query 'RemoveSession' executed in 0.000396 seconds Jan 29 10:53:37: Cleaning up the call Jan 29 10:53:37: Usernames in all accounting requests are ok Jan 29 10:53:37: Processing answer/VoIP call leg Jan 29 10:53:37: Processing originate/VoIP call leg Jan 29 10:53:37: No outgoing connections to vendor, on-net call Jan 29 10:53:37: Updating account usage of '41215500329' with 'Fri Jan 29 10:53:37 2010' Jan 29 10:53:37: PrepareNexecute 'UpdateAccountUsage' Jan 29 10:53:37: SQL query 'UpdateAccountUsage' executed in 0.000887 seconds Jan 29 10:53:37: Inserting on-net CDR for this call Jan 29 10:53:37: Inserting CDR Jan 29 10:53:37: PrepareNexecute 'InsertOnNetCDR' Jan 29 10:53:37: SQL query 'InsertOnNetCDR' executed in 0.001185 seconds Jan 29 10:53:37: PrepareNexecute 'MailAlarm' Jan 29 10:53:37: SQL query 'MailAlarm' executed in 0.000308 seconds Jan 29 10:53:37: There are no recepients of mail alarms with type 'MIS_GENERAL' Jan 29 10:53:37: Call '2CA14700 50625C82 3B0FC57A 1F9CD16B/1' deleted from the cache Jan 29 10:53:37: Call 2CA14700 50625C82 3B0FC57A 1F9CD16B/1 removed --CALL REQUEST-- Jan 29 10:53:57: 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 = '18:52:37 GMT Fri Jan 29 2010' h323-connect-time = '18:52:42 GMT Fri Jan 29 2010' h323-disconnect-time = '18:52:57 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '2CA14700 50625C82 3B0FC57A 1F9CD16B' call-id = '94.23.225.212-1264791157.10' Acct-Session-Time = '15' session-protocol = 'sipv2' h323-remote-address = '212.249.15.3' Exec-Program-Log = 'porta-billing.pl' Jan 29 10:53:57: h323-conf-id=2CA14700 50625C82 3B0FC57A 1F9CD16B/1, call-id=94.23.225.212-1264791157.10/1 Jan 29 10:53:57: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 10:53:57: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 10:53:57: SQL query 'GetActiveLegIdByAcct' executed in 0.001756 seconds Jan 29 10:53:57: User-Name needs correction. Postponing. Jan 29 10:53:57: Accounting response Jan 29 10:53:57: ...Done Accounting/Stop/originate/VoIP in 0.006246 seconds, 0.001756 spent in SQL queries. --REQUEST CALL-- Jan 29 10:54:39: Removing call 2CA14700 50625C82 3B0FC57A 1F9CD16B/1 Jan 29 10:54:39: No logged in accounts, call lifetime reduced to 15 Jan 29 10:54:39: Cleaning up the call Jan 29 10:54:39: No request from trusted node to recover username Jan 29 10:54:39: PrepareNexecute 'MailAlarm' Jan 29 10:54:39: SQL query 'MailAlarm' executed in 0.000328 seconds Jan 29 10:54:39: There are no recepients of mail alarms with type 'UNKN' Jan 29 10:54:39: Processing originate/VoIP call leg Jan 29 10:54:39: Found not billed accounting request with the duration more than zero - bill it now Jan 29 10:54:39: Looking up vendor/connection Jan 29 10:54:39: Trying to match connection for call Jan 29 10:54:39: Looking for a connection VoIP/originate Jan 29 10:54:39: Outgoing VoIP, matching by the remote IP address '212.249.15.3' (env 1) Jan 29 10:54:39: Found connection 205 'OpenSER 3' to vendor 'Verizon' Jan 29 10:54:39: Found vendor/connection Jan 29 10:54:39: Applying connection translation rule on CLD ... Jan 29 10:54:39: Translation 's/^\+//;' applied: '+41216912818' -> '41216912818' Jan 29 10:54:39: Charging call ... Jan 29 10:54:39: '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 10:54:39: Setting up a new charge with tariff 'verizon-PRE' ... Jan 29 10:54:39: Checked 2010-01-29 19:52:42 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 10:54:39: Checked 2010-01-29 19:52:57 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 10:54:39: Start of call is peak level 1 Jan 29 10:54:39: End of call is peak level 1 Jan 29 10:54:39: PrepareNexecute 'GetPricePerDestination*' Jan 29 10:54:39: SQL query 'GetPricePerDestination*' executed in 0.002536 seconds Jan 29 10:54:39: Calculating vendor's charge by tariff 'verizon-PRE' Jan 29 10:54:39: Call to '41216912818' with duration 15 seconds will be charged for 15 seconds and cost is 0.00613 (1x1x0.2709+14x1x0.0069) by rate 3530937 using 82705 as seed Jan 29 10:54:39: Attempt to charge call with unknown Account, Customer Jan 29 10:54:39: Charging vendor for the call Jan 29 10:54:39: Charging vendor 55 'Verizon' 0.00613 Jan 29 10:54:39: Inserting CDR Jan 29 10:54:39: PrepareNexecute 'InsertVendorCDR' Jan 29 10:54:39: SQL query 'InsertVendorCDR' executed in 0.001209 seconds Jan 29 10:54:39: PrepareNexecute 'UpdateVendorBalance' Jan 29 10:54:39: SQL query 'UpdateVendorBalance' executed in 0.000804 seconds Jan 29 10:54:39: There are no unsaved CDRs for this call left Jan 29 10:54:39: Call '2CA14700 50625C82 3B0FC57A 1F9CD16B/1' deleted from the cache Jan 29 10:54:39: Call 2CA14700 50625C82 3B0FC57A 1F9CD16B/1 removed --CALL REQUEST-- Jan 29 10:54:58: 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 = '18:52:37 GMT Fri Jan 29 2010' h323-connect-time = '18:52:42 GMT Fri Jan 29 2010' h323-disconnect-time = '18:52:57 GMT Fri Jan 29 2010' h323-disconnect-cause = '10' h323-conf-id = '2CA14700 50625C82 3B0FC57A 1F9CD16B' call-id = '94.23.225.212-1264791157.10' Acct-Session-Time = '15' session-protocol = 'sipv2' h323-remote-address = '94.23.242.200' Exec-Program-Log = 'porta-billing.pl' Jan 29 10:54:58: h323-conf-id=2CA14700 50625C82 3B0FC57A 1F9CD16B/1, call-id=94.23.225.212-1264791157.10/1 Jan 29 10:54:58: H323/SIP call, use h323-conf-id, but remember call-id Jan 29 10:54:58: PrepareNexecute 'GetActiveLegIdByAcct' Jan 29 10:54:58: SQL query 'GetActiveLegIdByAcct' executed in 0.00126 seconds Jan 29 10:54:58: User-Name needs correction. Postponing. Jan 29 10:54:58: Accounting response Jan 29 10:54:58: ...Done Accounting/Stop/answer/VoIP in 0.005771 seconds, 0.001260 spent in SQL queries. --REQUEST CALL-- Jan 29 10:55:41: Removing call 2CA14700 50625C82 3B0FC57A 1F9CD16B/1 Jan 29 10:55:41: No logged in accounts, call lifetime reduced to 15 Jan 29 10:55:41: Cleaning up the call Jan 29 10:55:41: No originate call legs to replace username on, probably junk incoming call Jan 29 10:55:41: Processing answer/VoIP call leg Jan 29 10:55:41: Found not billed accounting request with the duration more than zero - bill it now Jan 29 10:55:41: Looking up vendor/connection Jan 29 10:55:41: Trying to match connection for call Jan 29 10:55:41: Looking for a connection VoIP/answer Jan 29 10:55:41: VoIP, matching by the node IP '94.23.225.212' and User-Name '94.23.242.200' Jan 29 10:55:41: No VoIP from vendor connections were found Jan 29 10:55:41: Connection to vendor not found Jan 29 10:55:41: Charging call ... Jan 29 10:55:41: This is incoming call, bill only vendor Jan 29 10:55:41: Vendor is undefined (on-net call?), call is not billed Jan 29 10:55:41: No outgoing connections to vendor, on-net call Jan 29 10:55:41: No originate call legs, junk incoming call Jan 29 10:55:41: Call '2CA14700 50625C82 3B0FC57A 1F9CD16B/1' deleted from the cache Jan 29 10:55:41: Call 2CA14700 50625C82 3B0FC57A 1F9CD16B/1 removed --CALL