[Asterisk-Users] Little confused about Caller ID
Gabriel Afana
adtomi at adelphia.net
Sat Jan 8 20:54:40 MST 2005
Hi Everybody,
Sure this has been covered a million times on wiki, but couldn't find an
exact answer to my question. I am using * to dial out to peoples phones to
give them alerts of different things. Problem is that the only Caller ID I
can get working is the telephone number. I am unable to display a name
along with the number. Thinking maybe its the phone receiving the call, I
tried my cellphone and my house phone and I can only get the number to
display. If I leave the number portion out, Caller ID shows "Unavailable".
Is there a simple way to get a Caller name setup? I've tried examples on
Wiki as well but I couldn't get them to work.
***** extensions.conf *********
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
[sports]
exten => s,1,ResponseTimeout,5
exten => s,2,Answer
exten => s,3,Wait(1)
exten => s,4,Playback(sports/gafanaSports)
exten => s,5,Goto(2000,2)
exten => 2000,1,wait(1)
exten => 2000,2,Background(sports/teams/theLosAngelesLakersU)
exten => t,1,Playback(goodbye)
exten => t,2,Hangup
******** sip.conf ***********
[general]
context=default
port=5060
srvlookup=yes
allow=ulaw
register => [id]:[pw]@[host]
[gafana]
type=peer
secret=[secret]
username=[username]
host=[hostname]
******* test.call file **********
Channel: SIP/[myNumber]@gafana
CallerID: [My Number]
MaxRetries: 0
RetryTime: 300
WaitTime: 45
Context: sports
Extension: s
Priority: 1
What do I need to add to be able to send a name as well and not just a
number?
Gabe
More information about the asterisk-users
mailing list