Hi
Help me on direction for channel message alteration because in my cases both leg are considered as outgoing, so i need to modify one leg as incoming for proper clearance on CDR and other related information.
Steps Followed :
- Enqueue the call.execute using dumb with billid. And dumb channel are considered as incoming but cdrtrack is set as false where-as it's not necessary.
- Sig Channel generated from call.execute for ISDN call. CDR initialized with direction as outgoing.
- Once ISDN call answered then dispatching call.route to find the routing part. Handler installed for call.answered message.
- Check the result call.route and Enqueue chan.masquerade with message of call.execute with id = Sig Channel(sig/1) / id of call.answered message
- So this call.execute also executing with direction as incoming.
My both leg are considered as outgoing under cdrtracking scheme. And there is no incoming, so cdrcombine is not finalized and my other CDR logging also difficult to find the both leg due to both are as incoming leg.
So clarify me few things.
- Is it Normal Behavior ?
- Is there any wrong handled the message by this logic ?
- Changing direction is good idea ?.If then point me the direction out !
- Some extra logic need to apply to find each leg on this call is the proper solution on this cases ?.
- Extra logic need to track this Sig ISDN call for hangup to clean-up blank entry with billid on cdrcombine and how to clean entry ?
Yate Version :6.0.1
Calling Medium : PRI with Zaptel module
Kindly help me out !