[asterisk-app-dev] Creating a SIP Call from asterisk without any external trigger
Joshua Colp
jcolp at digium.com
Wed Nov 22 07:17:21 CST 2017
On Wed, Nov 22, 2017, at 09:09 AM, vijay sukumaran nair wrote:
> Dears,
> I am new to asterisk. My requirement is as below, could you please review
> and provide me suggestions that how can I achieve the same?
> Requirement:1. Add a new channel, which does polling on a socket fd for
> an incoming message. The incoming message is proprietary protocol which
> commands the asterisk to perform such operation, like "CALL#1234567890".
> 2. On receiving the message "CALL#1234567890" the new channel should
> request to chan_sip to make a SIP call. Please note that the new channel
> which I created will not have any SIP request.
> What are the possible options I have, to perform #2?
You can only place an outgoing to a SIP channel in that scenario, which
would generate a SIP INVITE and send it out. There is no interface or
mechanism to somehow make a SIP channel out of nowhere without any
signaling - that sort of defeats the entire purpose of the SIP channel
driver.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-app-dev
mailing list