[Freeswitch-users] Guidelines for adding a custom SIP INFO package?

Michael Jerris mike at jerris.com
Fri May 29 23:11:58 MSD 2015


I belive if you send an in-dialog info, the appropriate headers will be copied from the invite, you will have to test this out to be sure.  For further customization, you probably need to use ESL to send the info request.

> On May 29, 2015, at 1:06 PM, D D <tru083 at yahoo.com> wrote:
> 
> By Package I mean a set of INFO capabilities, as described by RFC 6086 - Session Initiation Protocol (SIP) INFO Method and Package Framework.
> 
> Part of the RFC specifies the setting of header fields like Recv-Info and Supported.
> I was wondering if I can configure these values somewhere, or if I will need to set themin the esl program.  
> 
> Also, I know I can set these headers in an originate request, but what if I receive an Invite with Recv-Info 
> and I want the 200 OK to respond with the proposed Recv-Info?
> 
> Thanks!!
> David
> 
> 
> 
> 
> On Thursday, May 28, 2015 8:03 PM, Stanislav Sinyagin <ssinyagin at gmail.com> wrote:
> 
> 
> "Package" is a typical German speaker's mistake for "packet" ;-)
> On May 28, 2015 6:16 PM, "Michael Jerris" <mike at jerris.com <applewebdata://8048A5D4-0696-4F93-980E-3B59BE070435>> wrote:
> What do you mean by "package"?  You can use esl and events to send custom info.
> 
>> On May 28, 2015, at 11:26 AM, D D <tru083 at yahoo.com <applewebdata://8048A5D4-0696-4F93-980E-3B59BE070435>> wrote:
>> 
>> Hi,
>> 
>> I would like to add a custom SIP INFO package, controlled by an event socket application.
>> 
>> I know I can use sip_h variables to set header fields, but is there a better way to identify to sofia
>> that I am adding a custom SIP INFO package?
>> 
>> Also, do you have any tips on processing INFO events and sending INFO messages?
>> 
>> Thanks!
>> David
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150529/46b1bd44/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list