How to retrieve the DID if the provider sends it inside the SIP header "TO" field.
We can manage the DID elaboration directly through a Cally Square IVR with the following structure:

ivr did.PNG

We have to set, on the Gotoif block, a condition to check if the DID number inside the SIP Header "TO" field is equal to the DID number of interest.

Condition is: {CUT(CUT(SIP_HEADER(To),@,1),:,2)}==DID_Number1

 

Related issues