I would like to do some tasks after the CDR has been closed, and the CDR(end), CDR(billsec) and CDR(duration) fields are available. I have tried to do that on the h extension, but it seems the CDR is not yet complete in the h extension.When is the ..
Author : Daniel Gonzalez
I have run into a strange behaviour:[ctx-test]exten => h,1,NoOp(*** hangup ***)exten => s,1,NoOp(*** ${EXTEN} ***) same => n,… same => n,… same => n,Hangup()Strangely, the h extension continues on the priority 2 of the extension s. Maybe this..
Lets say I do:Set(data=xxx,yyy)Gosub(my-sub,s,1(${data}))My subroutine will only receive xxx for ARG1. How can I pass a literal with a comma to a single argument in a subroutine?(The point is: when calling the subroutine I do not know if the varia..
all,(I am testing on Asterisk 11.7.0~dfsg-1ubuntu1)I am using the following format to append to a logfile, according to the documentation :same => n,Set(FILE(/tmp/mylog.txt,,,a)=my-log-message)But this does not append a newline. So I am trying:same..
all,According to the documentation (http://www.voip-info.org/wiki/view/Asterisk+h+extension):Be aware: Macros require their own h extension as they do not make use of the calling contexts h extension!Does this apply to subroutines too? I am unable..