-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong endpoint identified on standalone installs with single IP address #1959
Comments
Hey, I am wondering if there is any update in this case? Or is it an issue in the portal itself? Thanks for an reply in advance |
Hi @devserge Sorry for the delay, we have been on holidays these days. We haven't experienced this problem, it may be some configuration error. We may need more information. Is this a vPBX outbound call from a User or a Friend? Be sure you have configured an Outbound DDI on the User, Friend or Company that is placing the call, it will be used as presentation in P-Asserted-Identity header. Regards |
Hi Incoming calls are fine We have linked several DDI to a vPBX and to a residential. vPBX (outbound user call - Outbound DDI on Company and also tested on user directly) vPBX Terminal to Terminal We also tested residential and we get the same error messages there too Kind regards |
Hi @MichaelSTK The errors lines alone are not enough to determine where the problem is, please provide all the call logs.
That makes no sense at all. That message is only printed on incoming calls from external entities (DDI Providers). Calls from users or residential should never use that endpoint (they have their own PJSIP endpoint). The endpoint matching is done using X-Info-Endpoint header that should be present in the initial INVITE from Kamailio Users to Asterisk. We will require logs and a full SIP dialog in PCAP format containing the traffic from User Phone -> Kamailio Users -> Asterisk, so we can check why that endpoint is being matched. I assuming you have properly configured the terminals agains kamailio@users using company domain (that must point to Regards |
Call from my phone extention 102 to mobile number --- kamtail-proxyusers ----- asterisk --- I assuming you have properly configured the terminals agains kamailio@users using company domain (that must point to users public IP address), and not placing calls directly from the terminal to asterisk.----- Global Config, My domain is complete with DNS to server ip Added a brand: TestBrand with sip domein: sip.testbrand.com Zoiper registration 102@1001.testbrand.com works well, no problem. Hope this is what you mean, if not what commands should I run for what you are looking for? Thanks. Kind regards. |
Hi! It's strange, I'm missing some logs in kamailio@users about setting X-Info-Endpoint header and dispatching to Application Server At least this message should be part of the logs: ivozprovider/kamailio/users/config/kamailio.cfg Line 1184 in 93a365e
That log is printed in the route in charge of setting the endpoint information for asterisk that has previously detected as Terminal#4
Instead of printing DISPATCH_TO_AS info message the logs go to RELAY route directly
Can you verify the /etc/kamailio/proxyusers/kamailio.cfg contents are the same as https://raw.githubusercontent.com/irontec/ivozprovider/halliday/kamailio/users/config/kamailio.cfg Can you provide the version of installed kamailio users config ( Regards! |
Hi, Thanks for your reply that quick. I'll compare the other files tomorrow. dpkg -l ivozprovider-kamailio-users Kind regards. |
Hi! I have noticed the missing logs are INFO messages, so it's normal not to be displayed in default debug level that only display NOTICE. Are you using the same IP address for trunks and users proxies?
And restart asterisk. Give it a try, maybe this may fix outbound calls but break inbound calls from kamailio@trunks. Regards |
File not exist (/etc/asterisk/config/pjsip.conf ) ~# Dir /etc/asterisk/ No idea what is going wrong but it seems that the automatic installation is not going well. I use 1 ip address Is there a possibility for a meeting? then you can see for yourself what is going wrong. Kind regards |
Hi Most probably the X-Info-Endpoint matchpoint indetifier implemented in #1615 is not compatible with standalone installs with a single IP. Standalone versions using a single machine are not suitable for production so they are not as battle tested and some bugs may appear. Please try using two different public IP addresses for trunks and users and check if the error persists. Regards |
Unfortunately I don't have 2 IP addresses at the moment, installation on 2 servers? or 1 server with 2 ip addresses? |
The problem seems related to using 1 IP address for both Kamailio Trunks and Users proxies, so 1 server 2 IP addresses will probably be a workaround for this issue. |
Okay thank you for your response. I'm going to see what I can do. Thank you |
Hello, jai les ip |
Description
When trying to make an outbound call (either external or internal) the calls wont't be placed.
When opening up the asterisk log, it returns the following AGI error:
AGI ERROR ["PJSIP/proxytrunks-000001a1", "DDI (the ddi, either the extension number or +31 number) not found in database.")
We tried everything, but nothing seems to change the error.
It looks like it always tries to look up the specific DID up in an database, either if it is for an internal or external call.
We tried setting up different outgound routings, routing plans and more.
Are we missing something or is this a bug?
IvozProvider version: 3.0
Related sections:
The text was updated successfully, but these errors were encountered: