[Asterisk-Users] Caller ID

Daniel Corbe daniel.junkmail at gmail.com
Mon Jan 23 08:53:37 MST 2006


I have a quick Caller*ID question.

I have an inbound call to my PBX which I am attempting to bridge with  
a PSTN number (specifically my cell phone, so when someone dials my  
extension the cell phone rings).

In my extentions.conf I have:

; Daniel -- 1102
exten => 1102,1,Answer()
exten => 1102,2,Set(DIALEDNUM=1102)
exten => 1102,3,Wait(2)
exten => 1102,4,Playback(pls-wait-connect-call)
exten => 1102,5,Wait(1)
exten => 1102,6,Dial(SIP/2102&SIP/3102&SIP/4102&SIP/1987654321 at porta, 
33,mj)
exten => 1102,7,Voicemail(su{$EXTEN})
exten => 1102,8,Hangup()
exten => 1102,106,Voicemail(sb{$EXTEN})
exten => 1102,107,Hangup()

where "porta" is my SIP account with the company that provides my  
PSTN connection.  I know for a fact that I can set any caller ID I  
want (because I've done it with ATAs) and my carrier will pass it;  
however, my question is, how do I get my asterisk box to pass the  
original Call*ID instead of the number assigned to me by my provider?

this is the entry in sip.conf
[porta]
type=peer
secret=corbe9845
username=portasip
host=68.145.125.95
;fromuser=17862065496
fromdomain=66.165.175.35
insecure=very
;nat=yes



___________________________________________________________________
Globecomm Systems and Globecomm Network Services
Come Visit us at:
- PTC 2006 15-18 January 2006 Honolulu, Hawaii
- Satellite 2006, Feb. 6-9 2006 Washington, DC Booth 354
- GSM World Conference, Feb. 13-16 2006 Barcelona, Spain Booth D7
- SATCOM Africa, Feb 20-24 2006 Johannesburg, South Africa Booth 30
- PEO EIS Industry Day, Washington  March 16-17, booth 18
- NAB 2006, Apr 24-27, Las Vegas,NV Booth C6241


More information about the asterisk-users mailing list