From vdubois at b2b2c.com Tue Oct 1 09:45:17 2024 From: vdubois at b2b2c.com (Vincent Dubois) Date: Tue, 1 Oct 2024 13:45:17 +0000 Subject: [Spce-user] How to setup subscriber as SIP Trunk In-Reply-To: References: Message-ID: Hi If you do not want authentication, and just want to validate based on IP address this is what we do: (PS: in our case everything goes thru an SBC first, so it is just different internal IPs of our SBCs) In the subscriber: * add a Permanent Registration like contact: sip:sip at 1.2.3.4:5060 with the IP of the destination expires: 2157-01-01 In the subscriber preferences * under Trusted Sources you want to add their IP again something like Source IP: 1.2.3.4 Protocol: ANY From-Pattern: .* * under Number Manipulation e164_to_ruri: true (unless that customer only has one number, in that case you could have put the number in the permanent registration, and this wouldn?t be needed) * under Access Restrictions allowed_clis: * (again if they have use multiple numbers, if not then you could put the number there) I would not recommend this with public IP, because source IP can be faked and any Invite from the IP would be accepted. But in case of private IP space, or like us private SBC Ips, it works well. PS: in our case we actually use a different interface, so in the permanent registration we set the socket to that other interface, and in sub pref (under NAT and Media Flow Control) we also set the rtp_interface to that other interface. Vincent Dubois | Analyste programmeur B2B2C 514-908-5420 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pa.ka12 at outlook.com Fri Oct 4 05:01:08 2024 From: pa.ka12 at outlook.com (Pa Ka) Date: Fri, 4 Oct 2024 09:01:08 +0000 Subject: [Spce-user] incoming Session fails using ngcp CE mr12.4.1 and SIP.js Message-ID: Hey Please help me to understand this. incoming session on my SIP.js application are failing. But, outgoingcall are functioning, I can initiate call to the PSTN. Second, Incoming session works perfectly when using Zoiper softphone application installed on Windows ( Zoiper and SIP.js are using the same configuration from ngcp c5 switch which make me think it is not ngcp c5 issue, but prefer to ask here!!!) No 404 fallback is enabled on the portal to the specific address used to log into both phone. This IP 172.110.70.15 , is for a local pc I'd would like to know if it is SIP.js codes or Sipwise (ngcp CE mr12.4.1 ) configuration that cause the error. Below are the sip proxy from Kamailio-proxy.log . When call from PSTN arrives, the script rewrite called party to remove the leading 1 NOTICE: ROUTE_APPLY_REWRITE_RULE