On-hook doesn't work and I see a dial plan error --- SOLVED

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

On-hook doesn't work and I see a dial plan error --- SOLVED

Postby omar » Fri Sep 02, 2016 8:35 pm

Hello

I enabled on-hook feature and my phone doesn't ring when a call is going to my in group

This is how I configured vicidial
Admin/phones --> On-Hook Agent: = Y
INBOUND/INGROUP --> Next Agent Call: = ring_all

When a call goes to my ingroup and my phone doesn't ring at all. I see the following error in the asterisk console:


[Sep 2 21:27:45] WARNING[6344][C-00000058]: pbx.c:1675 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (Dial(IAX2/2901|60|))
[Sep 2 21:27:45] ERROR[6344][C-00000058]: netsock2.c:271 ast_sockaddr_resolve: getaddrinfo("2901|60|", "(null)", ...): Name or service not known
[Sep 2 21:27:45] WARNING[6344][C-00000058]: acl.c:833 resolve_first: Unable to lookup '2901|60|'
[Sep 2 21:27:45] WARNING[6344][C-00000058]: chan_iax2.c:4724 create_addr: No such host: 2901|60|
[Sep 2 21:27:45] WARNING[6344][C-00000058]: app_dial.c:2455 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
[Sep 2 21:27:45] == Everyone is busy/congested at this time (1:0/0/1)


Code: Select all
[Sep  2 21:27:45]     -- Executing [192*168*002*007*2901@default:1] Goto("Local/192*168*002*007*2901@default-0000003e;2", "default,2901,1") in new stack
[Sep  2 21:27:45]     -- Goto (default,2901,1)
[Sep  2 21:27:45]     -- Executing [2901@default:1] Dial("Local/192*168*002*007*2901@default-0000003e;2", "IAX2/2901|60|") in new stack
[b]
[Sep  2 21:27:45] WARNING[6344][C-00000058]: pbx.c:1675 pbx_exec: The application delimiter is now the comma, not the pipe.  Did you forget to convert your dialplan?  (Dial(IAX2/2901|60|))
[Sep  2 21:27:45] ERROR[6344][C-00000058]: netsock2.c:271 ast_sockaddr_resolve: getaddrinfo("2901|60|", "(null)", ...): Name or service not known
[Sep  2 21:27:45] WARNING[6344][C-00000058]: acl.c:833 resolve_first: Unable to lookup '2901|60|'
[Sep  2 21:27:45] WARNING[6344][C-00000058]: chan_iax2.c:4724 create_addr: No such host: 2901|60|
[Sep  2 21:27:45] WARNING[6344][C-00000058]: app_dial.c:2455 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
[Sep  2 21:27:45]   == Everyone is busy/congested at this time (1:0/0/1)
[/b]
[Sep  2 21:27:45]     -- Executing [2901@default:2] Goto("Local/192*168*002*007*2901@default-0000003e;2", "default,850266666666662901,1") in new stack
[Sep  2 21:27:45]     -- Goto (default,850266666666662901,1)
[Sep  2 21:27:45]     -- Executing [850266666666662901@default:1] Wait("Local/192*168*002*007*2901@default-0000003e;2", "1") in new stack
[Sep  2 21:27:46]     -- Executing [850266666666662901@default:2] VoiceMail("Local/192*168*002*007*2901@default-0000003e;2", "2901,u") in new stack
[Sep  2 21:27:46]        > Channel Local/192*168*002*007*2901@default-0000003e;1 was answered
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:1] Playback("Local/192*168*002*007*2901@default-0000003e;1", "sip-silence") in new stack
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;2> Playing 'vm-theperson.gsm' (language 'en')
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:2] AGI("Local/192*168*002*007*2901@default-0000003e;1", "agi-VDAD_RINGALL.agi,8331*38*Y9022127450000000103*2001*2901") in new stack
[Sep  2 21:27:46]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_RINGALL.agi
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1>AGI Script agi-VDAD_RINGALL.agi completed, returning 0
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:3] AGI("Local/192*168*002*007*2901@default-0000003e;1", "agi-VDAD_RINGALL.agi,8331*38*Y9022127450000000103*2001*2901") in new stack
[Sep  2 21:27:46]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_RINGALL.agi
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1>AGI Script agi-VDAD_RINGALL.agi completed, returning 0
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:4] AGI("Local/192*168*002*007*2901@default-0000003e;1", "agi-VDAD_RINGALL.agi,8331*38*Y9022127450000000103*2001*2901") in new stack
[Sep  2 21:27:46]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_RINGALL.agi
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1>AGI Script agi-VDAD_RINGALL.agi completed, returning 0
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:5] Hangup("Local/192*168*002*007*2901@default-0000003e;1", "") in new stack
[Sep  2 21:27:46]   == Spawn extension (default, 8331*38*Y9022127450000000103*2001*2901, 5) exited non-zero on 'Local/192*168*002*007*2901@default-0000003e;1'
[Sep  2 21:27:46]     -- Executing [h@default:1] AGI("Local/192*168*002*007*2901@default-0000003e;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
[Sep  2 21:27:46]   == Spawn extension (default, 850266666666662901, 2) exited non-zero on 'Local/192*168*002*007*2901@default-0000003e;2'
[Sep  2 21:27:46]     -- Executing [h@default:1] AGI("Local/192*168*002*007*2901@default-0000003e;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------- completed, returning 0
[Sep  2 21:27:47]     -- Started music on hold, class 'default', on IAX2/atlanta-1549
[Sep  2 21:27:47]   == Manager 'sendcron' logged off from 127.0.0.1
[Sep  2 21:27:50]     -- Stopped music on hold on IAX2/atlanta-1549
[Sep  2 21:27:50]     -- <IAX2/atlanta-1549> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:50]     -- <IAX2/atlanta-1549> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:50]     -- <IAX2/atlanta-1549> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:50]     -- <IAX2/atlanta-1549> Playing 'generic_hold.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:56]     -- Started music on hold, class 'default', on IAX2/atlanta-1549



Thanks

ViciBox v.7.0.3
Vicidial Version: 2.12b0.5
Vicidial SVN Rev: 2580
1xDB-Web-Dialer-Archive (all in one server)
Last edited by omar on Mon Sep 05, 2016 5:06 pm, edited 1 time in total.
Omar
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Re: On-hook doesn't work and I see a dial plan error

Postby williamconley » Fri Sep 02, 2016 10:01 pm

Try with SIP and see if that works. I've never had an error with IAX/OnHook ... but it would be interesting to see if it's actually related to IAX.

Also: Is your asterisk version correct in admin->servers? That "comma" error is usually the result of using the wrong version of asterisk .conf file code.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: On-hook doesn't work and I see a dial plan error

Postby omar » Mon Sep 05, 2016 5:05 pm

williamconley wrote:Try with SIP and see if that works. I've never had an error with IAX/OnHook ... but it would be interesting to see if it's actually related to IAX.

Also: Is your asterisk version correct in admin->servers? That "comma" error is usually the result of using the wrong version of asterisk .conf file code.


Thanks Williamconley
The problem was solved as you said. Going to admin --> servers --> Asterisk Version: = 11.22.0
Omar
omar
 
Posts: 77
Joined: Wed Dec 13, 2006 2:05 pm

Re: On-hook doesn't work and I see a dial plan error --- SOL

Postby williamconley » Mon Sep 05, 2016 8:18 pm

Good postback. It helps the next guy! 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: On-hook doesn't work and I see a dial plan error --- SOL

Postby dheerendra » Fri Jun 16, 2023 1:10 am

omar wrote:Hello

I enabled on-hook feature and my phone doesn't ring when a call is going to my in group

This is how I configured vicidial
Admin/phones --> On-Hook Agent: = Y
INBOUND/INGROUP --> Next Agent Call: = ring_all

When a call goes to my ingroup and my phone doesn't ring at all. I see the following error in the asterisk console:


[Sep 2 21:27:45] WARNING[6344][C-00000058]: pbx.c:1675 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (Dial(IAX2/2901|60|))
[Sep 2 21:27:45] ERROR[6344][C-00000058]: netsock2.c:271 ast_sockaddr_resolve: getaddrinfo("2901|60|", "(null)", ...): Name or service not known
[Sep 2 21:27:45] WARNING[6344][C-00000058]: acl.c:833 resolve_first: Unable to lookup '2901|60|'
[Sep 2 21:27:45] WARNING[6344][C-00000058]: chan_iax2.c:4724 create_addr: No such host: 2901|60|
[Sep 2 21:27:45] WARNING[6344][C-00000058]: app_dial.c:2455 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
[Sep 2 21:27:45] == Everyone is busy/congested at this time (1:0/0/1)


Code: Select all
[Sep  2 21:27:45]     -- Executing [192*168*002*007*2901@default:1] Goto("Local/192*168*002*007*2901@default-0000003e;2", "default,2901,1") in new stack
[Sep  2 21:27:45]     -- Goto (default,2901,1)
[Sep  2 21:27:45]     -- Executing [2901@default:1] Dial("Local/192*168*002*007*2901@default-0000003e;2", "IAX2/2901|60|") in new stack
[b]
[Sep  2 21:27:45] WARNING[6344][C-00000058]: pbx.c:1675 pbx_exec: The application delimiter is now the comma, not the pipe.  Did you forget to convert your dialplan?  (Dial(IAX2/2901|60|))
[Sep  2 21:27:45] ERROR[6344][C-00000058]: netsock2.c:271 ast_sockaddr_resolve: getaddrinfo("2901|60|", "(null)", ...): Name or service not known
[Sep  2 21:27:45] WARNING[6344][C-00000058]: acl.c:833 resolve_first: Unable to lookup '2901|60|'
[Sep  2 21:27:45] WARNING[6344][C-00000058]: chan_iax2.c:4724 create_addr: No such host: 2901|60|
[Sep  2 21:27:45] WARNING[6344][C-00000058]: app_dial.c:2455 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
[Sep  2 21:27:45]   == Everyone is busy/congested at this time (1:0/0/1)
[/b]
[Sep  2 21:27:45]     -- Executing [2901@default:2] Goto("Local/192*168*002*007*2901@default-0000003e;2", "default,850266666666662901,1") in new stack
[Sep  2 21:27:45]     -- Goto (default,850266666666662901,1)
[Sep  2 21:27:45]     -- Executing [850266666666662901@default:1] Wait("Local/192*168*002*007*2901@default-0000003e;2", "1") in new stack
[Sep  2 21:27:46]     -- Executing [850266666666662901@default:2] VoiceMail("Local/192*168*002*007*2901@default-0000003e;2", "2901,u") in new stack
[Sep  2 21:27:46]        > Channel Local/192*168*002*007*2901@default-0000003e;1 was answered
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:1] Playback("Local/192*168*002*007*2901@default-0000003e;1", "sip-silence") in new stack
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;2> Playing 'vm-theperson.gsm' (language 'en')
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:2] AGI("Local/192*168*002*007*2901@default-0000003e;1", "agi-VDAD_RINGALL.agi,8331*38*Y9022127450000000103*2001*2901") in new stack
[Sep  2 21:27:46]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_RINGALL.agi
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1>AGI Script agi-VDAD_RINGALL.agi completed, returning 0
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:3] AGI("Local/192*168*002*007*2901@default-0000003e;1", "agi-VDAD_RINGALL.agi,8331*38*Y9022127450000000103*2001*2901") in new stack
[Sep  2 21:27:46]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_RINGALL.agi
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1>AGI Script agi-VDAD_RINGALL.agi completed, returning 0
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:4] AGI("Local/192*168*002*007*2901@default-0000003e;1", "agi-VDAD_RINGALL.agi,8331*38*Y9022127450000000103*2001*2901") in new stack
[Sep  2 21:27:46]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_RINGALL.agi
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1>AGI Script agi-VDAD_RINGALL.agi completed, returning 0
[Sep  2 21:27:46]     -- Executing [8331*38*Y9022127450000000103*2001*2901@default:5] Hangup("Local/192*168*002*007*2901@default-0000003e;1", "") in new stack
[Sep  2 21:27:46]   == Spawn extension (default, 8331*38*Y9022127450000000103*2001*2901, 5) exited non-zero on 'Local/192*168*002*007*2901@default-0000003e;1'
[Sep  2 21:27:46]     -- Executing [h@default:1] AGI("Local/192*168*002*007*2901@default-0000003e;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
[Sep  2 21:27:46]   == Spawn extension (default, 850266666666662901, 2) exited non-zero on 'Local/192*168*002*007*2901@default-0000003e;2'
[Sep  2 21:27:46]     -- Executing [h@default:1] AGI("Local/192*168*002*007*2901@default-0000003e;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Sep  2 21:27:46]     -- <Local/192*168*002*007*2901@default-0000003e;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------- completed, returning 0
[Sep  2 21:27:47]     -- Started music on hold, class 'default', on IAX2/atlanta-1549
[Sep  2 21:27:47]   == Manager 'sendcron' logged off from 127.0.0.1
[Sep  2 21:27:50]     -- Stopped music on hold on IAX2/atlanta-1549
[Sep  2 21:27:50]     -- <IAX2/atlanta-1549> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:50]     -- <IAX2/atlanta-1549> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:50]     -- <IAX2/atlanta-1549> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:50]     -- <IAX2/atlanta-1549> Playing 'generic_hold.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Sep  2 21:27:56]     -- Started music on hold, class 'default', on IAX2/atlanta-1549



Thanks

ViciBox v.7.0.3
Vicidial Version: 2.12b0.5
Vicidial SVN Rev: 2580
1xDB-Web-Dialer-Archive (all in one server)
dheerendra
 
Posts: 2
Joined: Tue Jun 06, 2023 5:34 am

Re: On-hook doesn't work and I see a dial plan error --- SOL

Postby dheerendra » Fri Jun 16, 2023 1:18 am

I am getting this error when i am calling from the softphone


Connected to Asterisk 11.22.0-vici currently running on ip-172-31-0-66 (pid = 1448)
[Jun 16 02:15:53] WARNING[5050][C-00000007]: pbx.c:1675 pbx_exec: The application delimiter is now the comma, not the pipe. Did you forget to convert your dialplan? (Dial(SIP/123|60|))
[Jun 16 02:15:53] ERROR[5050][C-00000007]: netsock2.c:271 ast_sockaddr_resolve: getaddrinfo("123|60|", "(null)", ...): Name or service not known
[Jun 16 02:15:53] WARNING[5050][C-00000007]: chan_sip.c:6078 create_addr: No such host: 123|60|
[Jun 16 02:15:53] WARNING[5050][C-00000007]: app_dial.c:2455 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[Jun 16 02:15:54] WARNING[5050][C-00000007]: res_rtp_asterisk.c:4248 ast_rtp_read: RTP Read too short
[Jun 16 02:15:54] WARNING[5050][C-00000007]: res_rtp_asterisk.c:4248 ast_rtp_read: RTP Read too short
[Jun 16 02:15:54] WARNING[5050][C-00000007]: res_rtp_asterisk.c:4248 ast_rtp_read: RTP Read too short
[Jun 16 02:15:54] WARNING[5050][C-00000007]: res_rtp_asterisk.c:4248 ast_rtp_read: RTP Read too short
dheerendra
 
Posts: 2
Joined: Tue Jun 06, 2023 5:34 am


Return to Support

Who is online

Users browsing this forum: No registered users and 226 guests