Hello everyone,
I’ve posted the following topic sometime ago Storing SIP Responses?
About storing the hangupcauses that asterisks gives, but, i found the usage of it a bit… odd
So, i was wondering if there is a way to assign a “Application” as “Set(CDR(newcdrfield))” without doing it on the dialplan, like a normal call detail record.
Call ends and some variables are being stored, right?
So, there must be a way to add a new field with its “Formula”
When you get to (2) Dial and cancel the call while the channel its ringing, you won’t save any variable, because you hangup the call at priority 2 (Dial).
Result: No Hangup Mapping
So, my question is if there is any way to save the hangup mappings without using the dialplan (At least, after Dial), if the call doesn’t go through the correct call flow (1 ,2 ,3. . . in this case) there won’t be any value on the customfield of the CDR’s