asterisk


How to handle caller id when using Asterisk ARI external to external


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?
You just need to add one more query string callerId. It will be like &callerId=1234567890.
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.

Related Links

Asterisk GotoIf comparison variable exists in Array
Call Limit (call-limit) in Asterisk 13 with PJSIP
Asterisk call recording not showing any logs and file
Asterisk 13.7 GROUP_COUNT always returns 1
How to write asterisk application
how to write application to freepbx
Asterisk: format of the lines logged
asterisk PAMI Originate Call issue
Route a provider's numbers to specific extensions
Merging multiple RTP using asterisk for conferences
Send Multiple Invites with sipsak
Response “488 Not Acceptable here” in Asterisk
ARI - wscat getting error: Error: connect ECONNREFUSED
setup elastix extension as trunk
Disabling asterisk sip user
FreePBX/Asterisk Recorded Calls not moving to correct location

Categories

HOME
actionscript-3
internet-explorer
botframework
stanford-nlp
sip
grpc
windows-server-2008
apache-storm
file-upload
glsl
jquery-plugins
spss
bitbucket
virtualhost
genexus
angular-universal
aspectj
unreal-engine4
desktop-application
openstack-horizon
smooth-scrolling
ofbiz
android-actionbar
loader
caldav
bootstrap-datetimepicker
datazen-server
fibonacci
smali
connection-pooling
oracle-golden-gate
poisson
rancher
request-uri
mobile-development
multilanguage
ansible-inventory
sdl-2
android-databinding
oracle-bpm-suite
jibx
mybatis-generator
azure-web-roles
google-chrome-console
redbean
directadmin
mtm
irr
colorbox
result
inner-join
chrome-custom-tabs
confluent
history
openidm
dna-sequence
intermediate-language
sp
kendo-scheduler
apache-commons-cli
pyautogui
lightspeed
stringbuilder
fileopendialog
stripes
jspx
sprockets
kik
mrunit
camellia
radar-chart
chomsky-normal-form
factorization
code-translation
ooad
nslocalizedstring
clear
android-facebook
tvp
producer-consumer
textblob
android-filterable
polarion
copy-on-write
genero
asp.net-2.0
strcpy
mri
sony-xperia
static-files
alpha-beta-pruning
crystal-reports-7
os.walk
zoneminder
selenium-grid2
pytz
azure-worker-roles
step
rssi
image-preloader
infor-eam
kuka-krl
randomaccessfile
motordriver
big-endian
webpage-screenshot
flatten
django-admin-tools
maven-eclipse-plugin
copyfile
mscorlib
rjs
recess
sipdroid
sessiontracking
versions
web-search
pkcs#7
coderush-xpress
file-icons

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App