Vic Cross wrote:


On Sat, 7 Feb 2004, John Fraizer wrote:


<snip all the trace data>


Here are the configs:

;
; SIP Configuration for Asterisk
;
[general]
port = 5060                     ; Port to bind to
bindaddr = 66.35.64.38          ; Address to bind to
context = default               ; Default for incoming calls
srvlookup = yes         ; Enable SRV lookups on outbound calls


[100] type=friend username=100 secret=secret host=dynamic fromuser=100 mailbox=100 context=allaccess canreinvite=yes dtmfmode=rfc2833 nat=yes

[2288888]
type=friend
username=2288888
secret=secret
host=dynamic
fromuser=2288888
mailbox=100
context=allaccess
canreinvite=yes
dtmfmode=rfc2833
nat=yes

[2222]
type=friend
username=2222
secret=secret
host=dynamic
fromuser=2222
context=allaccess
canreinvite=yes
dtmfmode=rfc2833
nat=yes



Remove "fromuser=" from your SIP statements. This overrides the caller-id data received with whatever is stated in fromuser -- Asterisk is doing exactly what you told it to. ;-)
To explain a bit more:
Fromuser= and fromdomain= is used to specify the caller when calling this
device. This is used when we're calling a SIP proxy that requires a specific
fromuser/domain in addition to an authentication.


/Olle


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to