exten h,1 clarification

All installation and configuration problems and questions

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

exten h,1 clarification

Postby seaq » Mon Jan 21, 2008 4:38 pm

Hi according to conf_examples and scratch_install from 2.04 i must have

##### This 'h' exten is VERY important for VICIDIAL usage,
##### you will have problems if it is not in your dialplan!
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}))

in my extensions.conf.

It's there, but i'm having some random problems (stuck calls in auto_call, stuck in waiting for 1 sec., and some others...) and in the posts i've found it seems that most of this problems are caused for not having the h extension properly configured.

The question is that in all the posts i've seen the h extension is like:

exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log)
exten => h,2,DeadAGI(agi://127.0.0.1:4577/VD_hangup--HVcause ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}))

and not as i've got it in my setup.

Which one is right? i'm assuming that from 2.04 is only 1 line?

can someone make this clear for me?

thanks a lot

regards

Andres
seaq
 
Posts: 86
Joined: Tue Jul 04, 2006 8:27 pm

Postby mflorell » Tue Jan 22, 2008 8:04 pm

From the UPGRADE document:

8. REQUIRED! Changed the FastAGI_log process to consolidate the "h" exten hangup process into one executed function instead of two. Because of this, the h exten needs to be changed to only the following:
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})


Yes, you only need one line for "h" as of the 2.0.4 release.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby seaq » Tue Jan 22, 2008 8:10 pm

thanks a lot!!

as always our fault, :oops:

why on earth i didn't read the docs??

Thanks!!
seaq
 
Posts: 86
Joined: Tue Jul 04, 2006 8:27 pm

Postby cocob » Tue Apr 08, 2008 2:49 am

Hy guys, I have replaced the old "h" exten, but I am facing the same problem. The "h" exten was executed but the agent cant hangup the call until the called party hangs up their call. This is very uncomfortable when in production.
Please help!!!
cocob
 
Posts: 3
Joined: Tue Apr 08, 2008 2:44 am

Postby mflorell » Tue Apr 08, 2008 7:31 am

You are going to need to provide some Asterisk CLI output or action_full.2008-04-XX output of the channel being attempted to be hung up.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 82 guests