[SIP Beyond VoIP] SIPBeyondVoIP Digest, Vol 62, Issue 8

Yufei Tao yufei.tao at gmail.com
Mon Jul 21 13:45:54 CEST 2014


Thank you very much for the pointers! I'll dig into it a bit later when I
have more time.

Yufei


On 18 July 2014 11:00, <sipbeyondvoip-request at lists.ag-projects.com> wrote:

> Send SIPBeyondVoIP mailing list submissions to
>         sipbeyondvoip at lists.ag-projects.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
> or, via email, send a message with subject or body 'help' to
>         sipbeyondvoip-request at lists.ag-projects.com
>
> You can reach the person managing the list at
>         sipbeyondvoip-owner at lists.ag-projects.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SIPBeyondVoIP digest..."
>
>
> Today's Topics:
>
>    1. Re: In-Dialog Requests (Sa?l Ibarra Corretg?)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 17 Jul 2014 16:10:37 +0200
> From: Sa?l Ibarra Corretg? <saul at ag-projects.com>
> To: SIP Beyond VoIP <sipbeyondvoip at lists.ag-projects.com>
> Subject: Re: [SIP Beyond VoIP] In-Dialog Requests
> Message-ID: <38D2EF96-BD45-463A-B9BB-B68D43D5E20E at ag-projects.com>
> Content-Type: text/plain; charset="windows-1252"
>
> Hi Yufei,
>
> On 15 Jul 2014, at 17:15, Yufei Tao <yufei.tao at gmail.com> wrote:
>
> > Hi Adrian
> >
> > Thanks very much for the quick reply! What I want to do is to send and
> process in-dialog messages like INFO,
> > nothing to do with complex call features. So I have been using
> Invitation from the core, not even Session from Middleware API.
> >
> >
> > The in-dialog requests (INFO etc) need to have the same call_id, to_tag,
> from_tag as the dialog obviously,
> > and the BYE request that comes after these requests should have its cseq
> updated accordingly.
> >
> >
> > But since by default PJSIP sip session only handles INVITE, BYE, ACK,
> CANCEL, UPDATE and PRACK messages,
> > it gave me an "500 Unhandled by dialog usages" when it received
> in-dialog INFO message.
> >
> >
> > Is there any way to solve this please? Thank you!
> >
>
> This is part of the core Invitation API, so you?ll need to get your hands
> dirty ;-)
>
> Look in _Invitation_cb_tsx_state_changed function in sip
> simple/core/_core.invitation.pxi, at the bottom we handle incoming REFER
> and OPTIONS requests.
>
> You?ll need to add 2 things: a callback for incoming requests which post
> an event such as ?SIPInvitationGotInDialogRequest" and a method to send
> such requests, something like ?send_in_dialog_request?, which takes a
> method name, a lost of headers and an optional body.
>
>
> PS: I thought I had sent this, but it ended up on my drafts folder.
>
> --
> Sa?l Ibarra Corretg?
> AG Projects
>
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 842 bytes
> Desc: Message signed with OpenPGP using GPGMail
> URL: <
> http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20140717/37214cab/attachment-0001.pgp
> >
>
> ------------------------------
>
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
>
>
> End of SIPBeyondVoIP Digest, Vol 62, Issue 8
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20140721/d30a4465/attachment.html>


More information about the SIPBeyondVoIP mailing list