Previet
how can recognize the call direction that is going via only via trunk .
and also to recoginze the incoming call and to ignore the event that going to extention .
when i make calls i get event 2 hangup-complete events and inside
first event
"Call-Direction": "outbound"
and second
"Call-Direction": "inbound"
and also when there is incoming calls
first event
"Call-Direction": "outbound"
second second
"Call-Direction": "inbound"
So is there any way to parse the call like in cdr ?