Subject Header and OPTIONS Method

Help
2014-04-04
2014-04-08
  • Hi Yohann! I hope you're great!
    I've been studied your project and now I'm a bit familiar with it. I have 2 questions and I hope you can help me.
    I would know how do I can use the Subject Header in the INVITE Method, namely how do I can send a text in this Method. Finally I want to know how do I can send an OPTIONS Method to my Proxy after the register.

    I really hope you help me and again congratulations for your great project :)

     
    • hi,

      do you want to send text in invite body? I'm not sure I understood
      correctly. I don't know why you would try to do it, it's very odd. If you
      want to send text messages in sip, you should use MESSAGE sip request (not
      yet implemented in peers)
      If you just want to place a call using INVITE method and add Subject header
      in this sip message, you should modify InviteHandler so that it adds this
      header. You should add a constant in RFC3261 class and create a new
      SipHeader with the rightSipHeaderFieldName and SipHeaderFieldValue.
      For the moment, peers does not send OPTIONS request, but it can answer
      incoming OPTIONS requests. This processing is done in OptionsHandler. You
      should take a look at this class and add a preProcessOptions method. This
      method would probably be called by UserAgent or UAC.

      hope this helps,

      yohann

      On Fri, Apr 4, 2014 at 2:04 PM, Ricardo Aguilera
      richieyisus@users.sf.netwrote:

      Hi Yohann! I hope you're great!
      I've been studied your project and now I'm a bit familiar with it. I have
      2 questions and I hope you can help me.
      I would know how do I can use the Subject Header in the INVITE Method,
      namely how do I can send a text in this Method. Finally I want to know how
      do I can send an OPTIONS Method to my Proxy after the register.

      I really hope you help me and again congratulations for your great project
      :)


      Subject Header and OPTIONS Methodhttps://sourceforge.net/p/peers/discussion/683024/thread/ac3b500f/?limit=25#0435

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/peers/discussion/683024/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
      Attachments
  • Hi Yohann! Thanks for your quick response!
    Actually I just want to send a short message in the Subject header field in the INVITE method like "Please take my call" I don´t want to establish a conversation.