If I’m understanding what you’re trying to achieve it would likely be easiest with a call file. Create one and drop it in /var/spool/asterisk/outgoing
Next option would be to use the Asterisk Manager interface with the originate command. On Wed, Nov 22, 2017, at 09:48 AM, vijay sukumaran nair wrote:Dear Joshua,
Thank you for the reply.
As you understand, I do not have SIP request to generate sip_pvt
structure & a SIP channel.
1. Is it possible to trigger dial plan (extensions.conf - default
context) and create SIP request (INVITE) on the new channel I created?
Would this create a SIP channel ? - If yes, how can I do that? -
Is it possible to bind the new channel and the SIP channel created?
2. What are the asterisk API's available to originate a SIP invite
outside of SIP channel?
Thanks, Vijay.
Anything in Asterisk can originate an outgoing channel and call adevice. You can use the AMI originate or CLI command as a basis tounderstanding that.What you can't do is pretend a SIP INVITE arrived into Asterisk somehowand create a SIP channel and send it into the dialplan. You can onlyplace an outgoing call to a device that once answered goes where youwant.If this isn't what you need to do then there's nothing really built into do what you want precisely.-- Joshua ColpDigium, Inc. | Senior Software Developer445 Jan Davis Drive NW - Huntsville, AL 35806 - USCheck us out at: www.digium.com & www.asterisk.org_______________________________________________asterisk-app-dev mailing listasterisk-app-dev@xxxxxxxxxxxxxxxxhttp://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
|
_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev