[solved] Digium_phones show lines ---- 0 SIP Lines Found

Note: To work at all, it needs to have the new firmware pushed to the phones MANUALLY through logging into the phones interface directly by turning this on and configuring the firmware server, You might have to toggle “web_ui_enabled=yes” to force it to get it’s firmware before it can use the discovery protocol.

firmware_url_prefix=http://192.168.1.230/digium_phones_firmware/
firmware_package_directory=/var/www/html/digium_phones_firmware/

Then to push configs with the DMCA discovery protocol, bu turning off the web gui (because the conflict)

web_ui_enabled=no

Actual proven working config (after firmware update):

[general]
userlist_auth=disabled
config_auth=disabled
registration_address=192.168.1.230
registration_port=5060
service_name=VoiceIP DPMA
service_discovery_enabled=yes
;firmware_url_prefix=http://192.168.1.230/digium_phones_firmware/
;firmware_package_directory=/var/www/html/digium_phones_firmware/
digit_map=[0-8]xxx
timezone=America/Chicago
parking_transfer_type=blind
ntp_server=pool.ntp.org
ntp_resync=3600
file_directory=/var/lib/asterisk/digium_phones
message_context=dpma_message_context

[phone_1]
type=phone
full_name = Phone One
line=101
line=102
web_ui_enabled=yes
parking_exten=700
parking_transfer_type=blind

Note, it seemed to fail without:

userlist_auth=disabled
config_auth=disabled


I got the lisence installed:

*CLI> digium_phones license status
OK, Valid product license found

Sip phones online and callable, configured in sip.conf:

*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
101/101 192.168.1.24 D 5060 OK (3 ms)
102/102 192.168.1.24 D 5060 OK (3 ms)
201/201 192.168.1.20 D 5060 OK (4 ms)
202/202 192.168.1.20 D 5060 OK (4 ms)
4 sip peers [Monitored: 4 online, 0 offline Unmonitored: 0 online, 0 offline]

Defined in file: res_digium_phone,conf

[201] ; MUST match a valid sip.conf peer entry
type=line
line_label=Internal
digit_map=[0-8]xxx|911|9411|9611|9011xxx.T3|91xxxxxxxxxx|9[2-9]xxxxxx|*xx.T3|[0-8]xx.T3

No DPMA extensions :frowning:

*CLI> digium_phones show lines
— Lines Mapped to Phones —
— Lines Un-Mapped to Phones —
---- 0 SIP Lines Found ----

How to get a D40 and D50 phones to play nice with the DPMA? The overall goal is to make the sidecar show parked calls, but I understand we must address the prerequisites.

Thanks

Do you define a Phone in the res_digium_phone.conf? And do you reload the module?

One phone had been defined as shown in the in-file example, from my original post above:

Defined in file: res_digium_phone,conf

[201] ; MUST match a valid sip.conf peer entry
type=line
line_label=Internal
digit_map=[0-8]xxx|911|9411|9611|9011xxx.T3|91xxxxxxxxxx|9[2-9]xxxxxx|*xx.T3|[0-8]xx.T3

One phone had been defined as shown in the in-file example, from my original post above:

Defined in file: res_digium_phone,conf

[201] ; MUST match a valid sip.conf peer entry
type=line
line_label=Internal
digit_map=[0-8]xxx|911|9411|9611|9011xxx.T3|91xxxxxxxxxx|9[2-9]xxxxxx|*xx.T3|[0-8]xx.T3[/quote]

Nope, thats a Line you need to define a Phone with a line then a Line.

This is a basic example for a D40 phone:

[general]
service_discovery_enabled=yes
service_name=DIGIUM PHONES SERVER
registration_address=10.100.210.10
registration_port=5060
user_list_auth=disabled
config_auth=mac

parking_exten=700
parking_transfer_type=blind

message_context=dpma_message_context
firmware_url_prefix=http:/10.100.210.10/digium_phones_firmware
firmware_package_directory=/var/www/html/digium_phones_firmware
file_directory=/var/lib/asterisk/digium_phones

;Phones section
[MalcolmPhone]
type=phone
full_name=Malcolm
line=1001
mac=0000000000
contact=sensicontacts.xml
parking_exten=700
parking_transfer_type=blind
ringtone=Office
web_ui_enabled=no
record_own_calls=yes
blf_unused_linekeys=no
d40_logo_file=d40_logo.png
d50_logo_file=d50_logo.png
d70_logo_file=d70_logo.png

;lines section
[1001]
type=line
line_label=Malcolm
digit_map=2[0-5]XXXXXX|[7-9][7-9]XXXXXX|1182|112
exten=1001
mailbox=1001
secret=s3ns1100112e&%
voicemail_uri=sip:9898@10.100.210.10
outboundproxy_address=10.100.210.10
outboundproxy_port=5060

Howdy,

Right. :smile:

The general section defines all options that are purely general to the DPMA.

“Phones” are built on top of the other types:

Networks
Lines
External Lines
Alerts
Ringtones
Applications

The other types are all things that are applied to a phone to create the proper phone “profile” / “entity.”