[asterisk-bugs] [JIRA] (ASTERISK-25829) res_pjsip: PJSIP does not accept spaces when separating multiple AORs

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:18:05 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-25829:
-------------------------------------

    Target Release Version/s: 14.0.0

> res_pjsip: PJSIP does not accept spaces when separating multiple AORs
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-25829
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25829
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.7.2
>            Reporter: Mateusz Kowalski
>            Assignee: George Joseph
>            Severity: Minor
>      Target Release: 13.8.0, 14.0.0
>
>
> Hi,
> I have just noticed a behaviour which you'd probably would like to change. As reported in community - https://community.asterisk.org/t/realtime-pjsip-and-multiple-aors - when using PJSIP in Realtime mode, I want to assign more than one AOR to a particular endpoint
> insert into ps_endpoints (id, transport, aors, context, allow, direct_media) values ('kamailio', 'transport-udp', '101, 102, 103, 104, 105', 'testing', 'all', 'yes');
> Unfortunately in this example, only AOR "101" will be allowed and rest of them is going to be ignored. When I correct it to 
> insert into ps_endpoints (id, transport, aors, context, allow, direct_media) values ('kamailio', 'transport-udp', '101,102,103,104,105', 'testing', 'all', 'yes');
> everything works correctly, so it looks like comma is considered as a valid separator, but comma followed by space is not.
> Regards,
> -- Mateusz



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



More information about the asterisk-bugs mailing list