Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17434

Failed extension is not working with FreePBX

$
0
0

@vijo wrote:

Dear Team,

I have an Asterisk server (Version 13 ) running with php calling.
When am using the php and AMI to call to call the customers and when the customers pick the call is not executing the S extension
When the customer not picking the call its executing the failed extension from my dialplan.

Below is the AMI action which sending from php script;
Action: Originate
CallerID:Mynooooo
Channel: Dahdi/g0/customer number
Context: mycontext
Exten: s
Priority: 1

Below is sample dialplan:

[mycontext]
exten => s,1,answer()
exten => s,n,Set(failed=0)
exten => s,n,AGI(my.agi,${CDR(start)},${CDR(answer)})
exten => s,n,hangup

exten => h,1,NoO(call ends)
exten => failed,1,Set(failed=1)

This is was working fine with out any issue until i installed the PBX. When i have installed the freepbx along with asterisk server , The calls which are failed is not coming to failed extension.

Any suggestion how i can resolve . ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>