[asterisk-bugs] [JIRA] (ASTERISK-28514) phoneprov and RealTime

Oleg (JIRA) noreply at issues.asterisk.org
Mon Aug 26 03:25:47 CDT 2019


Oleg created ASTERISK-28514:
-------------------------------

             Summary: phoneprov and RealTime
                 Key: ASTERISK-28514
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28514
             Project: Asterisk
          Issue Type: Information Request
      Security Level: None
          Components: Resources/res_phoneprov, Resources/res_realtime
    Affects Versions: 16.5.0
            Reporter: Oleg
            Severity: Trivial


Please tell how phoneprov run in RealTime.
I tried:
/etc/asterisk/extconfig.conf 
ps_endpoints => odbc,asterisk
ps_auths => odbc,asterisk
ps_aors => odbc,asterisk
ps_domain_aliases => odbc,asterisk
ps_endpoint_id_ips => odbc,asterisk
ps_phoneprov => odbc,asterisk

/etc/asterisk/sorcery.conf
[res_pjsip_phoneprov_provider]
phoneprov = realtime, ps_phoneprov

SELECT * FROM `ps_phoneprov` WHERE 1;
+------+-----------+----------+--------------+---------+------+---------+-------------+
| id   | type      | endpoint | MAC          | PROFILE | LINE | LABEL   | SERVER      |
+------+-----------+----------+--------------+---------+------+---------+-------------+
| 2778 | phoneprov | 2778     | 805ec0830055 | yealink |    1 | yealink | 10.40.0.164 |
| 7001 | phoneprov | 7001     | 805EC0830055 | yealink |    1 | yealink | NULL        |
+------+-----------+----------+--------------+---------+------+---------+-------------+
But in Dynamic routes, the phone does not appear.
If using pjsip.conf:
[2775]
type = phoneprov
endpoint = 2775
MAC = 805EC0830055; $ {MAC}
PROFILE = yealink_t19_0053
then everything works.



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



More information about the asterisk-bugs mailing list