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

Brian West brian.west at mac.com
Thu May 5 11:49:46 MST 2005


because its not matching a peer/user

callerid=billybob or something in general and it will use that.

/b

On May 5, 2005, at 12:30 PM, Clay Reiche wrote:

> I'm expecting "From: admin08275@<ip>"
>
> Here are my configs:
>
> sip.conf:
>
> [admin08275]
> type=friend
> username=admin08275
> secret=secret
> host=dynamic
> nat=yes
> context=from-sip
> callerid="administrator"
> canreinvite=yes
> accountcode=accxx_group
> disallow=all
> allow=g729
> allow=ulaw
>
>
> extensions.conf:
>
> [from-sip]
> exten => 5001,1,Dial(SIP/admin08275)
> exten => 5001,2,Answer()
> exten => 5001,3,Wait(2)
> exten => 5001,4,Hangup()
>
> .call file
> Channel: local/5001 at from-sip
> MaxRetries: 2
> RetryTime: 60
> WaitTime: 30
> Context: from-sip
> Extension: 8133435410
> Priority: 1
>
> I get "From: asterisk at 123.456.789.123" in the INVITE message Header.
> 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
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list