[asterisk-users] Solved : Re: h exten no getting run ...

Julian Lyndon-Smith asterisk at dotr.com
Mon Mar 30 11:55:58 CDT 2009


I eventually found the problem  - the h extension was getting run on the 
Zap channel as soon as the bridge between the SIP client and Zap client 
was broken. This is because of changes made to the cdr code in 1.4 
trunk. However, the problem would not manifest itself to anyone except 
those using a backported version of app_queue.c that allows for the call 
to continue when the agent hangs up.

For posterities sake, you need to add the following line of code to 
app_queue.c, in or around line 2784

@@ -2784,6 +2789,9 @@
                                *tries = qe->parent->membercount;
                        *noption = 1;
                        break;
+               case 'c':
+                       ast_set_flag(&(bridge_config.features_caller), 
AST_FEATURE_NO_H_EXTEN);
+                       break;
                case 'i':
                        forwardsallowed = 0;
                        break;

Thanks for all the help and pointers - Steve, I'm getting to like 
templates ;)

Julian

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the asterisk-users mailing list