I tried updating to 13.8-cert4 and still have the same issue.
After some testing I also found that 2-way audio during the call stops when the record button is pressed.
I also set up dpma logging in logger.conf
dpma => dpma
full => notice,warning,error,debug,verbose,dtmf,fax,dpma
Output of /var/log/asterisk/dpma when the record button is pressed:
[Jan 6 14:05:11] DPMA[23203] phone_message.c: Receive fm pjsip:192.168.1.59:5060;transport=udp 'HTTPRequest' body length = 1024
[Jan 6 14:05:11] DPMA[24119] phone_request.c: Asterisk request method 'switchvox.users.currentCalls.startRecording' is using XML body
[Jan 6 14:05:11] DPMA[24119] phone_message.c: Sending to pjsip:192.168.1.59:5060;transport=udp 'HTTPResponse' body length 166
Not sure what the “switchvox” reference is about.
This is the CLI output when the record button is pressed:
Asterisk1*CLI>
-- Executing [proxy@dpma_pjsip_message_context:1] Set("Message/ast_msg_queue", "MESSAGE(custom_data)=mark_all_outbound") in new stack
-- Executing [proxy@dpma_pjsip_message_context:2] Set("Message/ast_msg_queue", "MESSAGE_DATA(X-Digium-AppServer-Response-URI)=pjsip:192.168.1.59:5060") in new stack
-- Executing [proxy@dpma_pjsip_message_context:3] Set("Message/ast_msg_queue", "MESSAGE_DATA(X-Digium-AppServer-Response-FullContact)=") in new stack
-- Executing [proxy@dpma_pjsip_message_context:4] MessageSend("Message/ast_msg_queue", "digium_phone:blah") in new stack
-- Executing [proxy@dpma_pjsip_message_context:5] Hangup("Message/ast_msg_queue", "") in new stack
== Spawn extension (dpma_pjsip_message_context, proxy, 5) exited non-zero on 'Message/ast_msg_queue'
> Adding 1000@default to recipient list
== Begin MixMonitor Recording PJSIP/1000-00000010
> Bridge 58f576cd-cd6e-46c0-8c0b-fb2a461c135f: switching from native_rtp technology to simple_bridge
-- Executing [digium_phone_module@dpma_pjsip_message_context:1] Set("Message/ast_msg_queue", "MESSAGE(custom_data)=mark_all_outbound") in new stack
-- Executing [digium_phone_module@dpma_pjsip_message_context:2] Set("Message/ast_msg_queue", "TMP_RESPONSE_URI=pjsip:192.168.1.59:5060;transport=udp") in new stack
-- Executing [digium_phone_module@dpma_pjsip_message_context:3] Set("Message/ast_msg_queue", "MESSAGE_DATA(Request-URI)=") in new stack
-- Executing [digium_phone_module@dpma_pjsip_message_context:4] Set("Message/ast_msg_queue", "MESSAGE_DATA(X-Digium-AppServer-Response-URI)=") in new stack
-- Executing [digium_phone_module@dpma_pjsip_message_context:5] Set("Message/ast_msg_queue", "MESSAGE_DATA(X-Digium-AppServer-Response-FullContact)=") in new stack
-- Executing [digium_phone_module@dpma_pjsip_message_context:6] MessageSend("Message/ast_msg_queue", "pjsip:192.168.1.59:5060;transport=udp,proxy") in new stack
-- Executing [digium_phone_module@dpma_pjsip_message_context:7] Hangup("Message/ast_msg_queue", "") in new stack
== Spawn extension (dpma_pjsip_message_context, digium_phone_module, 7) exited non-zero on 'Message/ast_msg_queue'
Asterisk1*CLI>
Can you post your phone config in res_digium_phone.conf setup, here is mine:
; ---- PHONE Test1 ----
[test1]
type=phone
network=network1
mac=000fdxxxxx
line=1000
full_name=Test1 Phone
contact=test1contacts.xml
blf_contact_group=RapidDial
blf_items=test1blfitems.xml
contacts_max_subscriptions=40
timezone=America/New_York
ntp_resync=86400
parking_exten=700
parking_transfer_type=blind
active_ringtone=Beep
web_ui_enabled=yes
record_own_calls=yes
blf_unused_linekeys=yes
d65_logo_file=d65_background299x205.png
display_mc_notification=0
can_forward_calls=yes
enable_check_sync=yes
There’s not much in the line config other than mailbox=1000@default.
The call record button does record while in an echo test.
After the D65 gets a factory reset and provision load, the first recording works but only the first part of the recording sounds normal, then distortion and silence. Very odd.