sip protocol messages

Upload: sammy-manuel-dominguez

Post on 21-Feb-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/24/2019 SIP Protocol Messages

    1/5

    SIP Protocol Messages

    Requests

    INVITE Indicates that a user is being invited to join a session.

    ACK Confirms that client has received a resonse to the invite message.

    !"E Terminates a call.

    CANCE# Cancels an$ %ending &earches.

    '%TI'N& (ueries for Caabilities.

    RE)I&TER Registers the Address listed in the header field *ith a &I% &erver

    Resonses

    +,, Informational -essages

    + Tr$ing/ Indicates that a request has been initiated b$ the caller and the called art$ has $et

    not been located.

    +0 Ringing/ Indicates that the called art$ has been located and is being notified of the call.

    +0+ Call is being for*arded/ Indicates that the called art$ has rerouted the call to another.

    +01 (ueued/ Indicates that the called art$ is currentl$ not available2 and have ut the call in

    queue.

    +03 &ession in %rogress

    1,, &uccessful Resonses

    1 'K/ Indicates that the request has been successfull$ rocessed.

    3,, Redirection Resonses

    3 -ultile Choices/ Indicates that the address resolved to more than one location.

    3+ -oved ermanentl$/ Indicates user is no longer available at this location2 an alternate

    location should be included in the header.

    31 -oved Temoraril$/ Indicates that the user in temoraril$ unavailable2 an alternate location

    should be included in the header.

    34 5se %ro,$/ This resonse indicates that the caller must use a ro,$ to contact the called

    art$.

    30 Call is not successful but alternate services are available.

    6,, Request 7ailure Resonses 6 !ad Request/ Indicates the request sent could not be understood.

    6+ 5nauthori8ed Request/ Indicates the request requires authori8ation.

    61 %a$ment Required/ Indicates a$ment is required to comlete the call.

    63 7orbidden/ Indicates &erver has received the request but *ill not rovide the service.

    66 Not 7ound/ Indicates the server *as not found.

    http://asteriskglobe.blogspot.com/2012/01/sip-protocol-messages.htmlhttp://asteriskglobe.blogspot.com/2012/01/sip-protocol-messages.html
  • 7/24/2019 SIP Protocol Messages

    2/5

    64 -ethod Not Allo*ed/ Indicates that the request contains a list of methods that are not

    allo*ed.

    69 Not accetable/ Indicates that the request can not be rocessed b$ the client.

    6: %ro,$ Authentication Required/ Client must first authenticate itself *ith a ro,$.

    60 Request Timeout/ The server could not roduce a resonse before a given time out.

    6; Conflict/ Indicates a conflict *ith the current state of the resource.

    6+ )one/ Resource is no longer available at the server and no for*arding address *as found.

    6++ #ength Required/ 5ser refuses request *ithout a secified length.

    6+1 Request Entit$ Too #arge/ &erver refuses to rocess request because 5RI is too long.

    6+4 5nsuorted -edia/ Indicates the format of the bod$ is not suorted b$ the destination

    endoint.

    61 !ad E,tension/ The server could not understand the rotocol e,tension indicated in the

    required header.

    60 Temoraril$ 5navailable/ Indicates that the called art$ *as contacted but *as temoraril$

    unavailable.

    60+ Call #eg Transaction

  • 7/24/2019 SIP Protocol Messages

    3/5

    93

  • 7/24/2019 SIP Protocol Messages

    4/5

    uses). So I didn5t hae an other choice but to go "ith a dedicated serer !or our *oI'

    needs. FreeSWITCH works #reat on a )PS with a"" the conferencin# feat$res/ and e(erythin#

    o$t of the &o - no +a!te"/ +td$%%y or anythin# that co$"d interfere is needed'

    I tried er hard to #ake Asterisk "ork "ith the con!erence !eatures on the *'S (A#a8on C2). I a&so

    tried "ith other con!erence a%%&ications &ike a%%9con!erence.This doesn0t re1$ire an eterna"

    ti%in# so$rce "ike MeetMe does/ &$t it "acks so%e feat$res that we needed/ s$ch as so$nd

    notifications' ,eet,e had this but ,eet,e "asn5t an o%tion on the *'S because o! its technica&re:uire#ents. I a&so tried to get su%%ort on Asterisk and their res%onse to # %rob&e# "as that it "as

    irre&eant.

    This "as the !irst ti#e I started asking #se&!$ Wh do I need a 8tdu## drier (6a%te&) in order to

    use the con!erence #odu&e; Wh can5t the con!erence #odu&e use it5s o"n interna& ti#ing source; I

    thought there "as so#ething "rong "ith this design. That "as the !irst ti#e I heard about

    FreeSWITCH and "hen I sa" the &ight.

    I a&so e/%erienced ??co#%ensate@es in the si% con!iguration$ in order

    to co#%ensate the

  • 7/24/2019 SIP Protocol Messages

    5/5

    "hen the !eature "as asked !or. It "as rea&& i#%ressie. He ca#e u% "ith a "ho&e ne" !eature that

    he hadn5t een heard o! et$ "hi&e the Asterisk des can5t een !i/ &itt&e bugs.

    Another nice thing about FreeSWITCH is that it doesn5t su!!er !ro# the 7ot Inented Here (7IH)

    sndro#e that Asterisk su!!ers !ro#. FreeSWITCH uses the So!ia SI' stack$ a DDE +FC co#%&iant SI'

    stack$ "hich is er co#%&ete$ robust and #ature. 7okia a&so actie& contributes in this stack a&ong

    "ith the FS dee&o%ers. The a&so use , and 'C+ ('er& Co#%atib&e +egu&ar /%ressions) !or thedia&%&an$ the A%ache 'ortab&e +unti#e (A'+) and S0ite. FreeSWITCH has the abi&it to &oad scri%ts

    "ritten in UA$ 'thon$ 'er&$ 'H' and , in the dia&%&an as a%%&ications so ou hae a &ot o!

    !&e/ibi&it and !reedo# in ho" ou "ant to con!igure our *oI' sste#.

    P"ease write to %e at di!k$%ar'%ehta3#%ai"'co% for Freeswitch Cons$"tancy across the

    #"o&e'