Am writing an Asterisk application which do the following things
After call lands in asterisk
- Play welcome message
- Handover to Stasis
- Forward call to an extension(Internal IP Phone)
- Call lands on IP
- IP phone with agent starts ringing
- Agent machine/laptop application gets the information, like call incoming/ringing etc.
After going into Stasis application, how to dial a SIP agent.
dial() application in Channels api (/channels/{channelId}/dial) is asking for channelId, caller and timeout. Do i have to create a new channel for this.
Am very new to asterisk. Plz help me out. If my approach is wrong, plz correct that too.