line to line megaco

Upload: -

Post on 24-Feb-2018

234 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 Line to Line Megaco

    1/14

    ____________________________________________________________________ | | | | USERA | RGW1 | MGC | RGW2 | USERB_____________|___________|___________|______________|_________________ | | | | | | | | | | | | |---------->| | | | |Modify to | | | | |Check Offhook | | ||| | | | |UseA offhook | | | | |---------->| | | | |!otify offhook | | | || | | | |Use "i&'s "i$its | | | | |---------->| | | | |!otify di$its | | | |

  • 7/25/2019 Line to Line Megaco

    2/14

    | |---------->| | | | |Modify Resp /e+A | | | | | || | | | |Modify /e+B Se(dRec8 | | | |Modify EphB Se(dRec8 | | | || | | | | B4sy to(e to UseB| | | |

  • 7/25/2019 Line to Line Megaco

    3/14

    Step 1MGC to RGW1# MEGACO%1 ;21===1?# 2@

    /&(s&ctio( 12 * Co(tet - * Modify /e+A * Medi& * oc&'Co(to' * Mode Recei8eo('y, ,)E8e(ts 1111 *&'%of, , , ,

    MG &fte ecei8i($ the co++&(d fo+ MGC &ccepts it &(d espo(ds Dith thet&(s&ctio( ep'y=

    Step 2

    RGW1 to MGC# MEGACO%1 ;2=11=F=?# 2F Rep'y 12 * Co(tet - *Modify /e+A, ,

    3( this e&+p'e Use A $oes off hook= /his e8e(t is detected 7y theRGW1 Dhich co(st4cts &(d se(ds the !otify +ess&$e toD&ds the MGC= /heMG 4ses the s&+e e4est id 511116 se(t 7y the MGC i( its i(iti&'co++&(d= /he ti+est&+p of the detected e8e(t is &'so p&ssed &sp&&+ete to the o7se8ed e8e(t=

    Step RGW1 to MGC# MEGACO%1 ;2=11=F=?# 2F /&(s&ctio( 2 * Co(tet - * !otify /e+A *O7se8edE8e(ts 1111 * 2122/1#&'%of,, ,

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e H?

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    MGC $e(e&tes the !otify espo(se &(d espo(ds Dith +oe +ess&$estoD&ds the MG th&t $e(e&ted the !otify co++&(d=

    Step MGC to RGW1#

  • 7/25/2019 Line to Line Megaco

    4/14

    MEGACO%1 ;21===1?# 2@ Rep'y 2 * Co(tet - *!otify /e+A, ,

    /he MGC i( the pese(t e&+p'e iss4es & MO"3IJ co++&(d= /he Modifyco++&(d co(t&i(s & si$(&' descipto fo the &pp'ic&tio( of di&' to(eto the 4se= /he di$it +&p descipto hee is 4sed to co(fi$4e & di$it+&p o( the te+i(&tio(= /he di$it +&p (&+e 4sed i( the e&+p'e is"+&p1 &(d the di&' p&tte( is 2...= /he e8e(t descipto 'ists di$it+&p co+p'etio( e8e(t of the "/MI detectio( p&ck&$e &(d o(hook of the&(&'o$ 'i(e s4pe8isio( p&ck&$e= /he e4est id specified i( the e8e(tdescipto is 1112=

    Step FMGC to RGW1# MEGACO%1 ;21===1?# 2@ /&(s&ctio( 12F * Co(tet - * Modify /e+A *

    Si$(&'s *c$%dt,) "i$itM&p "+&p1 *52...6, E8e(ts 1112 * &'%o() dd%ce *"i$itM&p"+&p1, ,) , , ,

    MG &fte ecei8i($ the Modify co++&(d &fte 8&'id&tio( espo(ds tothe MGC &(d st&ts pocessi($ the desciptos 'isted=

    Step RGW1 to MGC# MEGACO%1 ;2=11=F=?# 2F Rep'y 12F * Co(tet - *Modify /e+A, ,

    /he desciptos &e pocessed i( the ode th&t is specified 7y theMGC= 3( this e&+p'e the ode of desciptos is si$(&' descipto)di$it +&p descipto fo''oDed 7y E8e(ts descipto= /he MG fistpocesses the si$(&' descipto= /he di&' to(e is &pp'ied to the

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e ?

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    /e+i(&tio( specified= /he "i$it +&p is 4pd&ted i( the "&t&7&se of thete+i(&tio(= /he "i$it +&p is s&id to 7e AC/3KE o( the te+i(&tio( &s thedi$it +&p co+p'etio( e8e(t is 'isted i( the e8e(ts descipto Dith thedi$it +&p (&+e= A di$it +&p is &cti8&ted Dhe(e8e & (eD e8e(t

  • 7/25/2019 Line to Line Megaco

    5/14

    descipto is &pp'ied to the te+i(&tio( o e+7edded e8e(t desciptois &cti8&ted) &(d th&t e8e(t descipto co(t&i(s & di$it +&pco+p'etio( e8e(t Dhich itse'f co(t&i(s & di$it +&p p&&+ete= UseA&fte ecei8i($ the di&' to(e st&ts di&'i($ di$its= 3( this e&+p'eDe Di'' (ot dDe'' i(to the diffee(t possi7'e c&ses of di$it di&'i($7y the 4se= 3tLs &ss4+ed th&t the 4se di&'s di$its th&t +&tch thep&tte( specified i( the di$it +&p= ets &ss4+e th&t the 4se h&sdi&'ed 22= MG detects the di$its di&'ed &(d epots the s&+e &s &p&&+ete to the di$it +&p co+p'etio( e8e(t= A (otify co++&(d is$e(e&ted fo+ RGW1 to MGC= /he MG &$&i( 4sed the s&+e e4estide(tifie &s specified 7y the MGC=

    Step @RGW1 to MGC#MEGACO%1 ;2=11=F=?# 2F /&(s&ctio( 21 * Co(tet - * !otify /e+A *O7se8edE8e(ts 1112 * 2122/11#dd%ce *ds22) MethIM,,, ,

    ,

    MGC &fte ecei8i($ the !otify co++&(d espo(ds 7&ck Dith the !otifyespo(se=

    Step HMGC to RGW1# MEGACO%1 ;21===1?# 2@ Rep'y 21 * Co(tet - *!otify /e+A, ,

    MGC) &fte ecei8i($ the !otify co++&(d) st&ts &(&'yNi($ the di&'eddi$its= 3( this e&+p'e it is &ss4+ed th&t the c&''ed s47sci7e isco((ected to the RGW2) Dhich is &$&i( co(to''ed 7y the s&+e MGC= /heMGC $e(e&tes & t&(s&ctio( Dith tDo co++&(ds c'477ed i(to the s&+eActio(= /he fist co++&(d is to ce&te & (eD co(tet &(d &dd thephysic&' te+i(&tio( /e+A i(to it= /he seco(d co++&(d is $e(e&tedto ce&te &( ephe+e&' te+i(&tio( &(d &dd the ce&ted te+i(&tio(i( the s&+e co(tet th&t D&s ce&ted 7ec&4se of the e&'ie co++&(d=:ee De &ss4+ed & si($'e set of S" i(fo+&tio( &(d the Rese8e $o4p&(d the Rese8e K&'4e fe&t4es &e (ot 4sed=

    Step

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e 1?3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    MGC to RGW1# MEGACO%1 ;21===1?# 2@ /&(s&ctio( 12 *

  • 7/25/2019 Line to Line Megaco

    6/14

    Co(tet 0 * Add /e+A * , Add 0 * Medi& * * oc&'Co(to' * Mode Recei8eo('y) ,) oc&' * 8 c3! 3 0 +&4dio 0 R/%AK , , , , ,

    3( this e&+p'e the co((ectio( fie'ds 3 &ddess) the +edi& fie'd pot

    (4+7e &e 4(specified= /he MG i( its espo(se i(dic&tes the 3Addess&(d pot (4+7e 4sed= /he co(tet3" is &'so (ot specified i(dic&ti($ thece&tio( of & (eD co(tet= 3( this e&+p'e the MG ce&tes & co(tetDith co(tet3" 1= /he physic&' te+i(&tio( /e+A is &dded to co(tet 1=/he +ode of the physic&' te+i(&tio( D&s e&'ie set to Recei8eo('y&(d i( this +ess&$e the ephe+e&' te+i(&tio( is e4ested to 7e ce&tedi( Recei8eo('y +ode= /he ephe+e&' te+i(&tio( ce&ted i( thise&+p'e is EphA= MG espo(ds Dith the &''oc&ted 3 &ddess

    209.110.59.33and port number 30000.

    Step 1RGW1 to MGC# MEGACO%1 ;2=11=F=?# 2F Rep'y 12 * Co(tet 1 * Add /e+A) AddEphA* Medi& * oc&' * 8 o- 2HHF2 2HH2H@ 3! 3 2=11=F= s- t c3! 3 2=11=F=

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e 11?

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    http://tools.ietf.org/html/draft-ietf-megaco-callflows-04#section-209.110.59.33http://tools.ietf.org/html/draft-ietf-megaco-callflows-04#section-209.110.59.33
  • 7/25/2019 Line to Line Megaco

    7/14

    +&4dio R/%AK &ec8o('y , R/ pofi'e fo G=@2 is , , , , ,

    MGC $e(e&tes & si+i'& t&(s&ctio( toD&ds the RGW2= /he Co(tet3"specified i( the &ctio( is 0= /he fist co++&(d &dds the physic&'te+i(&tio( /e+B to the (eD'y ce&ted co(tet= /he Si$(&' desciptofo this te+i(&tio( 'ists the i($ si$(&' of the &(&'o$ 'i(es4pe8isio( p&ck&$e= /his &'eti($ si$(&' is &pp'ied to the te+i(&tio(of the /e+B= /he E8e(t descipto specifies offhook e8e(t of the&(&'o$ 'i(e s4pe8isio( p&ck&$e= /he seco(d Add is +e&(t to ce&te &(ephe+e&' te+i(&tio(= MGC h&s the 'oc&' i(fo+&tio( fo theephe+e&' te+i(&tio( EphA i( the RGW1= /his i(fo+&tio( is p&ssed&s e+ote i(fo+&tio( to the RGW2= /he (eD ephe+e&' te+i(&tio( th&t

    Di'' 7e ce&ted Di'' t&ke these p&&+etes &s the e+ote S"i(fo+&tio(=

    Step 11MGC to RGW2# MEGACO%1 ;21===1?#2@ /&(s&ctio( 12@ * Co(tet 0 * Add /e+B * Medi& * oc&'Co(to' *Mode Recei8eo('y, ,) Si$(&'s *&'%i, E8e(ts 12*&'%of * E+7ed *e8e(ts 12F *&'%o(,,,,) ,) Add 0 *Medi& * oc&'Co(to' * Mode Recei8eo('y) ,) oc&' * 8 c3! 3 0 +&4dio 0 R/%AK

    ,) Re+ote * 8 o- 2HHF2 2HH2H@ 3! 3 2=11=F=

    s- t c3! 3 2=11=F=

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e 12?

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

  • 7/25/2019 Line to Line Megaco

    8/14

    +&4dio R/%AK , R/ pofi'e fo G=@2 is , , , , ,

    RGW2 &fte ecei8i($ the (eD t&(s&ctio( fo+ MGC st&ts pocessi($ it=3t ce&tes & (eD co(tet Dith co(tet3" 2= 3t &dds the physic&'te+i(&tio( /e+B to th&t co(tet &(d st&t pocessi($ the desciptospecified i( the co++&(d= /he si$(&' descipto 'ists i($ si$(&'to 7e &pp'ied o( the te+i(&tio(= /he e8e(t descipto 'ists theoff hook e8e(t= /he RGW2 ce&tes &( ephe+e&' te+i(&tio( Dith/e+i(&tio(3d EphB= /he 'oc&' i(fo+&tio( is 4(de-specified fo+the MGC= /he MG &''oc&tes the (ecess&y eso4ces fo pocessi($ the+edi& descipto fo the ephe+e&' te+i(&tio(= /he MG espo(ds

    to the MGC 7y specifyi($ the 3 &ddess ese8ed fo the 'oc&'co((ectio(= 3( this e&+p'e RGW2 ese8es 3 &ddess 2@=1@=@=&(d pot (4+7e = /he RGW2 espo(ds to MGC Dith the fo''oDi($t&(s&ctio( ep'y=

    Step 12RGW2 to MGC# MEGACO%1 ;2@=1@=@=H?# 2 Rep'y 12@ * Co(tet 2 * Add /e+B) Add EphB* Medi& * oc&' * 8 o- 2HHF2@ 2HH2HH 3! 3 2@=1@=@=H s- t c3! 3 2@=1@=@= +&4dio R/%AK , , R/ pofi'e fo G@2 is , , ,

    /he Re+ote G&teD&y $e(e&tes i($ si$(&' to the c&''ed p&ty= /he espo(se

    of Add i(dic&tes s4ccessf4' &'eti($ of the c&''ed p&ty) the MGC the($e(e&tesi($ 7&ck to(e to the c&''i($ p&ty= Mess&$es &e ech&($ed i( the fo+ ofModify fo the physic&' te+i(&tio(= /he Oi$i(&ti($ Reside(ti&' $&teD&y&fte i(iti&ti($ the i($7&ck to(e $e(e&tes espo(se to the MGC to i(dic&te

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e 1?

  • 7/25/2019 Line to Line Megaco

    9/14

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    s4ccessf4' eec4tio( of the co++&(d=

    O(ce the UseB $oes offhook) RGW2 epots the offhook e8e(t to the MGC=

    Step 1RGW2 to MGC# MEGACO%1 ;2@=1@=@=H?# 2 /&(s&ctio( * Co(tet 2 * !otify /e+B *O7se8edE8e(ts 12 * 222/12#&'%of,, , ,/he MGC espo(ds to the RGW2 Dith the !otify espo(se=

    Step 1MGC to RGW2# MEGACO%1 ;21===1?# 2@ Rep'y * Co(tet 2 *!otify /e+B, ,/he MGC $e(e&tes & t&(s&ctio( toD&ds RGW2 Dith tDo co++&(ds i( o(e&ctio(= 3t ch&($es the +ode of 7oth the te+i(&tio(s to se(dec8= /heSi$(&' descipto of the Modify co++&(d fo the fist te+i(&tio()stops the i($ si$(&' &'e&dy &pp'ied o( the te+i(&tio( &(d the e8e(tdescipto 'ists the o(hook e8e(t=

    Step 1F#MGC to RGW2# MEGACO%1 ;21===1?# 2@ /&(s&ctio( 12H * Co(tet 2 * Modify /e+B * Si$(&'s * , to t4( off i($i($ E8e(ts 12F *&'%o(,) Medi& * oc&'Co(to' * Mode Se(dRec8) , , ,

    Modify EphB* Medi& * oc&'Co(to' * Mode Se(dRec8) , ,

  • 7/25/2019 Line to Line Megaco

    10/14

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e 1?

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    , ,

    /he RGW2 espo(ds to the e4est fo+ MGC=

    Step 1RGW2 to MGC# MEGACO%1 ;2@=1@=@=H?# 2 Rep'y 12H * Co(tet 2 *Modify /e+B ) Modify EphB, ,

    /he MGC $e(e&tes +ess&$e to the RGW1 to stop the i($7&ck to(e &(d toepot the e+ote S" i(fo+&tio( fo the ephe+e&' te+i(&tio( EphA=

    /he +ode of the tDo te+i(&tio(s /e+A &(d EphA is set to se(d ecei8e=

    Step 1@MGC to RGW1# MEGACO%1 ;21===1?# 2@ /&(s&ctio( 12 * Co(tet 1 * Modify /e+A * Medi& * oc&'Co(to' * Mode se(dec8, , ,

    Si$(&'s * , ,) Modify EphA * Medi& * oc&'Co(to' * Mode se(dec8, Re+ote * 8 o- 2HHF2@ 2HH2HH 3! 3 2@=1@=@=H s- t c3! 3 2@=1@=@= +&4dio R/%AK ,

    , R/ pofi'e fo G@2 is , , , ,/he e+pty si$(&' descipto i( the Modify co++&(d fo te+i(&tio(/e+A) specifies to stop the i($7&ck to(e &t the c&''i($ e(d= /he

  • 7/25/2019 Line to Line Megaco

    11/14

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e 1F?

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    e+ote S" i(fo+&tio( is 4pd&ted fo the ephe+e&' te+i(&tio( EphA&(d its +ode is ch&($ed to se(d ecei8e= RGW1 se(ds the espo(se to theModify co++&(d to the MGC=

    Step 1HRGW1 to MGC# MEGACO%1 ;2=11=F=?# 2F Rep'y 12 * Co(tet 1 *Modify /e+A) Modify EphA, ,/he tDo 4ses c&( ech&($e the 8oice= /he c&'' c&( 7e te+i(&tedeithe 7y the c&''i($ 4se o the c&''ed 4se= 3( this e&+p'e it is&ss4+ed th&t the c&''i($ p&ty h&s $o(e o(-hook= Afte the co(8es&tio(

    4se A $oes o(hook i(iti&ti($ the c&'' te& doD(= /hes&+e is epoted i( the !otify co++&(d fo+ RGW1 to MGC=

    Step 1RGW1 to MGC# MEGACO%1 ;2=11=F=?#2F /&(s&ctio( 22 * Co(tet 1 * !otify /e+A *O7se8edE8e(ts 1112 * 2122/1#&'%o(, , ,

    /he MGC espo(ds to the RGW1s !otify +ess&$e=

    Step 2MGC to RGW1# MEGACO%1 ;21===1?#2@ Rep'y 22 * Co(tet 1 * !otify /e+A , ,

    /he MGC $e(e&tes & Modify co++&(d toD&ds the RGW2 fo &pp'yi($ 74syto(e to the c&''ed s47sci7e= /he +ode of 7oth te+i(&tio(s is set toecei8e o('y=

    Step 21MGC to RGW2# MEGACO%1 ;21===1?# 2@ /&(s&ctio( 12 * Co(tet 2 * Modify /e+B * Si$(&'s *c$%7t,

  • 7/25/2019 Line to Line Megaco

    12/14

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e 1?

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    Medi& * oc&'Co(to' * Mode ec8o('y, , ,) Modify EphB * Medi& * oc&'Co(to' * Mode ec8o('y, , , ,

    , ,

    /he RGW2 espo(ds to this +odify e4est=

    Step 22RGW2 to MGC# MEGACO%1 ;2@=1@=@=H?# 2 Rep'y 12 * Co(tet 2 * Modify /e+B) Modify EphB, ,

    /he MGC $e(e&tes t&(s&ctio(s Dith tDo s47t&cts co++&(ds o(e fophysic&' &(d othe fo ephe+e&' te+i(&tio(s= /he MGC does the s&+efo 7oth the Co(tets o(e &t RGW1 &(d the othe &t RGW2=

    Step 2#MGC to RGW1 MEGACO%1 ;21===1?# 2@ /&(s&ctio( 121 * Co(tet 1 * S47t&ct /e+A *A4dit* ,,) S47t&ct EphA *A4dit*St&tistics,, , ,

    /he MG s47t&cts the tDo te+i(&tio(s fo+ the co(tet= /he co(tetitse'f is de'eted Dith the s47t&ct of the '&st te+i(&tio( fo+ it=/he RGW1 espo(ds to this t&(s&ctio( fo+ MGC Dith st&tistics o(ephe+e&' te+i(&tio(=

    Step 2RGW1 to MGC# MEGACO%1 ;2=11=F=?#2F Rep'y 121 *

  • 7/25/2019 Line to Line Megaco

    13/14

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e 1@?

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    Co(tet 1 * S47t&ct /e+A S47t&ct EphA * St&tistics * tp%ps12) p&ckets se(t (t%osF@H) octets se(t tp%pH@) p&ckets ecei8ed (t%oF2) octets ecei8ed tp%p'1) P p&ckets 'ost tp%Qit)

    tp%de'&y &8e&$e '&te(cy , , , ,

    Afte Use B $oes o(hook the RGW2 $e(e&tes !otify co++&(dtoD&ds the MGC=

    Step 2FRGW2 to MGC# MEGACO%1 ;2@=1@=@=H?# 2 /&(s&ctio( 1 *

    Co(tet 2 * !otify /e+B *O7se8edE8e(ts 12F * 222/1@#&'%o(,, , ,/he MGC espo(ds to the RGW2 Dith the !otify espo(se=

    Step 2MGC to RGW2# MEGACO%1 ;21===1?# 2@ Rep'y 1 * Co(tet 2 *!otify /e+B, ,

    /he MGC $e(e&tes s47t&ct co++&(d toD&ds RGW2 fo e+o8i($ /e+Bfo+ 8&'id co(tet=

    Step 2@MGC to RGW2# MEGACO%1 ;21===1?# 2@ /&(s&ctio( 122 * Co(tet 2 * S47t&ct /e+B *A4dit* ,,)

  • 7/25/2019 Line to Line Megaco

    14/14

    S47t&ct EphB *A4dit*St&tistics,, ,

    M&dh47&74) et &'= 3(fo+&tio(&' - Epies Api' 2F ;&$e 1H?

    3(te(et-"&ft Me$&co%:=2H C&'' f'oD e&+p'es !o8e+7e2

    ,/he RGW2 espo(ds to the s47t&ct co++&(ds $e(e&ted 7y MGC=

    Step 2HRGW2 to MGC# MEGACO%1 ;2@=1@=@=H?#2 Rep'y 122 * Co(tet 2 * S47t&ct /e+B

    S47t&ct EphB * St&tistics * tp%psH@) p&ckets se(t (t%osF2) octets se(t tp%p12) p&ckets ecei8ed (t%oF@H) octets ecei8ed tp%p'1) P p&ckets 'ost tp%Qit) tp%de'&y &8e&$e '&te(cy , , , ,

    /he MGC $e(e&tes the +ess&$e shoD( i( step 1 to 7oth the RGW1 &(dRGW2) to e(&7'e the 4ses to p&ticip&te%i(iti&te i( f4the c&''s=