Wait to Answer a Call

Hi,

I am using GrandStream 410X with FreePBX and created a dialplan for SIP exten that plays back message to callee. It works well with local SIP exten but when call is made to external PSTN number through 410X gateway / SIP-Trunk, the dialplan executes without the callees picking up the call other end. This lets incomplete message being transfer to the callee.

Please let me know how to configure so that once the callee picks up the call dialplan executes.

CLI Info
"== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> Channel SIP/5000-00000026 was answered
– Executing [1000@vdp-outbound:1] Dial(“SIP/5000-00000026”, “SIP/1000”) in new stack
[2014-12-03 15:21:31] WARNING[29174][C-00000027]: app_dial.c:2437 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)"

SIP/5000/98XXXXXXXXX is trunk/Channel I dialed. Without user picking up the call, CLI notifies “Channel SIP/5000-00000026 was answered”, which triggers “[1000@vdp-outbound:1]” to execute.

Thank you