Zulu incoming call auto-answer (PJSIP)

Hi I’m trying to get Zulu to auto-answer call sent to it from a custom dialplal. Here is what I tried:

exten => s,n,Set(PJSIP_HEADER(add,Alert-info)=“answer-after = 0”)
exten => s,n,Set(PJSIP_HEADER(add,Alert-info)=“info = alert-autoanswer”)
exten => s,n,Set(PJSIP_HEADER(add,Alert-info)=“Auto Answer”)
exten => s,n,Dial(Local/90${agents_extension}@zulu-call,35,HhtrIb(func-apply-sipheaders^s^1))

I see the code properly executes in the logs:

[2021-06-24 12:17:52] VERBOSE[12365][C-0000c4dd] pbx.c: Executing [s@dialer-campaign-standard-doit:26] Set("SIP/204.10.207.101-0000adbf", "PJSIP_HEADER(add,Alert-info)=“answer-after = 0”") in new stack
[2021-06-24 12:17:52] ERROR[12365][C-0000c4dd] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2021-06-24 12:17:52] VERBOSE[12365][C-0000c4dd] pbx.c: Executing [s@dialer-campaign-standard-doit:27] Set("SIP/204.10.207.101-0000adbf", "PJSIP_HEADER(add,Alert-info)=“info = alert-autoanswer”") in new stack
[2021-06-24 12:17:52] ERROR[12365][C-0000c4dd] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2021-06-24 12:17:52] VERBOSE[12365][C-0000c4dd] pbx.c: Executing [s@dialer-campaign-standard-doit:28] Set("SIP/204.10.207.101-0000adbf", "PJSIP_HEADER(add,Alert-info)=“Auto Answer”") in new stack
[2021-06-24 12:17:52] ERROR[12365][C-0000c4dd] res_pjsip_header_funcs.c: This function requires a PJSIP channel.
[2021-06-24 12:17:52] VERBOSE[12365][C-0000c4dd] pbx.c: Executing [s@dialer-campaign-standard-doit:29] Dial("SIP/204.10.207.101-0000adbf", "Local/90950@zulu-call,35,HhtrIb(func-apply-sipheaders^s^1)") in new stack
[2021-06-24 12:17:52] VERBOSE[12365][C-0000c4dd] app_stack.c: Local/90950@zulu-call-0000014b;1 Internal Gosub(func-apply-sipheaders,s,1) start

The Zulu client rings but does not auto-answer.

The func-apply-sipheaders is part of freePBX ans seems to be required for the CRM URL to properly work with Zulu.

Any idea how to get the Zulu Client to auto-answer ?

Thanks.

This question would be better fit on the FreePBX community forum in the Zulu category.

Although, from what I read on the forum, Zulu is an end of life product.

Zulu mobile is EOL in favor of Connect mobile. Zulu desktop is supported.

@NetForces pls post in the FreePBX community as recommended by Josh.

Thanks guys.

For those hitting this thread the new post on the freePBX forum is here: Zulu incoming call auto-answer (PJSIP) - Commercial Modules - FreePBX Community Forums

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.