Hi, I was wondering is there any way to add some lines to a tenant dialplan, I want to append some channel information to the cdr, but I need/want to add this to the "h" extension. Because this info is only set when the call has hangup... how can I achieve this?
The idea here is to keep in the CDR information more specific for each call, for example, the IP from where the call was originated, the quality of the call, and some other information that can be easily obtained from asterisk.
I agree that this will
I agree that this will require a lot of work, but think if this feature is on the PBX Manager?
Will be one of the key diferences from other astrisks implementation because we will have all the information that we want to understand each call, from the point of view of quality, security, statistics, etc...
Alex, what do you think?
its not possible or
its not possible or practical. There is just no way to stick options for 'h' in ever context, macro, and subcontext in the dialplan structure.
statistics on hangup
This would be complicated even it is restricted to only few cases (contexts) of hangup and generalized.
What statistics are you looking to gather?
Hi, one of the info we want
Hi, one of the info we want to know is the IP of the calling number, so we can detect very fast if some one is trying to make fraud. The way to implement in asterisk is not complicated, the problem is how to do it in Thirdlane. The same solution will give us information for ecah call as jitter, delay and much others very usefull in order to diagnose issues.
do you have an example of
do you have an example of dialplan? If its adding to CDR fields it may be possible to assign values to fields at the beginning of the calls which is limited to only 4 contexts (from-outside, from-inside, from-inside-restricted, from-inside-emerg)
thats a tall order as that extension would have to be created in every context, as it gets executed in whichever context the caller is currently in (maybe from-outside-redir, maybe some specific ivr or huntlist etc)