On Fri, 2010-04-09 at 16:54 +0400, Nikolay Kondratyev wrote:
> 
> 
> > The simplest configuration to do what you want is to set a 
> > Default Caller ID on the gateway for your trunk, and then set 
> > individual Caller IDs for the users who have DIDs.  You 
> > should not need the group setting.

> That was the first configuration a tried... 
> And I just tried it again.
> Merged xml is attached.

The problem is that your phones are using the IP address of your server
as the domain part of their From addresses.  

The caller alias feature looks at the From address u...@domain, and the
domain of the request target uri, and searches the caller alias database
(which you can see in /var/sipxdata/sipdb/caller-alias.xml ).  First it
tries to find a mapping of the full identity to the target domain, and
if found substitutes the alias; if that fails, it then looks for an
entry that has no identity but matches the target domain and if found
inserts the alias from that entry.

Your caller-alias database maps:

    <item>
        <identity>[email protected]</identity>
        <domain>78.31.218.3</domain>
        <alias>sip:[email protected]</alias>
    </item>

which should have matched the call from 240 in your trace, but didn't
because the phone sent

        From: <sip:[email protected]> 

instead of

        From: <sip:[email protected]> 

but the default alias from your database:

    <item>
        <domain>78.31.218.3</domain>
        <alias>sip:[email protected]</alias>
    </item>

does match because it doesn't care what the From address is, and so the
default for the gateway is used.



_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to