[Asterisk-Users] Caller-ID is being sent wrong. How to fix it?

Vic Cross vicc at veejoe.com.au
Sat Feb 7 17:02:36 MST 2004


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. ;-)

Hoo-roo,
Vic Cross




More information about the asterisk-users mailing list