So after i receive INVITE from provider, I’m sending back 183 response (Session in progress), and after that RTP(early media) with welcome message. The problem is that after the welcome message is played, after call enters the Queue, asterisk send back 200 as a response, and that message start billing process.
So is there any way that i can send 180 (ringing) until agent answers the phone?
The provider is insisting that the charging begins after my call center sends 200. And I’m also aware that you probably cannot go back from 183(Seesion in progress) to 180(ringing).
The r option, did you mean to use it with Dial() or with Queue?
And finally do you have any idea on how to overcome this problem?
With Queue. However Queue respects early media, so, if you have used Progress, MOH or announcements in the queue shouldn’t trigger a 200. (This caught us out the other way - we hadn’t answered and the upstream system ignored the early media from Queue.)