How can originate directly ?

Feb 13, 2014 at 7:41 AM
Hi everybody,
i have 2 extension : 101 & 102.
the extension 101, i use it to configure for linphone.
the extension 102, i use it to configure for x-lite.

with library AsterNet, i use the action originate to make a call from extension 102 to 101.
and the result : the x-lite show popup with action : answer and Decline.
if i choose the Answer, the call from 102 to 101 have just build.
having any way to pass this step?
i want to originate the call from 102 to 101 with the result x-lite to call linphone.

aynybody help me, please!
thanks and best regards.
Feb 13, 2014 at 9:12 AM
If I understand your right, you're saying that x-lite rings first, you accept and then it rings linphone. This is the correct behavior, as Asterisk will try to ensure the caller is on the phone before the callee answers it. That is to say, 102 is on the call before 101.

If you want 101 to ring first, and then call 102, you simply need to switch round your originate.

The Channel will always be called first (i.e. SIP/101) and the extension second.

I hope this helps, if not, please paste some code in and we can see exactly what it is you're doing.

Cheers, Skrusty.