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
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
Hi all
I've done the same where SER can pass calls to my CISCO and Lucent EXCEL switch, but when EXCEL tries to pass calls to SER (even when I placed the src ip into the MYSQL trusted table), it seems like the call just hung there. Also, instead of using the default SIP port (5060), I have changed it to something else since the internet in China doesn't provide 100% non-restricted communications, they sometime block or filter ports & data. Based on this, I have the EXCEL sent data based on my customized port (eg. 5000). but when I view the /var/log/messages, it passes the call to my IP PHONE using standard 5060 port. How do I go about solving this???
Also, I'm using Mediaproxy for NAT environment, if calls from Cisco/Excel were to sent to SER (while SER is authenticating the gateways via trusted table), how would the calls be proxied and sent to an IP PHONE running behind a router?? I need the calls to be proxied! Does anyone have a solution for this?!? Please advise!!
Best Regards, Samuel Yeung
Quoting Iqbal iqbal@gigo.co.uk:
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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.