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

How to write VoiceMail dialplans in asterisk
Problems with string pattern matching
asterisk hangup call when hold
Cant place outgoing call en E1
Dial via SIP -> IAX2
asterisk send event to a web app when the phone ring
how to add one SIP Extension by command line in Asterisk
Is there a way to get the ${DEVICE_STATE(SIP/${EXTEN})} output on asterisk AMI before making originate call
How to hang up the calls before calling AGI script?
Mixmonitor command is not working in asterisk dialplan
Asterisk and A2billing
Can I match in a context and then include other contexts in an asterisk dialplan?
Asterisk cannot hear sound on Wifi network only
send callerid to ruby app in asterisk
A2billing AGI Issue
Asterisk Chan_motif.o, Chan_motif.so and Chan_motif.exports missing

Categories

HOME
pact
gcc
cxf
weblogic
android-ndk
crm
redhawksdr
grid
perl6
travis-ci-cli
pdf-generation
distinct
fine-uploader
webseal
web-worker
nsoperation
alert
views
gpo
sonarlint
bug-reporting
gnu-screen
windowserror
gulp-jshint
andengine
incapsula
scip
iterm2
contenteditable
text-extraction
risc
piranha-cms
g77
jscoverage
htop
zedgraph
robotc
therubyracer
require-handlebars
netlink
init
airwatch
avi
camellia
jmh
paypal-subscriptions
chomsky-normal-form
stdlist
video-embedding
wordpress-plugin
windows-kernel
php-gd
lytro
eula
photogrammetry
vectordrawable
ultraedit
esri-arc-engine
api-eveonline
gnip
nsnotificationcenter
pnunit
ant-contrib
ekevent
dylan
nokogiri
junction-table
nx
linqdatasource
feincms
motordriver
derived-class
custom-cursor
google-email-audit-api
erlide
sqlbuddy
code-organization
jqzoom
virtual-printer
recess
xpolog
netduino
meego-harmattan
http-response-codes
lgpl
xcdatamodel
arraycollection
datarelation
nyromodal
nstoolbar
simultaneous
linq-to-mysql
glassfish-embedded
opengl-to-opengles
hotfix
scalable

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