physical phone will get an incoming call from Extra Mobile's dialer for Virtual Number and IVR number (currently: +972778040015 or +972778050015) or the caller_id for others. The caller id for this call may vary according to the parameters passed to the endpoint but you'll get it back in the dialer key of the numbers array. This also referred to as "Leg1 of the call".physical answers, a call will be made to destination. The caller id for this call will be the number passed in caller_id. This also referred to as "Leg2 of the call".physical gets a call. They see either +972778040015/+972778050015 on their screen if calling from a virtual/ivr number OR if otherwise, they'l see caller_id on their screen.destination gets a call. They see caller_id on their screen.curl --location --request GET 'https://www.exm.co.il/api/v1/click2call/?caller_id=+972778038038&physical=+972551234567&destination=+97236178888' \
--header 'Authorization: Bearer <token>'{
"success": true,
"call_id": "z87LXSIIb",
"numbers": {
"caller_id": "+972778038038",
"physical": "+972544444444",
"destination": "+972533333333",
"dialer": "+972778050015"
}
}