just accept the calls from that IP address, by detecting src_ip=a.b.cd or adding into trusted table, and checking for allow_trusted.
The gateway should then send to ser, ser should then accept the call without calling any auth scenario
Iqbal
Kostas Marneris wrote:
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@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