if you have 

    <param name="force-register-domain" value="$${domain}"/>
    <param name="force-register-db-domain" value="$${domain}"/>


This will insert your global domain value into the db despite what it says in the packet.
This is a default designed to normalize your directory to match the host ip of your box which works out of the box 99% of the time.  


On Tue, Jul 20, 2010 at 10:03 AM, Michael Gende <mgende@gendesign.com> wrote:
Hello All,

I'm interested in understand more about how a user (1009@somedomain for instance) acquires that "somedomain".

Here's an example:
Registrations:
=================================================================================================
Call-ID: b5429e1b9f1b91fd@192.168.99.101
User: 1009@99.93.12.80
Contact: "user"
Agent: Grandstream GXP2000 1.2.2.26
Status: Registered(UDP)(unknown) EXP(2010-07-20 11:54:30)
Host: pfsense.local
IP: 192.168.99.101
Port: 5060
Auth-User: 1009
Auth-Realm: 192.168.11.5

=================================================================================================
Note the differences in the User: domain (99.93.12.80 is actually the external IP address) and the Auth-Realm: 192.158.11.5 (which is the LAN ip of the FreeSwitch box).

Typically, I'd like to see the user show as 1009@internalLANip or 1009@192.168.11.5 in this case. For some reason, I can't make that happen. Something stupid I'm doing, surely. But I can't see it at the moment.

This functions fine for calling. But, I can't get the MWI to light up on the phone or get the tones to indicate a message. I assume this is because FS is looking for user@LANip not user@externalWANip. But the vm is there if I actually go look in the VM box.

Comments? I'm scratching my head. Must be in the internal.xml somewhere.

Regards,

Mike

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900