User Story
As a CSP, I want to let resellers open SIP and PortaBilling session logs for their own customers’ calls, with vendor data anonymized, so that my support team spends less time on troubleshooting for resellers.As a reseller, I want to open SIP and PortaBilling session logs for my customers’ calls, so that I can investigate call issues without waiting for the CSP administrator and attach the log when I escalate to CSP Support.
Example of use
A customer reports to Reseller that outgoing calls are failing. The reseller's support agent finds the failed call in Trace session and opens its session log. The agent finds that the call was rejected because of the dialing rule misconfiguraion.
The agent updates the customer's dialing rule and makes a test call. The call is successfully connected, and the agent informs the customer that the issue has been resolved.
The issue is resolved by the reseller without contacting the CSP Administrator.
Business model
Reselling services through partners
Technology
Current Solution
Starting from MR116-0, Trace session page is available in the Reseller web interface. It shows registrations/sessions of the Reseller's customers only and hides Vendor-related data (xDRs, Connections, IPs, names are not shown).
However, PortaSIP and PortaBilling logs are available only on Adminitrator interface and are not exposed in the Reseller interface (View log icon on Trace session/Customer/Account page opens Reseller company info page, but not logs). The Reseller can see that a session exists but not why it failed, so every troubleshooting case must be handed to the CSP Support.
The lack of session logs for Resellers prevented CSP from moving their Resellers over to PortaSwitch because they want to be able to see the SIP logs to do debugging.
Stakeholders and their benefits
Who are the users / whom we bring value to?
| Benefit / Stakeholders | More Comfort | Increased Efficiency | Saves Time | Tighter Control |
|---|---|---|---|---|
| CSP | ✓ | ✓ | ✓ | |
| Resellers / distributors | ✓ | ✓ | ✓ | ✓ |
| Network operations / Support of CSP | ✓ | ✓ | ✓ | |
| End user | ✓ | ✓ |
Use Cases
Use case #1: Reseller views and uses session logs for own customers
Roles: PortaBilling system, CSP Admin, Reseller Admin, Reseller support agents Alice (1st line support) and Bob (2nd line support), Customer
Preconditions:
- CSP "Acme Telecom" has a reseller "ABC Communications".
- CSP Admin has configured the system to allow enabling access to session logs for "ABC Communications" Reseller.
- "ABC Communications" Admin has enabled access to session logs only for the support agent Bob, other support agents do not have access to session logs.
Use scenario #1.1 Reseller accesses session logs and resolves the issue
- Alice receives a complaint from reseller's customer that international calls are failing.
- Alice finds the customer's failed call on the Trace session page, views call details, but cannot open the session logs and proceed with investigation (current behavior described in the current solution).
- Alice passes the task to Bob with the Call-ID of the failed call, and he views the session log.
- Bob can open session logs from Customer xDRs, Account xDRs pages, or Log Viewer page using the Call-ID or H323-Conf-ID.
- Bob reviews simple and advances SIP diagram, PortaSIP and PortaBilling logs similar to how CSP Admin does on Admin UI, containing full data related to communication between customer side and PortaSwitch, and between PortaSwitch and Vendors, but Vendor related data (Vendor names, Connection names, IP addresses, tariff names) is anonymised with unique values for the same data fields so Bob can follow the call flow. No real names, IPs are shown.
- Example of anonimisation:
What CSP Admin sees What Reseller sees <Route::Point order="+0+0+0-99-5+0+0.01000105" p="1.1.3.15" cld="772938508705" description="Tata Out"/>
<Route::Point order="+0+0+0-99-5+0+0.10000114" p="1.1.3.13" cld="772938508705" description="Go Speak"/>
<Route::Point order="+0+0+0-99-5+0+0.01000105" p="1.1.3.*" cld="772938508705" description="Connection 1"/>
<Route::Point order="+0+0+0-99-5+0+0.10000114" p="1.1.3.**" cld="772938508705" description="Connection 2"/>
- Bob identifies that the call was rejected because of an incorrectly configured customer dialing rule.
- Bob adjusts the dialing rule assigned to the customer, makes a successful test call with similar configuration, and informs the customer that the issue has been resolved without contacting the CSP Administrator.
Use scenario #1.2 Reseller submits the issue to CSP Support (alternative to US#1.1)
- Continues after steps 1-4 of US#1.1
- Bob identifies that vendors are refusing the call, but cannot resolve the issue himself.
- Bob copies the Call-ID under "SESSION DETAILS" button, downloads the log using "DONWLOAD" button on Log Viewer page, and submits them to CSP Support explaining that vendors are refusing the call.
- CSP Support quickly resolves the issue with vendors since Bob's initial investigation reduced the time support engineer to identify the root of the issue.
Wireframes
N/ANon-functional requirements
N/A
Peculiarities
Reseller should be able to access session logs from the the same places that CSP Admin can (Customer xDRs, Account xDRs pages, or Log Viewer page using the Call-ID or H323-Conf-ID).- Reseller should be able to select and view Simple, Exteneded and Whole log levels and Simple or Advanced SIP diagram as CSP Admin can for proper troubleshooting. (Requested by two FR voters: TT#864625#txn-98008269, TT#864621#txn-97972529)
Vendor-related data (Vendor names, Connection names, IP addresses, tariff names) should be anonymised in session logs for Resellers. Within each session log, each distinct value should have a unique label (e.g. “Vendor 1” and “Vendor 2”), and repeated references to the same value should use the same label, so resellers can follow the call flow accurately.- Button "SEND TO SUPPORT" on Log viewer page should be hidden for Resellers.
Buttons "DOWNLOAD" and "SESSION DETAILS" on Log viewer page should be available for Resellers so that they can share logs or session details with colleagues or CSP support when an issue requires escalation and further investigation.Reseller can view session logs of call legs of only his own customers.- Reseller can view sessions logs of their customers only. Reseller should not see session logs of CSP's direct customers, customer's of other CSP's resellers, and customers of their parent resellers and subresellers.
Performance / Clustering, Geo Redundancy/ Dual-Version, Porter / Call Control API / ESPF / Monitoring
N/A
Suggestions for solution design
- [Rejected due to no reply from CSP and presence of several requests from other CSPs for full access to logs as described in use scenarios]
CSP, who posted the feature request on Wishlist portal, suggests that "View log" link should open a simplified SIP diagram for calls belonging to that reseller’s customers. It would show the main SIP messages across UA → PortaSwitch → Vendor, together with RTP status on each leg. Codec and packet counts would be useful where available. If media information was not captured, possibly show “Not Available” or “No RTP”. The billing section should show only the reseller’s customer charge and their own cost. Vendor billing, IPs, connections, internal processing and raw logs should remain hidden. Resellers should be able to open this view from Trace session and their own customer or account xDRs. A direct Call-ID lookup in Log viewer would also be useful if access to the call is checked against the reseller’s customers. Provided mockup: - CSP, who voted for the feature, suggests enabling/disabling access to session logs for reseller staff via Roles, so that this is only enabled for resellers with skilled engineers.



