-
Notifications
You must be signed in to change notification settings - Fork 79
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
vPBX can not do external/internal calls #2728
Comments
Hi @gmoreno90 Are you using different IP address for Trunks and Users kamailio proxies? Also, I would also try updating to 4.2.0 version (It will be released next week) that have some fixed on how proxies are identified by asterisk on standalone installations. Best regards |
Hi @Kaian root@ivoz42:/etc/apt/sources.list.d# systemctl -l status [email protected] --no-pager Sep 26 14:49:16 ivoz42 kamailio[25997]: tcp: trunks.ivozprovider.local [46.183.118.130]:8002 Best Regards |
Hi, Sorry for the late response, I was on holidays. Can you provide the contents of /etc/kamailio/proxytrunks/listeners.cfg and /etc/kamailio/proxytrunks/ports.cfg ? Best Regards, |
Hi, Could you check if this can be reproduced in 4.2.0? Best regards, |
Mine is: `#!define TRUNKS_DMQ_SERVER "sip:trunks.ivozprovider.local:5060" #!define SIP_PORT 5060 |
I have latest installed, with 2 public IPs, set sip domain and registered both sips to different linphone android and desktop apps. user alice and bob. cant call extensions 101/102 i get 407 / Proxy Authentification Required |
Hi!
All calls from users are initially sent without credentials, resulting in a 407 response. This is followed by a new INVITE with the Authorization header. If the second INVITE also receives a 407, it likely means one of the Authorization headers is incorrect. Please check the realm and password for those terminals. -- However, this isn't the problem described here. The issue is related to how Asterisk (the application server in IvozProvider) identifies the caller. Before version 4.2.0, identification was based on the source IP, which caused issues in scenarios where both kamailio@trunks and kamailio@users shared the same IP. This led to the error shown in the red log (DDI 101 not found in the database). The issue occurred because dani was detected as kamailio@trunks (a ddiprovider/carrier instead of a user), and 101 was mistakenly identified as a DDI (a public number) instead of an extension. This problem was fixed in PR #2756, where we introduced a new method for identifying kamailio@users calls using a SIP header. As a result, both proxies can now share the same IP address, and Asterisk can correctly distinguish between user and provider calls. Note that this bug only occurred in standalone installations where both proxies shared the same IP address. Although this fix resolves that specific issue, additional configuration may be required for proper operation (e.g., configuring different ports for each Kamailio instance). Best regards, |
How to check realm and passwords? |
Hi @Kaian I tested again with v 4.2.0 and the result is the same. the cat of the files are the following root@testivoz:~# cat /etc/kamailio/proxytrunks/listeners.cfg proxytrunks (id: 1)listen=udp:trunks:SIP_PORT root@testivoz:~# cat /etc/kamailio/proxytrunks/ports.cfg #!define SIP_PORT 5060 maybe need to do a manual adjust? |
Description
I'm trying to create a vPbx Client and this client cal recieve call but not sent (internal or external)
We configured:
When try to call between 1001 to 1002 return 603 Decline
searching the asterisk debug we can see the following error
> [2dec43c3] Executing [1002@trunks:1] NoOp("PJSIP/proxytrunks-0000001c", "Incoming external call from "" <gonzalo> to 1002") in new stack > [2dec43c3] Executing [1002@trunks:2] AGI("PJSIP/proxytrunks-0000001c", "agi://127.0.0.1:4573/fastagi-runner.php?command=Dialplan/Trunks") in new stack > [2dec43c3] [Kernel.php:60 ] AGI Error ("PJSIP/proxytrunks-0000001c", "DDI 1002 not found in database.") -- <PJSIP/proxytrunks-0000001c>AGI Script agi://127.0.0.1:4573/fastagi-runner.php?command=Dialplan/Trunks completed, returning 0 -- Auto fallthrough, channel 'PJSIP/proxytrunks-0000001c' status is 'UNKNOWN'
How we can configure a vpbx on that version? or is samething missing on configuration side?
Thanks
IvozProvider version: 4.0
4.0.520240430.1111~34aa327+tempestRelated sections:
Troubleshooting
Create the following data on vpbx client
Additional Information
N/A
The text was updated successfully, but these errors were encountered: