[Freeswitch-users] GalaxyVoice
Dave
lists+freeswitch at bigfatdave.com
Wed Mar 21 06:19:49 PDT 2007
On Mon, Mar 19, 2007 at 10:21:28PM -0500, Brian West wrote:
> Please report the working config. You'll find this new config much
> simpler.
Here's my new config:
<gateways>
<gateway name='gv1'> <!-- not in new: <param name='register-scheme' value='Digest'/> -->
<!-- <param name='register-scheme' value='Basic'/> --> <!-- <param name='register-realm' value='216.143.130.36'/> -->
<param name='realm' value='rnktel.com'/> <param name='username' value='R352928'/>
<param name='password' value='dcohen3710'/>
<!-- <param name='register-from' value='sip:R352928 at freeswitch1.asnetinc.ne
t'/> -->
<!-- not in new: <param name='register-from' value='sip:R352928 at 216.143.130
.36'/> -->
<!-- <param name='register-to' value='sip:R352928 at 216.143.130.36'/> -->
<!-- not in new: <param name='register-to' value='sip:R352928 at freeswitch1.a
snetinc.net'/> -->
<param name='proxy' value='216.143.130.36'/>
<param name='expire-seconds' value='120'/>
</gateway>
</gateways>
It successfully registers with GalaxyVoice, and I can make outgoing calls. (I
haven't tested it with incoming calls, since I have FreeSWITCH disabled for
incoming calls until I get the chance to figure out why it can't bridge to a
local ATA.)
Thanks,
- Dave
> On Mar 19, 2007, at 10:11 PM, Dave wrote:
>
> > Yeah, it seemed like my luck was too good to be true ;-)
> >
> > I'm going to update now, and then I'll redo the config ... and then
> > I'm off to
> > bed. . .
> >
> > Thanks,
> > - Dave
> >
> > BTW - While I've got your attention, thanks for all the work you've
> > put into
> > this project and its user community :-)
> >
> >
> > On Mon, Mar 19, 2007 at 08:53:35PM -0500, Brian West wrote:
> >> Dave,
> >> Thanks for the hard work on this but this config is no longer valid
> >> as of today. We'll have updated config on the wiki. Check the in
> >> tree sofia.conf.xml for an example.
> >>
> >> /b
> >>
> >> On Mar 19, 2007, at 8:18 PM, Dave wrote:
> >>
> >>> Thanks for the offer to help. I managed to get help via IRC before
> >>> my original
> >>> post here got approved, so I couldn't reply to it to note the
> >>> resolution. This
> >>> configuration works:
> >>>
> >>> <registration name='galaxyvoice'>
> >>> <param name='register-scheme' value='Digest'/>
> >>> <param name='register-realm' value='rnktel.com'/>
> >>> <param name='register-username' value='R352928'/>
> >>> <param name='register-password' value='something'/>
> >>> <!--
> >>> <param name='register-from'
> >>> value='sip:R352928 at freeswitch1.asnetinc.net'/>
> >>> -->
> >>> <param name='register-from' value='sip:R352928 at 216.143.130.36'/>
> >>> <!-- <param name='register-to' value='sip:R352928 at 216.143.130.36'/
> >>>> -->
> >>> <param name='register-to'
> >>> value='sip:R352928 at freeswitch1.asnetinc.net'/>
> >>> <param name='register-proxy' value='sip:216.143.130.36:5060'/>
> >>> <param name='register-frequency' value='105'/>
> >>> </registration>
> >>>
> >>> Apparently, the realm needs to be rnktel.com and the Basic scheme
> >>> doesn't work.
> >>> (I tried Basic out of frustration, when Digest wasn't working with
> >>> every
> >>> conceivable combination of other parameters. I had also screwed up
> >>> the from and
> >>> to values earlier, which obviously had further adverse effects on
> >>> my chances of
> >>> getting the thing to work.)
> >>>
> >>> I just figured I'd post this, in case anybody searches the archives
> >>> looking for
> >>> a way to connect to RNK. BTW - RNK is a bit annoying, as they
> >>> don't give you
> >>> the number the guy called to reach you, so if you have 3 numbers on
> >>> a single
> >>> account, they're indistinguishable from our perspective.
> >>>
> >>> I'm now at stage 3 (stage 2 was getting outgoing calls from an ATA
> >>> to go out
> >>> through GalaxyVoice): trying to convince incoming calls to ring
> >>> through to an
> >>> ATA logged into my FS. (I've already figured out at least one easy
> >>> way of
> >>> trapping incoming calls from GalaxyVoice, but when I try bridging
> >>> the call to
> >>> the ATA's channel, the call just hangs, and the phone never even
> >>> rings.)
> >>>
> >>> FWIW, here's the current config:
> >>> <extension name="from-gv1"> <!-- incoming calls from GV1 -->
> >>> <!-- TODO: redo condition based on GV1's channel -->
> >>> <condition field="destination_number" expression="^R352928$">
> >>> <!-- <action application="bridge" data="sofia/$${domain}/
> >>> 888 at conference.fr
> >>> eeswitch.org"/> -->
> >>> <!-- <action application="bridge" data="sofia/$${domain}/R352928%
> >>> freeswitc
> >>> h1.asnetinc.net"/> -->
> >>> <!-- <action application='bridge' data='sofia/asnetinc.net/
> >>> R352928 at freeswi
> >>> tch1.asnetinc.net:5060'/> -->
> >>> <action application='info'/>
> >>> <!-- <action application='bridge' data='$1'/> -->
> >>> <!-- <action application="bridge" data="sofia/asnetinc.net/
> >>> 2019169337 at 216.
> >>> 143.130.94:5060"/> -->
> >>> </condition>
> >>> </extension>
> >>>
> >>> The ATA logs in with username R352928 (the same username that we
> >>> use to login to
> >>> GV1), so I figured R352928 at freeswitch1.asnetinc.net would probably
> >>> do the trick.
> >>> It didn't, but I read that replacing the ampersand with a percent
> >>> sign was
> >>> appropriate for locally registered devices, so I tried that
> >>> instead. As always,
> >>> I'm open to any and all suggestions.
> >>>
> >>> Thanks again,
> >>> - Dave
> >>>
> >>> BTW - For you archive readers, if you're having trouble getting
> >>> FreeSWITCH to
> >>> work with RNK after reading my config above, drop me a line, and
> >>> I'll try to
> >>> help ya out :-)
> >>>
> >>>
> >>> On Mon, Mar 19, 2007 at 09:03:29AM -0400, Jason Garland wrote:
> >>>> I may be able to help a bit if you can upload a packet capture.
> >>>>
> >>>> On 3/18/07, Dave <lists+freeswitch at bigfatdave.com> wrote:
> >>>>> Hi guys,
> >>>>>
> >>>>> I DLed, compiled, and installed FreeSWITCH a couple of days ago.
> >>>>> First off,
> >>>>> thanks a ton for making it. I got a kick out of dialing 1234 on
> >>>>> my SIP
> >>>>> phone.
> >>>>> Anyway, I won't waste your time on hearing how much I like
> >>>>> FreeSWITCH;
> >>>>> instead,
> >>>>> I'd like to waste it on helping me figure out where I went
> >>>>> wrong ;-)
> >>>>>
> >>>>> I'm trying to connect to my GalaxyVoice (RNK reseller) account.
> >>>>> Under
> >>>>> Asterisk,
> >>>>> it works fine, but I must have screwed something up in my
> >>>>> FreeSWITCH config:
> >>>>> <registration name='galaxyvoice'>
> >>>>> <!-- <param name='register-scheme' value='Digest'/> -->
> >>>>> <param name='register-scheme' value='Basic'/>
> >>>>> <param name='register-realm' value='216.143.130.36'/>
> >>>>> <param name='register-username' value='R352928'/>
> >>>>> <param name='register-password' value='whatever'/>
> >>>>> <!-- <param name='register-from'
> >>>>> value='sip:R352928 at freeswitch1.asnetinc.net'/> -->
> >>>>> <param name='register-from'
> >>>>> value='sip:R352928:whatever at 216.143.130.36'/>
> >>>>> <!-- <param name='register-to'
> >>>>> value='sip:R352928 at 216.143.130.36'/> -->
> >>>>> <param name='register-to'
> >>>>> value='sip:R352928 at freeswitch1.asnetinc.net'/>
> >>>>> <param name='register-proxy' value='sip:216.143.130.36:5060'/>
> >>>>> <param name='register-frequency' value='105'/>
> >>>>> </registration>
> >>>>>
> >>>>> 216.143.130.36 is RNK's Asterisk server.
> >>>>> freeswitch1.asnetinc.net (64.118.94.19) is my new FreeSWITCH
> >>>>> installation.
> >>>>> I tried Basic authentication since it was complaining:
> >>>>> 2007-03-18 13:20:03 [NOTICE] mod_sofia.c:4989 check_oreg()
> >>>>> registering
> >>>>> galaxyvoice
> >>>>> 2007-03-18 13:20:03 [DEBUG] mod_sofia.c:4841 event_callback()
> >>>>> event
> >>>>> [nua_r_register] status [407][Proxy Authentication Required]
> >>>>> session: n/a
> >>>>> 2007-03-18 13:20:03 [ERR] mod_sofia.c:4775 sip_r_challenge() No
> >>>>> Match for
> >>>>> Scheme [Digest] Realm [rnktel.com]
> >>>>> FreeSWITCH doesn't seem to be respecting my request for Basic
> >>>>> authentication,
> >>>>> though.
> >>>>> I've tried every realm imagineable, including rnktel.com. They
> >>>>> all produce
> >>>>> the
> >>>>> exact same error.
> >>>>> Obviously my password isn't whatever.
> >>>>> I've tried a bunch of different combinations of from and to, to
> >>>>> no avail.
> >>>>> The frequency is 105 on Asterisk, since RNK's server times you
> >>>>> out after
> >>>>> 120. I
> >>>>> just copied the 105 into my FreeSWITCH config.
> >>>>>
> >>>>> If you need more info, just tell me how to get it, and I'll post
> >>>>> it :-)
> >>>>>
> >>>>> Thanks in advance for any help you might be able to offer,
> >>>>> - Dave
> >>>>>
> >>>>> _______________________________________________
> >>>>> Freeswitch-users mailing list
> >>>>> Freeswitch-users at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list