0
votes

Right now, I'm making outgoing calls using Asterisk ARI from my mobile number to another mobile number, using the below request:

endpoint=PJSIP/mynumber&extension=1**other_number&context=from-internal&priority=1&timeout=30

In this situation, I would like to display the custom caller id number, when calling other number. How can I achieve that?

2

2 Answers

1
votes

You need to pass your callerid number as Query paramter. add,

callerId=987654321

if you want to display caller id name also,

callerId=<User 1>987654321

*Note the it is "I" (callerId) and not "i" (callerid) in the parameter name.

0
votes

You just need to add one more query string callerId. It will be like &callerId=1234567890.