Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Patch
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: freeswitch-core
-
Labels:None
-
Environment:Microsoft Windows XP SP 3 + Visual Studio 2008 (Express Ed)
-
Platform:Win32/VS
-
FreeSWITCH GIT Revision:1.0.6
-
Reproduced with GIT HEAD?:Yes
Description
Our Free switch (FS) call flow is as follows :
1)Originator user agent contacts FS with an INVITE
2)FS sends an INVITE to a Dynamic Routing Engine (DRE)
3)DRE returns possible routes using a SIP 300 Multiple Choice
4)FS bridges the call
The problem : Our reporting system needs to track the exact hunt info including channel name and hangup cause of each hunt which is attempted based on the reply from the DRE. This causes multiple b legs to be generated which needs to be tracked, grouped and finally parsed to generate a report.
The solution : A small change in the code that makes every b leg save its hangup cause and channel name in the originator session (a leg) as a channel variable so now we only need to parse a single a leg XML cdr to get all call related info.
1)Originator user agent contacts FS with an INVITE
2)FS sends an INVITE to a Dynamic Routing Engine (DRE)
3)DRE returns possible routes using a SIP 300 Multiple Choice
4)FS bridges the call
The problem : Our reporting system needs to track the exact hunt info including channel name and hangup cause of each hunt which is attempted based on the reply from the DRE. This causes multiple b legs to be generated which needs to be tracked, grouped and finally parsed to generate a report.
The solution : A small change in the code that makes every b leg save its hangup cause and channel name in the originator session (a leg) as a channel variable so now we only need to parse a single a leg XML cdr to get all call related info.
Activity
Ashwin Rath
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | udiff [ 12922 ] |
Mike Jerris
made changes -
| Workflow | jira [ 13061 ] | Freeswitch [ 15376 ] |
Mike Jerris
made changes -
| Component/s | freeswitch-core [ 10370 ] |
Mike Jerris
made changes -
| Component/s | freeswitch-core [ 10370 ] | |
| Component/s | freeswitch-core [ 10372 ] | |
| Key | FSCORE-650 | FS-2236 |
| Project | FreeSWITCH-Core [ 10001 ] | FreeSWITCH [ 10141 ] |
Mike Jerris
made changes -
| Priority | Minor [ 4 ] | Patch [ 6 ] |
| Summary | Ability to save hangup cause of intermediate b leg CDRs (Hunt) on the a leg | [patch] Ability to save hangup cause of intermediate b leg CDRs (Hunt) on the a leg |
Ken Rice
made changes -
| Status | Open [ 1 ] | Waiting for reporter [ 10000 ] |
Ken Rice
made changes -
| Status | Waiting for reporter [ 10000 ] | Closed [ 6 ] |