[Serusers] WG: SER+ PATTON1 + PATTON2

Johannes Wagner-Meingassner Johannes.Wagner-Meingassner at infotech.at
Wed Aug 8 20:04:46 CEST 2007


 


_______________________________
Hi!

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

-----------------------------------------------------------
PATTON1:

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

service hunt-group HUNT-BRI
    cyclic
    timeout 1
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause 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
           }
	}
}

---------------------------------------
I hope it help!

Hannes


_______________________________
Johannes Wagner-Meingassner





-----Ursprüngliche Nachricht-----
Von: serusers-bounces at lists.iptel.org [mailto:serusers-bounces at lists.iptel.org] Im Auftrag von pokerino76
Gesendet: Mittwoch, 8. August 2007 18:43
An: serusers
Betreff: [Serusers] SER+ PATTON1 + PATTON2
Wichtigkeit: Hoch

I have 2 patton from 8 channels everyone. I must make the sum of the channels 8+8=16. The patton they are connects to  with the SER. How to make the switch of the channels when one of the two is saturate? 
_______________________________________________
Serusers mailing list
Serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers

__________________________________________________________________________________
Dieses Mail wurde vom Infotech SecureMail Service ueberprueft und fuer sicher befunden.
Fuer weitere Informationen zu Infotech SecureMail Service waehlen Sie bitte: www.infotech.at

This email has been scanned by Infotech SecureMail Service and it has been classified as secure.
For more information on Infotech SecureMail direct your web browser to: www.infotech.at




More information about the sr-users mailing list