[asterisk-dev] SIP request
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? Thank you, -- Stas Kobzar -- _ -- 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
Re: [asterisk-dev] SIP request
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
Re: [asterisk-dev] SIP request
Thank you! On Sun, Dec 1, 2013 at 9:02 PM, Joshua Colp jc...@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 -- _ -- 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