dear team,
my outbound route for a2billing as following:
Code:
; A2Billing - Outbound
[a2billing]
exten => _*67X.,1,Answer
exten => _*67X.,n,Wait(1)
exten => _*67X.,n,Noop("before replacement :${EXTEN}")
exten => _*67X.,n,NoOp("after replacement: ${EXTEN:3:111}") ;; removing the *67 from extension
exten => _*67X.,n,NoOp("${SIP_HEADER(cid)}")
exten => _*67X.,n,Set(CALLERID(num)=${SIP_HEADER(cid)})
exten => _*67X.,n,SIPAddHeader("Privacy:id")
exten => _*67X.,n,AGI(a2billing.php,1)
exten => _*67X.,n,Hangup()
my problem: with the NoOp i can remove the *67 at the beginnen from my dial string.
but how i can overwrite this before i call AGI?
always my call to number is *67004912456789
can anybody helps me?
thank you!