It is currently Sun Sep 05, 2010 5:28 am

All times are UTC - 7 hours [ DST ]




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: FreeSwitch and pfsense
PostPosted: Tue May 12, 2009 9:35 pm 

Joined: Thu Mar 12, 2009 10:06 am
Posts: 3
Ok, I'm pretty lost. I was running FreePBX on a multipurpose Ubuntu box and finally had my fill. So I've installed pfsense as a dedicated firewall with the freeswitch package. I spent a few hours trying to make it go and had partial success but I still need some pointers getting registered.

I nuked the config and I'm starting fresh. Anybody have some pointers? I have a couple DIDs with link2voip.com and a Linksys PAP2T-NA on the LAN.

Edit: I have condensed the particulars in the post that follows this one.

Thanks for looking.


Last edited by clarknova on Wed May 13, 2009 9:51 am, edited 1 time in total.

Offline
 Profile  
 
 Post subject:
PostPosted: Tue May 12, 2009 10:29 pm 

Joined: Thu Mar 12, 2009 10:06 am
Posts: 3
So using my fresh install I changed vars.xml exactly as Edward outlined, using my SIP registration info.

In the status tab I see the following.
sofia status   


                     Name      Type                                 Data   State
=================================================================================================
                 external   profile     sip:mod_sofia@75.159.xx.xx:5080   RUNNING (0)
    sip.ca1.link2voip.com   gateway     sip:1780xxxxxxx@sip.ca1.link2voip.com   REGED
                 outbound     alias                             external   ALIASED
                 internal   profile     sip:mod_sofia@75.159.xx.xx:5060   RUNNING (0)
                      nat     alias                             external   ALIASED
            internal-ipv6   profile             sip:mod_sofia@[::1]:5060   RUNNING (0)
                  default     alias                             internal   ALIASED
            75.159.xx.xx     alias                             internal   ALIASED
=================================================================================================
3 profiles 4 aliases

I thought the second line in the table suggested that I'm registered, but further down I see this.
sofia status profile external       


=================================================================================================
Name                external
Domain Name         N/A
DBName              sofia_reg_external
Pres Hosts          
Dialplan            XML
Context             public
Challenge Realm     auto_to
RTP-IP              75.159.xx.xx
Ext-RTP-IP          stun:stun.freeswitch.org
SIP-IP              75.159.xx.xx
Ext-SIP-IP          75.159.xx.xx
URL                 sip:mod_sofia@75.159.xx.xx:5080
BIND-URL            ip:mod_sofia@75.159.xx.xx:5080;maddr=75.159.xx.xx
HOLD-MUSIC          local_stream://moh
OUTBOUND-PROXY      N/A
CODECS              PCMU,PCMA,GSM
TEL-EVENT           101
DTMF-MODE           rfc2833
CNG                 13
SESSION-TO          0
MAX-DIALOG          0
NOMEDIA             false
LATE-NEG            false
PROXY-MEDIA         false
AGGRESSIVENAT       false
STUN-ENABLED        true
STUN-AUTO-DISABLE   false
CALLS-IN            0
FAILED-CALLS-IN     0
CALLS-OUT           0
FAILED-CALLS-OUT    0

Registrations:
=================================================================================================
=================================================================================================

It appears that I am not registered with link2voip yet. Without changing vars.xml I clicked on the Gateways tab and added the following values:

Gateway: sip.ca1.link2voip.com
Username: [myusername]
Password: [mycorrespondingpassword]
From-domain: sip.ca1.link2voip.com

but my status page still doesn't show a registration (even after hitting the "reloadxml" button). Outgoing and incoming calls are getting a busy signal.

Any clues on what I need yet to do to get registered?


Offline
 Profile  
 
 Post subject: Re: FreeSwitch and pfsense
PostPosted: Fri Mar 19, 2010 10:45 pm 

Joined: Fri Mar 19, 2010 10:41 pm
Posts: 1
It appears you are registered with your SIP gateway (per the top of the status log). The registrations that show up in the "external" profile lower down are for any extensions that are "external" (those that are outside and are registering with your switch on port 5080.)

I'm running a similar setup (gateways are Teliax and sipgate) with internal and external extensions.

Let me know if you need further info.

-John


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: