[Serusers] PSTN gateway doubt

Luca Corti cortez at tiscali.it
Fri Feb 4 10:09:06 CET 2005


Hello,

I'm forwarding PSTN calls from ser to a CIsco AS5350. Currently I'm
rewriting the address to the IP address of the AS. Is this correct? In
the ser howto I can see call forwarding done with t_relay_to():

# attempt handoff to PSTN
if (uri=~"^sip:9[0-9]*@mydomain.com") {  ##  This assumes that the caller is
    log("Forwarding to PSTN\n");      ##  registered in our realm
    t_relay_to( "192.168.0.2", "5060");  ##  Our Cisco router
    break;
};


thanks

Luca




More information about the sr-users mailing list