[Asterisk-Dev] Why am I getting "From: asterisk@<ip>" in my INVITE message header?

Clay Reiche creiche at accxx.com
Thu May 5 10:30:37 MST 2005


I'm expecting "From: admin08275@<ip>"
 
Here are my configs:
 

1.	
	sip.conf:
2.	
	 
3.	
	[admin08275]
4.	
	type=friend
5.	
	username=admin08275
6.	
	secret=secret
7.	
	host=dynamic
8.	
	nat=yes
9.	
	context=from-sip
10.	
	callerid="administrator"
11.	
	canreinvite=yes
12.	
	accountcode=accxx_group
13.	
	disallow=all
14.	
	allow=g729
15.	
	allow=ulaw
16.	
	 
17.	
	 
18.	
	extensions.conf:
19.	
	 
20.	
	[from-sip]
21.	
	exten => 5001,1,Dial(SIP/admin08275)
22.	
	exten => 5001,2,Answer()
23.	
	exten => 5001,3,Wait(2)
24.	
	exten => 5001,4,Hangup()
25.	
	 
26.	
	.call file
27.	
	Channel: local/5001 at from-sip
28.	
	MaxRetries: 2
29.	
	RetryTime: 60
30.	
	WaitTime: 30
31.	
	Context: from-sip
32.	
	Extension: 8133435410
33.	
	Priority: 1
34.	
	 
35.	
	I get "From: asterisk at 123.456.789.123" in the INVITE message Header.
36.	
	I also get that if I don't use the call file and just call from a
phone registered with the admin08275 info. 

Any help would be greatly appreciated.
 
Clay Reiche
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20050505/dcfb55e0/attachment.htm


More information about the asterisk-dev mailing list