[Serusers] call PSTN -> SIP

Kostas Marneris K.Marneris at otenet.gr
Thu May 19 09:43:08 CEST 2005


Hello,

I want to make a call from PSTN to a SIP phone.
I use a cisco 5300 for answering/handling the PSTN number
and then forward the call to a SER box (0.8.14) .

	POTS -> c5300 --> SER -> SIP softphone

My conf on c5300:
!
dial-peer voice 1003 voip
 destination-pattern 12345
 session protocol sipv2
 session target sip-server
 codec g711ulaw
!
sip-ua
 sip-server ipv4:X.Y.Z.W
!


What is the appropriate configuration on ser.cfg in order to
handle this call and forward it to sip:userX at mydomain.com ??
Any hint about this ??



I've already done the opposite scenario (SIP->PSTN) :
ser.cfg:
        if (uri =~ "^sip:2*") {
                rewritehostport("1.2.3.4:5060");
                forward(uri:host, uri:port);
                break;
        };



thanks for any help,
Kostas
-- 




More information about the sr-users mailing list