Originate With Early-media

Home » Asterisk Users » Originate With Early-media
Asterisk Users No Comments

I am using Asterisk 13.9 and using originate with early_media=true.

I redirect these calls to an app that I wrote and it just write down audio before the answer. When I detect frame->subclass.integer =AST_CONTROL_ANSWER, app returns to asterisk normal dialplan;

I have 2 issues:

1. I only get calls bridged if I reponse is 183 with sdp, but I will be better if I get it bridged with 180 without sdp to

2. I can’t reset CDR billsec. It sums the secs from the entire bridge, not only after AST_CONTROL_ANSWER

Thank you,