I'm not really following your example, but this is working for me with NuFone.

exten => 501,1,Macro(stdexten,[EMAIL PROTECTED],${Dave},20)             ; Dave

Where
Dave is:        Dave=${DBCOnDen}&${DENPC}&${DBC_CELL}
DBCOnDen is:    DBCOnDen=SIP/Dave
DENPC is:       DENPC=IAX2/softphone
DBC_CELL is:    DBC_CELL=IAX2/[EMAIL PROTECTED]/1416xxxxxxx/s

stdexten is:
[macro-stdexten];
; Standard extension macro:
;   ${ARG1} - [EMAIL PROTECTED]
;   ${ARG2} - Device(s) to ring
;   ${ARG3} - Time to ring device
;
exten => s,1,Dial(${ARG2},${ARG3},trW)          ; Ring interface, ARG3 max
exten => s,2,Goto(s-${DIALSTATUS},1)            ; Jump based on status
                                               ; (NOANSWER,BUSY,
; CHANUNAVAIL,CONGESTION,ANSWER) exten => s-NOANSWER,1,Voicemail(u${ARG1}) ; If unavail, -> vm w/unavail
exten => s-NOANSWER,n,Hangup                    ; End
exten => s-BUSY,1,Voicemail(b${ARG1})           ; If busy, -> vm w/busy msg
exten => s-BUSY,n,Hangup                        ; End
exten => _s-.,1,Goto(s-NOANSWER,1)              ; All else = no answer
exten => a,1,VoicemailMain(${ARG1})             ; Press *, -> VoicemailMain

dbc.

Mark Rzepa wrote:
Hi All,

I now have my Voip provider allowing me to send callerid, however it's not quite working just yet. Can anyone tell me if there is something wrong with my extensions_additional.conf entry:

[ext-findmefollow]
include => ext-findmefollow-custom
exten => 200,1,Macro(user-callerid,)
exten => 200,n,GotoIf($["${CALLERID(name):0:${LEN(${RGPREFIX})}}" != "${RGPREFIX}]"?NEWPREFIX)
exten => 200,n,Set(CALLERID(name)=${CALLERID(name):${LEN(${RGPREFIX})}})
exten => 200,n,SetCallerID(${CALLERIDNUM})
exten => 200,n(NEWPREFIX),Set(RGPREFIX=)
exten => 200,n,Set(CALLERID(name)=${RGPREFIX}${CALLERID(name)})
exten => 200,n,Set(RecordMethod=Group)
exten => 200,n,Macro(record-enable,${MACRO_EXTEN},${RecordMethod})
exten => 200,n,Set(RingGroupMethod=ringall)
exten => 200,n(DIALGRP),Macro(dial,20,${DIAL_OPTIONS},4168436179#-300-201-200)
exten => 200,n,Set(RingGroupMethod=)
exten => 200,n,Goto(ext-local,${VM_PREFIX}200,1)


Reply via email to