Parking timeout callback generates invalid Dial command

I’m using versn 1.6.1.0. My setup uses ext 800 to park and 801-820 to pickup. Both parking and pickup work fine. The problem is that after a call has been parked, and the timeout period expires, the call is just hung up. I suspect the problem is due to generated callback Dial command using pipes instead of commas between arguments. Here’s what I see from level 3 logging:

Timeout for DAHDI/1-1 parked on 801 (default). Returning to park-dial,SIP0a404,1

– Executing [SIP0a404@park-dial:1] Dial(“DAHDI/1-1”, “SIP/a404|30|THthk”) in new stack

[May 29 10:59:29] WARNING[5128]: pbx.c:953 pbx_exec: The application delimiter is now the comma, not the pipe.
Did you forget to convert your dialplan? (Dial(SIP/a404|30|THthk))

(A few seconds later)

[May 29 10:59:39] WARNING[5128]: chan_sip.c:4526 create_addr: No such host: a404|30|THthk

[May 29 10:59:39] WARNING[5128]: app_dial.c:1518 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Unknown)

Is there a way to workaround this problem short of hunting thru the source code?

  • Dennis

Hi Dennis,
I fixed this problem on my dev box last night by editing main/features.c
I found two lines in there that had pipes instead of commas.
You should be able to search for |30| and replace the pipes “|” on those two dial command lines with commas. Then make and make install.
I have not done anymore research on this yet but this may be enough to get you started.

Jeff