brian at freeswitch.org Guest
|
Posted: Wed Dec 10, 2008 4:49 am Post subject: [Freeswitch-users] incoming call routing <domain> |
|
|
Join IRC so you can interact with people real time. Your setup
require a deep understanding of SIP and FreeSWITCH to setup correctly.
/b
On Dec 9, 2008, at 10:25 PM, ccav wrote:
Quote: |
Cable modem <----> nat router <----> fs
fs is set as DMZ on nat router so all packets get there.
My ipv4 address is 192.168.0.x The nat router holds the public IP.
Public
IP is a registered domain sparkz.tv so addressable from the internet
cloud.
Since fs is DMZ, all requests for sparkz.tv or sip.sparkz.tv are
resolved
and so IP routing is good.
So I'm trying to get external sip/soft phones registered and routed
properly. The domain/server set in the phone client is
sip.sparkz.tv:5080,
since the wiki says they need to be set that way???
I have created a conf/directory/sip.sparkz.tv.xml and a
conf/directory/sip.sparkz.tv where I have users registration info.
conf/directory/sip.sparkz.tv.xml was copied from default.xml and has:
param name="dial-string"
value="{presence_id=${dialed_user}@$
{dialed_domain},transfer_fallback_extension=${dialed_user}}$
{sofia_contact(${dialed_domain}/${dialed_user}@${dialed_domain})}"
/params
I have modified conf/sip_profiles/external.xml and added an <alias
name="sip.sparkz.tv"/>
External phones are registering and are visible under sofia status
profiles
external and sip.sparkz.tv
Calls outbound from the phones are being routed properly.
Calls inbound to their DID's are not.
Calls to softphones on the local private net 192.168.0.x register
and route
properly.
vars.xml sets domain to ip_v4...
the default.xml dialplan seems to iif the profile to either nat or
default..
so I end up with the call going to DID@192.168.0.x rather than the
registered interface...
I'm routing the calls in the dialplan to bridge to user/$1@$$
{domain} but
$${domain} is set to ip_v4 so it's wrong...
Any clues what I need to do next to get them routing properly? I
want to be
able to support multiple domains. how do I do this correctly?
--
View this message in context: http://www.nabble.com/incoming-call-routing-%3Cdomain%3E-tp20928933p20928933.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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
|
_______________________________________________
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 |
|