Well…, I know the title did not say what I wanted but here goes:
In extensions_additional.conf there is the ext-group context which states what phone numbers do what when they are called right?
ok, in extensions_custom.conf you can make and put your custom app
my problem is: I need to make a phone number look to a custom app which will have several gotoiftime rules but the thing is that since my rules depend on yes goto ring group 1 if not got ring group 2, but my ring groups are in extensions-additional.conf insted of extensions-custom.conf my calls spit out a fast busy because in custom there is no ext-group context which explains what does this ring group have.
example:
exten => 4,1,Macro(user-callerid,)
exten => 4,n,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != “${RGPREFIX}”]?NEWPREFIX)
exten => 4,n,Set(CALLERID(name)=${CALLERID(name):${LEN(${RGPREFIX})}})
exten => 4,n(NEWPREFIX),Set(RGPREFIX=)
exten => 4,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 4,n,Set(RecordMethod=Group)
exten => 4,n,Macro(record-enable,697875995909#,${RecordMethod})
exten => 4,n,Set(RingGroupMethod=ringall)
exten => 4,n(DIALGRP),Macro(dial,20,${DIAL_OPTIONS},697875995909#)
exten => 4,n,Set(RingGroupMethod=)
exten => 4,n,Goto(ext-group,4,1)
exten => 5,1,Macro(user-callerid,)
exten => 5,n,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != “${RGPREFIX}”]?NEWPREFIX)
exten => 5,n,Set(CALLERID(name)=${CALLERID(name):${LEN(${RGPREFIX})}})
exten => 5,n(NEWPREFIX),Set(RGPREFIX=)
exten => 5,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 5,n,Set(RecordMethod=Group)
exten => 5,n,Macro(record-enable,697877746804#,${RecordMethod})
exten => 5,n,Set(RingGroupMethod=ringall)
exten => 5,n(DIALGRP),Macro(dial,20,${DIAL_OPTIONS},697877746804#)
exten => 5,n,Set(RingGroupMethod=)
exten => 5,n,Goto(ext-group,5,1)
ok so these are the ring groups to which I need my phone number to look at according to the timwe condition… the thing is that I can only apply 1 time condition to 1 number…, I need to apply nultiple time conditions to a single number…, so my problem lies in that my ext-group and custom app are in two diferent files…, so they dont see each other…, HELP!!!
can I copy paste from one place to the other…, nope… it wont work…, how… some one tell me… HOW?
multiple time conditions to a single phone number…, keep in min you can only apply one time condition to a phone number so this has to be custom…, just give some advise…, please…