[Serusers] SER+PATTON1+PATTON2+PATTON3

pokerino76 pokerino76 at libero.it
Tue Sep 4 11:53:53 CEST 2007


I do not have the possibility to use Patton 4960 with 1xPRI. I wished an alternative method for Patton1 + patton2 + patton3: 8+8+8=32. thanks

This is the code for 2 Patton

Hi!

On the pattons you can created Error Messages when not circuit channel is available And on Ser you have to register to Failure Route to the route of the first patton and the failure route point to the second Patton.


PATTON1:

profile sip default
  map causes to-sip no-circuit-channel-available to 486
  map causes to-sip resources-unavailable to 486

service hunt-group HUNT-BRI
    cyclic
    timeout 1
    drop-causes normal-unspecified
    drop-causes no-circuit-channel-available
    drop-causes network-out-of-order
    drop-causes temporary-failure
    drop-causes switching-equipment-congestion
    drop-causes access-info-discarded
    drop-causes circuit-channel-not-available
    drop-causes resources-unavailable
    route call 1 dest-interface ISDN_01
    route call 2 dest-interface ISDN_02
    route call 3 dest-interface ISDN_03 


SER:

Ser.cfg:


if (uri=~ ". *sip: 012345 ") # Patton 1
                         {t_on_failure (“1”);
                                t_relay_to_udp (“11.11.11.10”, “5060”);
                                break;
                         }




failure_route [1]
{
     if (method== " INVITE ")
     {
        if (t_check_status (“600|486”)) #### ErrorCode from Patton 1
        {
           #####call from Patton 1 -- 486 (Busy) ret -- call switch to Patton 2 ######
           if (uri=~ ". *sip: 012345 ") # Costumer xy
           {
                        append_branch ();
                        t_relay_to_udp (“11.11.11.11”, “5060”); ##Unterroute ist hier nicht notwendig,
                        break; ##da sich die Verrechnung hier nicht aendert
           }
}
}

Which code to use for 3 patton? 



------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/




More information about the sr-users mailing list