[asterisk-dev] SIP request

Stas Kobzar stas.kobzar at modulis.ca
Sun Dec 1 20:10:30 CST 2013


Thank you!


On Sun, Dec 1, 2013 at 9:02 PM, Joshua Colp <jcolp at digium.com> wrote:

> Stas Kobzar wrote:
>
>> Hello list,
>>
>> I am trying to develop my own Asterisk module.
>> I need to create and send PUBLISH SIP message with special headers
>> and/or message body.
>>
>> I found in that in include folder there is a sip_api.h (Asterisk 11), an
>> API for INFO method. But I can not figure out how to access to other
>> methods.
>>
>> Is it possible to use chan_sip methods in other modules? If yes, could
>> you, please, give me a hint where to look?
>>
>
> There is no way to do this. It doesn't provide any APIs to extend it. Any
> additional functionality has to be built into chan_sip itself.
>
> In Asterisk 12 the new PJSIP based modules DO provide various APIs to
> allow you to do exactly this.
>
> Cheers,
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at:  www.digium.com  & www.asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
Stas Kobzar

VoIP Developer
514 284 2020
www.modulis.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131201/2e8ea161/attachment.html>


More information about the asterisk-dev mailing list