[SIPForum-discussion] Simulation of SIP call with fragmented packets using SIPP

Vijay Kumar vj.tech776 at gmail.com
Fri Jun 5 01:56:43 UTC 2015


Trilochan
SIP  packets at SIP entities must not be fragmented on UDP .
Regards
Vijay



On Thu, Jun 4, 2015 at 7:52 PM, <discussion-request at sipforum.org> wrote:

> Send discussion mailing list submissions to
>         discussion at sipforum.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://sipforum.org/mailman/listinfo/discussion
> or, via email, send a message with subject or body 'help' to
>         discussion-request at sipforum.org
>
> You can reach the person managing the list at
>         discussion-owner at sipforum.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of discussion digest..."
>
>
> Today's Topics:
>
>    1. What does mean Unauthorized message received from SIP server
>       after sendign INVITE or REGISTER to it? (Rodrigo Pimenta Carvalho)
>    2. Call hold scenarios (Dipan Kumar)
>    3. Re: Call hold scenarios (Paul Kyzivat)
>    4. Re: Call hold scenarios (Sakharam Thorat)
>    5. Re: What does mean Unauthorized message received from SIP
>       server after sendign INVITE or REGISTER to it? (Cedric Castro)
>    6. Simulation of SIP call with fragmented    packets using SIPP
>       (Trilochan Rath)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 2 Jun 2015 15:37:37 -0300
> From: Rodrigo Pimenta Carvalho <pimenta at inatel.br>
> Subject: [SIPForum-discussion] What does mean Unauthorized message
>         received from SIP server after sendign INVITE or REGISTER to it?
> To: "discussion at sipforum.org" <discussion at sipforum.org>
> Message-ID:
>         <
> CD6B5DD5E1D03B4DA1AB7655BEDC4E8A42B23FF44E at socrates.local.inatel.br>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> Hi.
>
> I'm learning about SIP today. I have a link between Asterisk (SIP server)
> and Jitsi (Softphone).
>
> When Jitsi sends sip INVITE to the Asterisk or sends REGISTER, I can see,
> on wireshark, that my softphone receives an "SIP/2.0 401 Unauthorized"
> immediately. Why does it happen? That is, what the client may be trying to
> do here, in therms of SIP protocol? Or what could be forbidden in the
> server in terms of SIP communication?
>
> Then, the client send INVITE  again and the Asterisk accept this second
> request responding with TRYING and OK.
>
> After this, the SIP agent (I don't know if client or server, because all
> is in the same machine) sends OPTION. I guess this OPTION message is a
> consequence of the message "Unauthorized",  isn't it?
> But again the other agent responds with "SIP/2.0 401 Unauthorized".
> So, it seems that even the message OPTION is unauthorized witch doesn't
> make sense.
>
> What are the possibilities, in terms of SIP, to have the situation of
> receiving "SIP/2.0 401 Unauthorized" for each request? What should I to
> investigate in the sip agents configurations to solve it?
>
> Any hint will very helpful!
>
> Best regards.
>
>
> Rodrigo.
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 3 Jun 2015 22:11:06 +0530
> From: Dipan Kumar <m.dipan1987 at gmail.com>
> Subject: [SIPForum-discussion] Call hold scenarios
> To: discussion at sipforum.org
> Message-ID:
>         <CAN2HGBCsziMCpooPKYzbcb_vT=
> Z6Br_wMLgSoh_FXqZFYUEGPQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
>
> Could anyone please explain in detail some real time examples for call hold
> scenario for attribute like
>
> a = sendonly  [ media is still sent]
>
> a=inactive     [ no media is sent]
>
>
>
> --
>
>
>
>
> Regards,
> Dipan Kumar
> Sr.Software Engineer | HCL technologies
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://sipforum.org/pipermail/discussion/attachments/20150603/cc732b45/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 03 Jun 2015 13:38:44 -0400
> From: Paul Kyzivat <pkyzivat at alum.mit.edu>
> Subject: Re: [SIPForum-discussion] Call hold scenarios
> To: discussion at sipforum.org
> Message-ID: <556F3BA4.5080900 at alum.mit.edu>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> On 6/3/15 12:41 PM, Dipan Kumar wrote:
> > Hi All,
> >
> > Could anyone please explain in detail some real time examples for call
> > hold scenario for attribute like
> >
> > a = sendonly  [ media is still sent]
>
> Music on Hold
>
> > a=inactive     [ no media is sent]
>
> Nothing on hold.
>
> Note that in the inactive case the other end can play its own music on
> hold if it wants.
>
>         Thanks,
>         Paul
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 4 Jun 2015 16:45:18 +0530
> From: Sakharam Thorat <sakharam.thorat at outlook.com>
> Subject: Re: [SIPForum-discussion] Call hold scenarios
> To: Dipan Kumar <m.dipan1987 at gmail.com>, "discussion at sipforum.org"
>         <discussion at sipforum.org>
> Message-ID: <BAY181-W5058860EFC7CF52F2B17EAE8B30 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> i found following,
> Case 1 (a=sendonly used for putting call on hold)=====
> A wants to put call on Hold
>  A(INVITE a=sendonly)----------------->
>  B(200 ok a=recvonly)<------------------
>
> Now B wants to put call on hold ..it will send inactive or sendonly...this
> is also debatable
>  B(INVITE a=inactive) <-----------------
>  A(200 ok a=inactive) ------------------>
>
>
> Case 2 (a=inactive used for putting call on hold)
> =====
> A wants to put call on Hold
>  A(INVITE a=inactive)----------------->
>  B(200 ok a=inactive)<------------------
>
>
>
> Best Regards,Sakharam Thorat.Date: Wed, 3 Jun 2015 22:11:06 +0530
> From: m.dipan1987 at gmail.com
> To: discussion at sipforum.org
> Subject: [SIPForum-discussion] Call hold scenarios
>
> Hi All,
> Could anyone please explain in detail some real time examples for call
> hold scenario for attribute like
> a = sendonly  [ media is still sent]
> a=inactive     [ no media is sent]
>
>
> --
>
>
>
>
> Regards,Dipan KumarSr.Software Engineer | HCL technologies
>
>
>
>
>
>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://sipforum.org/pipermail/discussion/attachments/20150604/3fdf952b/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Wed, 3 Jun 2015 19:28:17 +0000
> From: Cedric Castro <ccastro at ergatel.com>
> Subject: Re: [SIPForum-discussion] What does mean Unauthorized message
>         received from SIP server after sendign INVITE or REGISTER to it?
> To: Rodrigo Pimenta Carvalho <pimenta at inatel.br>,
>         "discussion at sipforum.org"       <discussion at sipforum.org>
> Message-ID: <e9d7020aa44d496d9fffdde45a3c6e71 at ERGADC01.ergatel.local>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi Rodrigo,
>
>
>
> Welcome to SIP.
>
> At first I had a similar question just like you. ;-)
>
>
>
> This is normal behavior.
>
> I give an example with MD5 authorization token:
>
>
>
> First an ordinary REGISTER is sent.
>
>
>
> This is answered by a response with 401 Unauthorized, with an
> authentication token:
>
> fe. WWW-Authenticate: DIGEST qop = "auth" nonce = "xxxxxxxxxxxx", realm = "
> xxxxxx.eu" algorithm = MD5
>
>
>
> Then there's a new REGISTER with the Authorization response there.
>
> fe. response = "3654cfwwwwb6daffxxxx0f290fe059a"
>
> That response is a calculation where MD5 username, realm, password, nonce
> and Request URI is processed.
>
>
>
> When the second rigister is being processed by the registrar, it makes the
> same MD5 calculation.
>
> If the result is the same as what the SIPclient was sending, a 200 OK
> response is sent and the authorization is succesfull.
>
>
>
> This is basic type of SIP registration,
>
>  just like you, I was suspecting a problem, while it's a type of 3-way
> normal authorization. ;-)
>
> Hope this helps...
>
>
>
> Best Regards,
>
> CASTRO Cedric
> Senior Voice Engineer
>
>
>
> -----Original Message-----
> From: discussion-bounces at sipforum.org [mailto:
> discussion-bounces at sipforum.org] On Behalf Of Rodrigo Pimenta Carvalho
> Sent: dinsdag 2 juni 2015 20:38
> To: discussion at sipforum.org
> Subject: [SIPForum-discussion] What does mean Unauthorized message
> received from SIP server after sendign INVITE or REGISTER to it?
>
>
>
>
>
>
>
> Hi.
>
>
>
> I'm learning about SIP today. I have a link between Asterisk (SIP server)
> and Jitsi (Softphone).
>
>
>
> When Jitsi sends sip INVITE to the Asterisk or sends REGISTER, I can see,
> on wireshark, that my softphone receives an "SIP/2.0 401 Unauthorized"
> immediately. Why does it happen? That is, what the client may be trying to
> do here, in therms of SIP protocol? Or what could be forbidden in the
> server in terms of SIP communication?
>
>
>
> Then, the client send INVITE  again and the Asterisk accept this second
> request responding with TRYING and OK.
>
>
>
> After this, the SIP agent (I don't know if client or server, because all
> is in the same machine) sends OPTION. I guess this OPTION message is a
> consequence of the message "Unauthorized",  isn't it?
>
> But again the other agent responds with "SIP/2.0 401 Unauthorized".
>
> So, it seems that even the message OPTION is unauthorized witch doesn't
> make sense.
>
>
>
> What are the possibilities, in terms of SIP, to have the situation of
> receiving "SIP/2.0 401 Unauthorized" for each request? What should I to
> investigate in the sip agents configurations to solve it?
>
>
>
> Any hint will very helpful!
>
>
>
> Best regards.
>
>
>
>
>
> Rodrigo.
>
> _______________________________________________
>
> This is the SIP Forum discussion mailing list TO UNSUBSCRIBE, or edit your
> delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
>
> Post to the list at discussion at sipforum.org<mailto:discussion at sipforum.org
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://sipforum.org/pipermail/discussion/attachments/20150603/b8b9e030/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Thu, 4 Jun 2015 00:45:03 +0530
> From: Trilochan Rath <trilochanrth at gmail.com>
> Subject: [SIPForum-discussion] Simulation of SIP call with fragmented
>         packets using SIPP
> To: discussion at sipforum.org
> Message-ID:
>         <
> CAData4uF+UFKVgid4KpYZsVRmZsmF3i5pOL+8hJXM_7pJMr5ig at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi All,
> Can anyone help me out in simulation of fragmented packets in sipp(XML
> example)
> Scenario:
> UAC sends fragmented INVITE to UAS
> UAS responds with 180,then UAS sends 200 OK with fragmented packet.
> The call between the endpoints done successfully.
>
> Thanks,
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://sipforum.org/pipermail/discussion/attachments/20150604/8d4fa2d5/attachment.html
>
> ------------------------------
>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
>
>
> End of discussion Digest, Vol 119, Issue 4
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20150605/84927993/attachment-0002.html>


More information about the discussion mailing list