Skip to content
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

DDI Provider Addresses not evaluated |No Inbound calls #2786

Open
1 of 6 tasks
dsmaldone opened this issue Oct 7, 2024 · 0 comments
Open
1 of 6 tasks

DDI Provider Addresses not evaluated |No Inbound calls #2786

dsmaldone opened this issue Oct 7, 2024 · 0 comments

Comments

@dsmaldone
Copy link

dsmaldone commented Oct 7, 2024

Description

Inbound calls from DDI Provider are not going through because [DDI Provider Addresses] are not taken into account in kamailio routing at lines

 419     if (!$var(is_from_inside) && !has_totag() && !allow_source_address_group()) {
 420         xwarn("[$dlg_var(cidhash)] Inbound initial request from $si, not recognized as a valid DDI Provider, 403 Forbidden\n");
 421         send_reply("403", "Forbidden");
 422         exit;
 423     }

  • IvozProvider version: 4.24.2.020240916.1269~b5628ac+tempest

  • Related sections:

    • SIP & Telephony
    • vPBX Functionalities
    • Billing & Invoicing
    • Web Interface
    • API
    • Other

Troubleshooting

Receive an Inbound Call with a DDi will show in the log something similar to
Oct 07 13:59:35] [d8ab9be4] Inbound initial request from 185.243.5.78, not recognized as a valid DDI Provider, 403 Forbidden

Additional Information

The solution was to move from allow_source_address_group() to allow_address_group() passing the source IP and address Port

 419     //if (!$var(is_from_inside) && !has_totag() && !allow_source_address_group()) {
 420     if (!$var(is_from_inside) && !has_totag() && !allow_address_group($si,$sp)) {
 421         xwarn("[$dlg_var(cidhash)] Inbound initial request from $si, not recognized as a valid DDI Provider, 403 Forbidden\n");
 422         send_reply("403", "Forbidden");
 423         exit;
 424     }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant