Hi,
someone could give me a hint how to use setcid correctly?
My inbound cid comes in like +497611234 and i need to cahnge this to 07611234.
My provider requires to use a custom context for incomming calls which looks like this to be able to handle the inbound routes correctly:
[custom-get-did-from-sip]
exten => s,1,Noop(Fixing DID using information from SIP TO header)
exten => s,n,Set(pseudodid=${CUT(CUT(SIP_HEADER(To),@,1),:,2)})
exten => s,n,Set(pseudodid=${IF($["${pseudodid}"=“s”]?01801021136347:${pseudodi$
exten => s,n,Goto(from-trunk,${pseudodid},1)
May someone can give me a starting sample how this module has to be used or if i can handle this at the obove script?
Thanks alot.