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

Mateusz Kowalski (JIRA) noreply at issues.asterisk.org
Wed Mar 2 10:36:56 CST 2016


Mateusz Kowalski created ASTERISK-25829:
-------------------------------------------

             Summary: Realtime 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: pjproject/pjsip
    Affects Versions: 13.7.2
            Reporter: Mateusz Kowalski
            Severity: Minor


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