[asterisk-bugs] [JIRA] (ASTERISK-29502) res_pjsip_config_wizard: doesn't take into account setting "identify/match"

Stanislav Abramenkov (JIRA) noreply at issues.asterisk.org
Wed Jun 30 15:52:33 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255503#comment-255503 ] 

Stanislav Abramenkov edited comment on ASTERISK-29502 at 6/30/21 3:51 PM:
--------------------------------------------------------------------------

This problem is solved. You are right, it is not a deadlock.

About problem with res_pjsip_config_wizard. Seems that it not solve the issue. If I remove accepts_registrations = yes in a config file, then I got 
[Jun 30 23:32:15] ERROR[862]: res_pjsip_config_wizard.c:757 handle_identify: Wizard 'trunk_name' must have 'remote_hosts' if it doesn't accept registrations.
[Jun 30 23:32:15] ERROR[862]: res_pjsip_config_wizard.c:1116 object_type_loaded_observer: Unable to create objects for wizard 'trunk_name'

And I can't call out from trunk. (error: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from )


CLI> pjsip show endpoint trunk_name

Endpoint: trunk_name Not in use 0 of inf
InAuth: trunk_name-iauth/trunk_name
Aor: trunk_name 1
Contact: trunk_name/sip:trunk_name at XXX.XXX.XXX.XXX;tra 7d0851b18e Avail        28.388



was (Author: silentindark):
This problem is solved. You are right, it is not a deadlock.

About problem with res_pjsip_config_wizard. Seems that it not solve the issue. If I remove accepts_registrations = yes in a config file, then I got 
And I can't call out from trunk. (error: res_pjsip/pjsip_distributor.c:676 log_failed_request: Request 'INVITE' from )

[Jun 30 23:32:15] ERROR[862]: res_pjsip_config_wizard.c:757 handle_identify: Wizard 'trunk_name' must have 'remote_hosts' if it doesn't accept registrations.
[Jun 30 23:32:15] ERROR[862]: res_pjsip_config_wizard.c:1116 object_type_loaded_observer: Unable to create objects for wizard 'trunk_name'

CLI> pjsip show endpoint trunk_name

Endpoint: trunk_name Not in use 0 of inf
InAuth: trunk_name-iauth/trunk_name
Aor: trunk_name 1
Contact: trunk_name/sip:trunk_name at XXX.XXX.XXX.XXX;tra 7d0851b18e Avail        28.388


> res_pjsip_config_wizard: doesn't take into account setting "identify/match"
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-29502
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29502
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_config_wizard
>    Affects Versions: 16.19.0
>            Reporter: Stanislav Abramenkov
>            Assignee: Unassigned
>         Attachments: full2.txt, full.txt, pjsip.conf, pjsip_wizard.conf
>
>
> Hello, 
> I have problem with SIP Trunk configuration using PJSIP Wizard.
> It seems that module "res_pjsip_config_wizard.so" doesn't respect (or can't read) setting "identify/match" in Wizard configuration file.
> According to documentation:
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Configuration_res_pjsip_config_wizard
> identify/* 	 Variables to be passed directly to the identify.
> Output when I try to configure Trunk using PJSIP Wizard (File pjsip_wizard.conf in attachment)
> CLI> pjsip show endpoint trunk_name
>  Endpoint:  trunk_name                                           Not in use    0 of inf
>      InAuth:  trunk_name-iauth/trunk_name
>         Aor:  trunk_name                                         1
>       Contact:  trunk_name/sip:trunk_name at XXX.XXX.XXX.XXX;tra 7d0851b18e Avail        35.242
> Output when I use PJSIP without Wizard (File pjsip.conf in attachment)
> CLI> pjsip show endpoint trunk_name
>  Endpoint:  trunk_name                                           Not in use    0 of inf
>      InAuth:  trunk_name/trunk_name
>         Aor:  trunk_name                                         1
>       Contact:  trunk_name/sip:trunk_name at XXX.XXX.XXX.XXX;tra 7d0851b18e Avail        35.212
>    Identify:  trunk_name/trunk_name
>         Match: XXX.XXX.XXX.XXX/32



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list