From gui.dev at me.com Thu Jan 1 06:40:35 2009
From: gui.dev at me.com (gui.dev at me.com)
Date: Thu, 01 Jan 2009 08:40:35 -0600
Subject: [Freeswitch-dev] Looking for AJax dev.
Message-ID: <36B95AEF-D553-4C6D-919B-117EDFB76651@me.com>
Looking for a web application developer using AJAX etc for full-time
opportunity. Preferably California or Michigan resident but not a
must. Experience in programming and cross platform skills a plus.
Please contact me off list at gui.dev at me.com
Thanks...
Happy Holidays!
From mikael at bjerkeland.com Fri Jan 2 03:38:06 2009
From: mikael at bjerkeland.com (Mikael A. Bjerkeland)
Date: Fri, 02 Jan 2009 12:38:06 +0100
Subject: [Freeswitch-dev] Audio formats without transcoding
In-Reply-To: <87f2f3b90812090834x134b93eeq2036e8ce3f1c92ed@mail.gmail.com>
References: <1c3be50f0812090610u7830391cmbf3e76f96dca9b79@mail.gmail.com>
<7355B165-9BB4-4E81-B974-42B929CB0856@jerris.com>
<87f2f3b90812090834x134b93eeq2036e8ce3f1c92ed@mail.gmail.com>
Message-ID: <1230896286.14994.22.camel@mikael-xpsm1530>
Michael,
let's say G722 isn't found, but .wav is, will FS revert to using
the .wav file and transcode if the file extension is not specified in
playback?
I will be creating a script to convert any file using sox to every
specified format so we can avoid transcoding as much as possible.
The script will appear at
http://wiki.freeswitch.org/wiki/Mod_native_file anytime soon.
El mar, 09-12-2008 a las 08:34 -0800, Michael Collins escribi?:
> Unfortunately mod_native_file hasn't been documented on the wiki yet.
> I'm going to work on that. However, the gist of it is this: if you
> have a file in the proper format, such as g711, then you can specify
> the file name w/o the extension and FreeSWITCH will pick the right one
> for the codec being used. You'll need to make sure that your file
> names have the proper extensions, like .pcmu for mu-law. A complete
> list is available here:
> http://www.iana.org/assignments/media-types/audio/
>
> so if you have these files:
> /tmp/hello.wav
> /tmp/hello.pcmu
> /tmp/hello.gsm
> /tmp/hello.g729
>
> you can specify the exact file name, in which case FS will play the
> file and do whatever transcoding is needed. Or you can specify the
> filename without the extension and FS will pick the appropriate one:
>
>
>
> Look for an update on the wiki in the next day or two. In the meantime
> please report back if you have any issues.
>
> -MC
>
> On Tue, Dec 9, 2008 at 7:24 AM, Michael Jerris wrote:
> > yes, you can use mod_native_file.
> >
> > Mike
> >
> > On Dec 9, 2008, at 9:10 AM, Juan Jose Comellas wrote:
> >
> >> I need to support calls using G.711, G.729 and G.722 and I want to
> >> avoid transcoding as much as possible. Does FreeSWITCH support playing
> >> audios in a raw format that does not require transcoding for any of
> >> these codecs? It looks like FS provides WAV audio files with the
> >> frequencies of the supported codecs and relies on transcoding all the
> >> time. Is my analysis correct? How does everybody else handle this
> >> problem?
> >
> >
> > _______________________________________________
> > Freeswitch-dev mailing list
> > Freeswitch-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
> >
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From juanjo at comellas.org Fri Jan 2 05:41:23 2009
From: juanjo at comellas.org (Juan Jose Comellas)
Date: Fri, 2 Jan 2009 11:41:23 -0200
Subject: [Freeswitch-dev] Audio formats without transcoding
In-Reply-To: <1230896286.14994.22.camel@mikael-xpsm1530>
References: <1c3be50f0812090610u7830391cmbf3e76f96dca9b79@mail.gmail.com>
<7355B165-9BB4-4E81-B974-42B929CB0856@jerris.com>
<87f2f3b90812090834x134b93eeq2036e8ce3f1c92ed@mail.gmail.com>
<1230896286.14994.22.camel@mikael-xpsm1530>
Message-ID: <1c3be50f0901020541u6bcc0e46jf53b546a8aacc06e@mail.gmail.com>
BTW, what are you planning to use to convert WAV files to G.722?
On Fri, Jan 2, 2009 at 9:38 AM, Mikael A. Bjerkeland
wrote:
> Michael,
>
> let's say G722 isn't found, but .wav is, will FS revert to using
> the .wav file and transcode if the file extension is not specified in
> playback?
>
> I will be creating a script to convert any file using sox to every
> specified format so we can avoid transcoding as much as possible.
> The script will appear at
> http://wiki.freeswitch.org/wiki/Mod_native_file anytime soon.
>
>
> El mar, 09-12-2008 a las 08:34 -0800, Michael Collins escribi?:
> > Unfortunately mod_native_file hasn't been documented on the wiki yet.
> > I'm going to work on that. However, the gist of it is this: if you
> > have a file in the proper format, such as g711, then you can specify
> > the file name w/o the extension and FreeSWITCH will pick the right one
> > for the codec being used. You'll need to make sure that your file
> > names have the proper extensions, like .pcmu for mu-law. A complete
> > list is available here:
> > http://www.iana.org/assignments/media-types/audio/
> >
> > so if you have these files:
> > /tmp/hello.wav
> > /tmp/hello.pcmu
> > /tmp/hello.gsm
> > /tmp/hello.g729
> >
> > you can specify the exact file name, in which case FS will play the
> > file and do whatever transcoding is needed. Or you can specify the
> > filename without the extension and FS will pick the appropriate one:
> >
> >
> >
> > Look for an update on the wiki in the next day or two. In the meantime
> > please report back if you have any issues.
> >
> > -MC
> >
> > On Tue, Dec 9, 2008 at 7:24 AM, Michael Jerris wrote:
> > > yes, you can use mod_native_file.
> > >
> > > Mike
> > >
> > > On Dec 9, 2008, at 9:10 AM, Juan Jose Comellas wrote:
> > >
> > >> I need to support calls using G.711, G.729 and G.722 and I want to
> > >> avoid transcoding as much as possible. Does FreeSWITCH support playing
> > >> audios in a raw format that does not require transcoding for any of
> > >> these codecs? It looks like FS provides WAV audio files with the
> > >> frequencies of the supported codecs and relies on transcoding all the
> > >> time. Is my analysis correct? How does everybody else handle this
> > >> problem?
> > >
> > >
> > > _______________________________________________
> > > Freeswitch-dev mailing list
> > > Freeswitch-dev at lists.freeswitch.org
> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > > http://www.freeswitch.org
> > >
> >
> > _______________________________________________
> > Freeswitch-dev mailing list
> > Freeswitch-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090102/30a4930e/attachment.html
From mikael at bjerkeland.com Fri Jan 2 06:05:02 2009
From: mikael at bjerkeland.com (Mikael A. Bjerkeland)
Date: Fri, 02 Jan 2009 15:05:02 +0100
Subject: [Freeswitch-dev] Audio formats without transcoding
In-Reply-To: <1c3be50f0901020541u6bcc0e46jf53b546a8aacc06e@mail.gmail.com>
References: <1c3be50f0812090610u7830391cmbf3e76f96dca9b79@mail.gmail.com>
<7355B165-9BB4-4E81-B974-42B929CB0856@jerris.com>
<87f2f3b90812090834x134b93eeq2036e8ce3f1c92ed@mail.gmail.com>
<1230896286.14994.22.camel@mikael-xpsm1530>
<1c3be50f0901020541u6bcc0e46jf53b546a8aacc06e@mail.gmail.com>
Message-ID: <1230905102.14994.24.camel@mikael-xpsm1530>
Haven't thought of that. I suppose as you are asking this question since
sox doesn't support converting to or from G.722?
If that's the case and you figure out how we could do this please let me
know.
El vie, 02-01-2009 a las 11:41 -0200, Juan Jose Comellas escribi?:
> BTW, what are you planning to use to convert WAV files to G.722?
>
>
> On Fri, Jan 2, 2009 at 9:38 AM, Mikael A. Bjerkeland
> wrote:
> Michael,
>
> let's say G722 isn't found, but .wav is, will FS revert to
> using
> the .wav file and transcode if the file extension is not
> specified in
> playback?
>
> I will be creating a script to convert any file using sox to
> every
> specified format so we can avoid transcoding as much as
> possible.
> The script will appear at
> http://wiki.freeswitch.org/wiki/Mod_native_file anytime soon.
>
>
> El mar, 09-12-2008 a las 08:34 -0800, Michael Collins
> escribi?:
>
> > Unfortunately mod_native_file hasn't been documented on the
> wiki yet.
> > I'm going to work on that. However, the gist of it is this:
> if you
> > have a file in the proper format, such as g711, then you can
> specify
> > the file name w/o the extension and FreeSWITCH will pick the
> right one
> > for the codec being used. You'll need to make sure that your
> file
> > names have the proper extensions, like .pcmu for mu-law. A
> complete
> > list is available here:
> > http://www.iana.org/assignments/media-types/audio/
> >
> > so if you have these files:
> > /tmp/hello.wav
> > /tmp/hello.pcmu
> > /tmp/hello.gsm
> > /tmp/hello.g729
> >
> > you can specify the exact file name, in which case FS will
> play the
> > file and do whatever transcoding is needed. Or you can
> specify the
> > filename without the extension and FS will pick the
> appropriate one:
> >
> >
> >
> > Look for an update on the wiki in the next day or two. In
> the meantime
> > please report back if you have any issues.
> >
> > -MC
> >
> > On Tue, Dec 9, 2008 at 7:24 AM, Michael Jerris
> wrote:
> > > yes, you can use mod_native_file.
> > >
> > > Mike
> > >
> > > On Dec 9, 2008, at 9:10 AM, Juan Jose Comellas wrote:
> > >
> > >> I need to support calls using G.711, G.729 and G.722 and
> I want to
> > >> avoid transcoding as much as possible. Does FreeSWITCH
> support playing
> > >> audios in a raw format that does not require transcoding
> for any of
> > >> these codecs? It looks like FS provides WAV audio files
> with the
> > >> frequencies of the supported codecs and relies on
> transcoding all the
> > >> time. Is my analysis correct? How does everybody else
> handle this
> > >> problem?
> > >
> > >
> > > _______________________________________________
> > > Freeswitch-dev mailing list
> > > Freeswitch-dev at lists.freeswitch.org
> > >
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > >
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > > http://www.freeswitch.org
> > >
> >
> > _______________________________________________
> > Freeswitch-dev mailing list
> > Freeswitch-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From msc at freeswitch.org Fri Jan 2 07:09:24 2009
From: msc at freeswitch.org (Michael S Collins)
Date: Fri, 2 Jan 2009 07:09:24 -0800
Subject: [Freeswitch-dev] Audio formats without transcoding
In-Reply-To: <1230896286.14994.22.camel@mikael-xpsm1530>
References: <1c3be50f0812090610u7830391cmbf3e76f96dca9b79@mail.gmail.com>
<7355B165-9BB4-4E81-B974-42B929CB0856@jerris.com>
<87f2f3b90812090834x134b93eeq2036e8ce3f1c92ed@mail.gmail.com>
<1230896286.14994.22.camel@mikael-xpsm1530>
Message-ID: <91308E34-8FD2-40EC-BAB1-307B4F283F95@freeswitch.org>
From my experience if the native file format is not found then it
will not play anything, but will show a file not found error.
-MC
Sent from my iPhone
On Jan 2, 2009, at 3:38 AM, "Mikael A. Bjerkeland" wrote:
> Michael,
>
> let's say G722 isn't found, but .wav is, will FS revert to using
> the .wav file and transcode if the file extension is not specified in
> playback?
>
> I will be creating a script to convert any file using sox to every
> specified format so we can avoid transcoding as much as possible.
> The script will appear at
> http://wiki.freeswitch.org/wiki/Mod_native_file anytime soon.
>
>
> El mar, 09-12-2008 a las 08:34 -0800, Michael Collins escribi?:
>> Unfortunately mod_native_file hasn't been documented on the wiki yet.
>> I'm going to work on that. However, the gist of it is this: if you
>> have a file in the proper format, such as g711, then you can specify
>> the file name w/o the extension and FreeSWITCH will pick the right
>> one
>> for the codec being used. You'll need to make sure that your file
>> names have the proper extensions, like .pcmu for mu-law. A complete
>> list is available here:
>> http://www.iana.org/assignments/media-types/audio/
>>
>> so if you have these files:
>> /tmp/hello.wav
>> /tmp/hello.pcmu
>> /tmp/hello.gsm
>> /tmp/hello.g729
>>
>> you can specify the exact file name, in which case FS will play the
>> file and do whatever transcoding is needed. Or you can specify the
>> filename without the extension and FS will pick the appropriate one:
>>
>>
>>
>> Look for an update on the wiki in the next day or two. In the
>> meantime
>> please report back if you have any issues.
>>
>> -MC
>>
>> On Tue, Dec 9, 2008 at 7:24 AM, Michael Jerris
>> wrote:
>>> yes, you can use mod_native_file.
>>>
>>> Mike
>>>
>>> On Dec 9, 2008, at 9:10 AM, Juan Jose Comellas wrote:
>>>
>>>> I need to support calls using G.711, G.729 and G.722 and I want to
>>>> avoid transcoding as much as possible. Does FreeSWITCH support
>>>> playing
>>>> audios in a raw format that does not require transcoding for any of
>>>> these codecs? It looks like FS provides WAV audio files with the
>>>> frequencies of the supported codecs and relies on transcoding all
>>>> the
>>>> time. Is my analysis correct? How does everybody else handle this
>>>> problem?
>>>
>>>
>>> _______________________________________________
>>> Freeswitch-dev mailing list
>>> Freeswitch-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> http://www.freeswitch.org
>>>
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>> dev
>> http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From mikael at bjerkeland.com Fri Jan 2 07:38:38 2009
From: mikael at bjerkeland.com (Mikael A. Bjerkeland)
Date: Fri, 02 Jan 2009 16:38:38 +0100
Subject: [Freeswitch-dev] Audio formats without transcoding
In-Reply-To: <91308E34-8FD2-40EC-BAB1-307B4F283F95@freeswitch.org>
References: <1c3be50f0812090610u7830391cmbf3e76f96dca9b79@mail.gmail.com>
<7355B165-9BB4-4E81-B974-42B929CB0856@jerris.com>
<87f2f3b90812090834x134b93eeq2036e8ce3f1c92ed@mail.gmail.com>
<1230896286.14994.22.camel@mikael-xpsm1530>
<91308E34-8FD2-40EC-BAB1-307B4F283F95@freeswitch.org>
Message-ID: <1230910718.14994.29.camel@mikael-xpsm1530>
Hmm, what about setting a channel variable to change this behaviour? I
might be off track, but shouldn't the file be transcoded if that's the
only way to play it?
El vie, 02-01-2009 a las 07:09 -0800, Michael S Collins escribi?:
> From my experience if the native file format is not found then it
> will not play anything, but will show a file not found error.
>
> -MC
>
> Sent from my iPhone
>
> On Jan 2, 2009, at 3:38 AM, "Mikael A. Bjerkeland" > wrote:
>
> > Michael,
> >
> > let's say G722 isn't found, but .wav is, will FS revert to using
> > the .wav file and transcode if the file extension is not specified in
> > playback?
> >
> > I will be creating a script to convert any file using sox to every
> > specified format so we can avoid transcoding as much as possible.
> > The script will appear at
> > http://wiki.freeswitch.org/wiki/Mod_native_file anytime soon.
> >
> >
> > El mar, 09-12-2008 a las 08:34 -0800, Michael Collins escribi?:
> >> Unfortunately mod_native_file hasn't been documented on the wiki yet.
> >> I'm going to work on that. However, the gist of it is this: if you
> >> have a file in the proper format, such as g711, then you can specify
> >> the file name w/o the extension and FreeSWITCH will pick the right
> >> one
> >> for the codec being used. You'll need to make sure that your file
> >> names have the proper extensions, like .pcmu for mu-law. A complete
> >> list is available here:
> >> http://www.iana.org/assignments/media-types/audio/
> >>
> >> so if you have these files:
> >> /tmp/hello.wav
> >> /tmp/hello.pcmu
> >> /tmp/hello.gsm
> >> /tmp/hello.g729
> >>
> >> you can specify the exact file name, in which case FS will play the
> >> file and do whatever transcoding is needed. Or you can specify the
> >> filename without the extension and FS will pick the appropriate one:
> >>
> >>
> >>
> >> Look for an update on the wiki in the next day or two. In the
> >> meantime
> >> please report back if you have any issues.
> >>
> >> -MC
> >>
> >> On Tue, Dec 9, 2008 at 7:24 AM, Michael Jerris
> >> wrote:
> >>> yes, you can use mod_native_file.
> >>>
> >>> Mike
> >>>
> >>> On Dec 9, 2008, at 9:10 AM, Juan Jose Comellas wrote:
> >>>
> >>>> I need to support calls using G.711, G.729 and G.722 and I want to
> >>>> avoid transcoding as much as possible. Does FreeSWITCH support
> >>>> playing
> >>>> audios in a raw format that does not require transcoding for any of
> >>>> these codecs? It looks like FS provides WAV audio files with the
> >>>> frequencies of the supported codecs and relies on transcoding all
> >>>> the
> >>>> time. Is my analysis correct? How does everybody else handle this
> >>>> problem?
> >>>
> >>>
> >>> _______________________________________________
> >>> Freeswitch-dev mailing list
> >>> Freeswitch-dev at lists.freeswitch.org
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> >>> http://www.freeswitch.org
> >>>
> >>
> >> _______________________________________________
> >> Freeswitch-dev mailing list
> >> Freeswitch-dev at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
> >> dev
> >> http://www.freeswitch.org
> >
> >
> > _______________________________________________
> > Freeswitch-dev mailing list
> > Freeswitch-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From msc at freeswitch.org Fri Jan 2 08:15:10 2009
From: msc at freeswitch.org (Michael Collins)
Date: Fri, 2 Jan 2009 08:15:10 -0800
Subject: [Freeswitch-dev] Audio formats without transcoding
In-Reply-To: <1230910718.14994.29.camel@mikael-xpsm1530>
References: <1c3be50f0812090610u7830391cmbf3e76f96dca9b79@mail.gmail.com>
<7355B165-9BB4-4E81-B974-42B929CB0856@jerris.com>
<87f2f3b90812090834x134b93eeq2036e8ce3f1c92ed@mail.gmail.com>
<1230896286.14994.22.camel@mikael-xpsm1530>
<91308E34-8FD2-40EC-BAB1-307B4F283F95@freeswitch.org>
<1230910718.14994.29.camel@mikael-xpsm1530>
Message-ID: <87f2f3b90901020815i2b526862t5a695fa4e6b6a521@mail.gmail.com>
That's a reasonable expectation. However, if there is more than one file
format from which the sound could be played then a decision must be made as
to which one to use. You could default to .wav and hope that there's a .wav
file present or you could create a logic tree that looks for various file
types and chooses the most appropriate under the circumstances. Most likely
you'd need more than just a channel variable - you'd need to do a small
script in your preferred language, be it Lua, Perl, Python, JavaScript...
-MC
On Fri, Jan 2, 2009 at 7:38 AM, Mikael A. Bjerkeland
wrote:
> Hmm, what about setting a channel variable to change this behaviour? I
> might be off track, but shouldn't the file be transcoded if that's the
> only way to play it?
>
>
> El vie, 02-01-2009 a las 07:09 -0800, Michael S Collins escribi?:
> > From my experience if the native file format is not found then it
> > will not play anything, but will show a file not found error.
> >
> > -MC
> >
> > Sent from my iPhone
> >
> > On Jan 2, 2009, at 3:38 AM, "Mikael A. Bjerkeland" <
> mikael at bjerkeland.com
> > > wrote:
> >
> > > Michael,
> > >
> > > let's say G722 isn't found, but .wav is, will FS revert to using
> > > the .wav file and transcode if the file extension is not specified in
> > > playback?
> > >
> > > I will be creating a script to convert any file using sox to every
> > > specified format so we can avoid transcoding as much as possible.
> > > The script will appear at
> > > http://wiki.freeswitch.org/wiki/Mod_native_file anytime soon.
> > >
> > >
> > > El mar, 09-12-2008 a las 08:34 -0800, Michael Collins escribi?:
> > >> Unfortunately mod_native_file hasn't been documented on the wiki yet.
> > >> I'm going to work on that. However, the gist of it is this: if you
> > >> have a file in the proper format, such as g711, then you can specify
> > >> the file name w/o the extension and FreeSWITCH will pick the right
> > >> one
> > >> for the codec being used. You'll need to make sure that your file
> > >> names have the proper extensions, like .pcmu for mu-law. A complete
> > >> list is available here:
> > >> http://www.iana.org/assignments/media-types/audio/
> > >>
> > >> so if you have these files:
> > >> /tmp/hello.wav
> > >> /tmp/hello.pcmu
> > >> /tmp/hello.gsm
> > >> /tmp/hello.g729
> > >>
> > >> you can specify the exact file name, in which case FS will play the
> > >> file and do whatever transcoding is needed. Or you can specify the
> > >> filename without the extension and FS will pick the appropriate one:
> > >>
> > >>
> > >>
> > >> Look for an update on the wiki in the next day or two. In the
> > >> meantime
> > >> please report back if you have any issues.
> > >>
> > >> -MC
> > >>
> > >> On Tue, Dec 9, 2008 at 7:24 AM, Michael Jerris
> > >> wrote:
> > >>> yes, you can use mod_native_file.
> > >>>
> > >>> Mike
> > >>>
> > >>> On Dec 9, 2008, at 9:10 AM, Juan Jose Comellas wrote:
> > >>>
> > >>>> I need to support calls using G.711, G.729 and G.722 and I want to
> > >>>> avoid transcoding as much as possible. Does FreeSWITCH support
> > >>>> playing
> > >>>> audios in a raw format that does not require transcoding for any of
> > >>>> these codecs? It looks like FS provides WAV audio files with the
> > >>>> frequencies of the supported codecs and relies on transcoding all
> > >>>> the
> > >>>> time. Is my analysis correct? How does everybody else handle this
> > >>>> problem?
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Freeswitch-dev mailing list
> > >>> Freeswitch-dev at lists.freeswitch.org
> > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > >>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > >>> http://www.freeswitch.org
> > >>>
> > >>
> > >> _______________________________________________
> > >> Freeswitch-dev mailing list
> > >> Freeswitch-dev at lists.freeswitch.org
> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
> > >> dev
> > >> http://www.freeswitch.org
> > >
> > >
> > > _______________________________________________
> > > Freeswitch-dev mailing list
> > > Freeswitch-dev at lists.freeswitch.org
> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > > http://www.freeswitch.org
> >
> > _______________________________________________
> > Freeswitch-dev mailing list
> > Freeswitch-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090102/2e63cb33/attachment.html
From steveu at coppice.org Sun Jan 4 07:21:19 2009
From: steveu at coppice.org (Steve Underwood)
Date: Sun, 04 Jan 2009 23:21:19 +0800
Subject: [Freeswitch-dev] mod_fax
Message-ID: <4960D3EF.1030804@coppice.org>
Hi all,
I finally started to play with mod_fax today. First, a couple of little
observations. Although there is a config file for fax, modules.conf.xml
doesn't contain an entry for mod_fax, and dialplan/default.xml doesn't
contain a demo like
as it does for other modules.
For more serious things.....
If the far end of a SIP FAX transaction sends a reinvite to switch to
T.38, FS sends a 488 back and everything fouls up. Other boxes send back
the previous codec as the new one to use, and everything carries on
smoothly in audio mode. I'm not a SIP expert, so I don't know the
details of what it says on the topic, but in the real world successful
continuance of a call requires a response other than 488. As an aside,
the called party should be the one to initiate an attempt to use T.38,
but in the real world the calling party often does.
If T.38 is not available (which it isn't ever right now), and the call
starts with a low bit rate codec, we should initiate a reinvite to use
Alaw or ulaw. If that fails we might as well abandon the call.
mod_fax currently follows the practice of my old and crude demo programs
for *, and has apps called rxfax and txfax. This is taking a very narrow
view of a FAX machine, and I think is too limiting. I think the
following is how things should be:
- One app, probably just called FAX.
- It will be started with a flag saying if it should act as the
calling party or the called party.
- The app will be given optional lists of files to send, and files
to receive.
- The app will do its best to exchange all the files it can,
including the use of poll mode FAXing.
The module documentation says page by page events should be added (which
spandsp supports), and this seems a sound idea. FAXback and other
services might be implemented through this.
Regards,
Steve
From stephane at shimaore.net Sun Jan 4 08:46:02 2009
From: stephane at shimaore.net (=?UTF-8?Q?St=C3=A9phane_Alnet?=)
Date: Sun, 4 Jan 2009 10:46:02 -0600
Subject: [Freeswitch-dev] mod_fax
In-Reply-To: <4960D3EF.1030804@coppice.org>
References: <4960D3EF.1030804@coppice.org>
Message-ID:
Hello,
Some notes based on my past experience with fax-relay. Sorry for the
long-ish post.
> As an aside,
> the called party should be the one to initiate an attempt to use T.38,
> but in the real world the calling party often does.
Depending on whether CNG shows up first or CED shows up first, the
switch to fax-relay might happen one way or another. Fax server
entities also tend to bypass some steps and start in fax mode (some
even forget to negotiate a voice codec).
> If T.38 is not available (which it isn't ever right now), and the call
> starts with a low bit rate codec, we should initiate a reinvite to use
> Alaw or ulaw. If that fails we might as well abandon the call.
BTW the full specs are available for free:
http://www.itu.int/rec/T-REC-T.38/en
http://www.itu.int/rec/T-REC-T.30/en
T.38 Annex D has an example for a fax-only call, but generally
speaking, in the PSTN there's no such thing as "a fax call" (or a
"modem call"). A call always starts as a voice call, and might switch
to fax mode (and back).
The basic issue Steve mentioned is that if you negotiate (at the start
of the VoIP call) a codec that is supposed to use, say, 28kb/s
(G.729), then to respect QoS over the entire call you should only
accept fax calls that will fit within that amount of bandwidth
(accounting for IP/UDPTL overhead, that might be up to 14,400b/s for
example -- don't quote me on the numbers).
In the early days, one would renegotiate the codec to G.711
("upspeed") when a fax tone was detected (assuming all fax calls use
64kb/s); if QoS denied the bandwidth upspeed (either because of
per-call bandwidth restriction configured on the gateway, Call
Admission Control, RSVP, ..), then the call would be dropped. However,
I don't think the upspeed to G.711 is strictly required, and in a
fax-relay scenario, the hop-on and hop-off gateways could also decide
to only offer the appropriate fax rates to the fax machines
(overriding the speeds offered by the actual fax machines in the T.30
stream; see spec T.30 page 53). So if the call started as a G.729
call, the gateway(s) could "clear the bits" in T.30 for anything above
the matching bandwidth.
Where it gets tricky is that some T.38 options (for example UDPTL
redundancy) might mean that the actual bandwidth available to T.30 is
much lower than the bandwidth available to the voice codec; if you
start with G.729 and then switch to T.38 with one-time redundancy, the
"assumed bandwidth" falls to 28kb/s/2=14kb/s, so you might only be
able to drive 9,600b/s fax out of that.
Another issue is that some fax models use proprietary mechanism to
switch to higher speeds. So a fax machine from brand A might do
14,400b/s with a fax machine from brand A, regardless of what the T.30
negotiated speed was. (I never looked into the gory details, so take
this as hearsay.) However in that last case there's little you can do
anyhow -- you will most probably end up oversubscribing the bandwidth
assumed for the call in any case.
Finally, in some environments, it might be OK to go over the bandwidth
assumed for a voice call in order to get a fax call through (call
completion is more important, and the network is over-engineered to
account for this). Also, fax is only half-duplex, so in large
installations, things tend to level out statistically speaking (most
traffic in fax-relay is from the sender to the receiver; however the
caller might not be the sender). Finally, fax bandwidth usage can go
over voice codec bandwidth usage in regular scenarios -- there's
nothing restricting fax-relay UDPTL traffic to 64kb/s.
HTH,
St?phane
From egghunt at gmail.com Sun Jan 4 14:09:17 2009
From: egghunt at gmail.com (Arnaldo de Moraes Pereira)
Date: Sun, 4 Jan 2009 20:09:17 -0200
Subject: [Freeswitch-dev] Web console
Message-ID:
Hello,
I've written a web console using gwt:
http://lustyscripps.wordpress.com/2009/01/04/web-console-for-freeswitch
It has auto completion support and shows heartbeat event and logging
messages (event_sink). I'll continue to work on it in my spare time, it's
usable right now as it is. If anyone wants to provide artwork, I'll be glad
to accept it.
--
Arnaldo M Pereira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090104/fba42bf3/attachment.html
From kristian.kielhofner at gmail.com Sun Jan 4 15:13:02 2009
From: kristian.kielhofner at gmail.com (Kristian Kielhofner)
Date: Sun, 4 Jan 2009 18:13:02 -0500
Subject: [Freeswitch-dev] Web console
In-Reply-To:
References:
Message-ID: <2d9149cd0901041513n3924b6c7ked46ad36a66e9c96@mail.gmail.com>
On 1/4/09, Arnaldo de Moraes Pereira wrote:
> Hello,
>
> I've written a web console using gwt:
> http://lustyscripps.wordpress.com/2009/01/04/web-console-for-freeswitch
>
> It has auto completion support and shows heartbeat event and logging
> messages (event_sink). I'll continue to work on it in my spare time, it's
> usable right now as it is. If anyone wants to provide artwork, I'll be glad
> to accept it.
>
> --
> Arnaldo M Pereira
>
Very cool! Nice tool for those of us that appreciate the console
interface but sometimes get stuck behind a browser with nary a
terminal emulator in sight.
One question (not really for you, I suppose) - what about SSL
support? I see that you are using the FreeSwitch HTTP server. Does
it support SSL? I suppose one could always use stunnel or something
similar but I thought I'd ask.
Again, nice work!
--
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.com
From egghunt at gmail.com Sun Jan 4 16:27:21 2009
From: egghunt at gmail.com (Arnaldo de Moraes Pereira)
Date: Sun, 4 Jan 2009 22:27:21 -0200
Subject: [Freeswitch-dev] Web console
In-Reply-To: <2d9149cd0901041513n3924b6c7ked46ad36a66e9c96@mail.gmail.com>
References:
<2d9149cd0901041513n3924b6c7ked46ad36a66e9c96@mail.gmail.com>
Message-ID:
On Sun, Jan 4, 2009 at 9:13 PM, Kristian Kielhofner <
kristian.kielhofner at gmail.com> wrote:
> On 1/4/09, Arnaldo de Moraes Pereira wrote:
> > Hello,
> >
> > I've written a web console using gwt:
> > http://lustyscripps.wordpress.com/2009/01/04/web-console-for-freeswitch
> >
> > It has auto completion support and shows heartbeat event and logging
> > messages (event_sink). I'll continue to work on it in my spare time, it's
> > usable right now as it is. If anyone wants to provide artwork, I'll be
> glad
> > to accept it.
> >
> > --
> > Arnaldo M Pereira
> >
>
> Very cool! Nice tool for those of us that appreciate the console
> interface but sometimes get stuck behind a browser with nary a
> terminal emulator in sight.
>
> One question (not really for you, I suppose) - what about SSL
> support? I see that you are using the FreeSwitch HTTP server. Does
> it support SSL? I suppose one could always use stunnel or something
> similar but I thought I'd ask.
>
mod_xml_rpc currently doesn't support SSL.
>
> Again, nice work!
Thanks!
>
>
> --
> Kristian Kielhofner
> http://blog.krisk.org
> http://www.submityoursip.com
> http://www.astlinux.org
> http://www.star2star.com
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Arnaldo M Pereira
ap at arnaldopereira.com
http://www.arnaldopereira.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090104/c3e1df36/attachment.html
From kristian.kielhofner at gmail.com Sun Jan 4 16:55:36 2009
From: kristian.kielhofner at gmail.com (Kristian Kielhofner)
Date: Sun, 4 Jan 2009 19:55:36 -0500
Subject: [Freeswitch-dev] Web console
In-Reply-To:
References:
<2d9149cd0901041513n3924b6c7ked46ad36a66e9c96@mail.gmail.com>
Message-ID: <2d9149cd0901041655v45904c4bodd38ca5a0d56b127@mail.gmail.com>
On 1/4/09, Arnaldo de Moraes Pereira wrote:
>
> mod_xml_rpc currently doesn't support SSL.
>
I didn't think so. Stunnel it is, for now... ;)
--
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.com
From seven at idapted.com Mon Jan 5 03:48:19 2009
From: seven at idapted.com (seven du)
Date: Mon, 5 Jan 2009 19:48:19 +0800
Subject: [Freeswitch-dev] Audio formats without transcoding
References:
Message-ID:
> We are using the mod_native_file. It's case sensitive from my
> experience. I tested PCMU, PCMA and G729, work fine.
> And it also works on ringback tone, just set the channel variable to
> ringback=/sounds/somefile will work.
> Just one thing confused me. if I set a ringback tone, the G729 coded
> file dosn't work in the current trunk 11066,
> freeswitch doens't even try to open it. While it works on the
> freeswitch 1.0.1 release.
>
From steveu at coppice.org Mon Jan 5 04:08:50 2009
From: steveu at coppice.org (Steve Underwood)
Date: Mon, 05 Jan 2009 20:08:50 +0800
Subject: [Freeswitch-dev] mod_fax
In-Reply-To:
References: <4960D3EF.1030804@coppice.org>
Message-ID: <4961F852.2010103@coppice.org>
St?phane Alnet wrote:
> Hello,
>
> Some notes based on my past experience with fax-relay. Sorry for the
> long-ish post.
>
>
>> As an aside,
>> the called party should be the one to initiate an attempt to use T.38,
>> but in the real world the calling party often does.
>>
>
> Depending on whether CNG shows up first or CED shows up first, the
> switch to fax-relay might happen one way or another. Fax server
> entities also tend to bypass some steps and start in fax mode (some
> even forget to negotiate a voice codec).
>
T.38 specifically says the called end is the one which should initiate
T.38 negotiation. The presence of absence of CED and CNG has nothing to
do with it. If the calling end tries to initiate T.38 its a protocol
error, though a common one. As with most SIP implementation, the
industry standard is "as broken as our bunch of monkeys could make it".
>
>> If T.38 is not available (which it isn't ever right now), and the call
>> starts with a low bit rate codec, we should initiate a reinvite to use
>> Alaw or ulaw. If that fails we might as well abandon the call.
>>
>
> BTW the full specs are available for free:
> http://www.itu.int/rec/T-REC-T.38/en
> http://www.itu.int/rec/T-REC-T.30/en
>
> T.38 Annex D has an example for a fax-only call, but generally
> speaking, in the PSTN there's no such thing as "a fax call" (or a
> "modem call"). A call always starts as a voice call, and might switch
> to fax mode (and back).
>
> The basic issue Steve mentioned is that if you negotiate (at the start
> of the VoIP call) a codec that is supposed to use, say, 28kb/s
> (G.729), then to respect QoS over the entire call you should only
> accept fax calls that will fit within that amount of bandwidth
> (accounting for IP/UDPTL overhead, that might be up to 14,400b/s for
> example -- don't quote me on the numbers).
>
> In the early days, one would renegotiate the codec to G.711
> ("upspeed") when a fax tone was detected (assuming all fax calls use
> 64kb/s); if QoS denied the bandwidth upspeed (either because of
> per-call bandwidth restriction configured on the gateway, Call
> Admission Control, RSVP, ..), then the call would be dropped. However,
> I don't think the upspeed to G.711 is strictly required, and in a
> fax-relay scenario, the hop-on and hop-off gateways could also decide
> to only offer the appropriate fax rates to the fax machines
> (overriding the speeds offered by the actual fax machines in the T.30
> stream; see spec T.30 page 53). So if the call started as a G.729
> call, the gateway(s) could "clear the bits" in T.30 for anything above
> the matching bandwidth.
>
> Where it gets tricky is that some T.38 options (for example UDPTL
> redundancy) might mean that the actual bandwidth available to T.30 is
> much lower than the bandwidth available to the voice codec; if you
> start with G.729 and then switch to T.38 with one-time redundancy, the
> "assumed bandwidth" falls to 28kb/s/2=14kb/s, so you might only be
> able to drive 9,600b/s fax out of that.
> Another issue is that some fax models use proprietary mechanism to
> switch to higher speeds. So a fax machine from brand A might do
> 14,400b/s with a fax machine from brand A, regardless of what the T.30
> negotiated speed was. (I never looked into the gory details, so take
> this as hearsay.) However in that last case there's little you can do
> anyhow -- you will most probably end up oversubscribing the bandwidth
> assumed for the call in any case.
>
>
> Finally, in some environments, it might be OK to go over the bandwidth
> assumed for a voice call in order to get a fax call through (call
> completion is more important, and the network is over-engineered to
> account for this). Also, fax is only half-duplex, so in large
> installations, things tend to level out statistically speaking (most
> traffic in fax-relay is from the sender to the receiver; however the
> caller might not be the sender). Finally, fax bandwidth usage can go
> over voice codec bandwidth usage in regular scenarios -- there's
> nothing restricting fax-relay UDPTL traffic to 64kb/s.
>
QoS is a largely unrelated issue, in that SIP servers don't cooperate
with QoS managers. The SIP server needs to do its best to get the calls
through, and hasn't the slightest clue what the channel's capacity might
be. Whilst switching to a higher bit rate might overwhelm the channel,
the SIP server has no way of telling in advance. To stick with a low bit
rate codec is completely useless. Renegotiating to a usable codec is the
less worst thing we can do.
Regards,
Steve
From anthony.minessale at gmail.com Mon Jan 5 06:17:14 2009
From: anthony.minessale at gmail.com (Anthony Minessale)
Date: Mon, 5 Jan 2009 08:17:14 -0600
Subject: [Freeswitch-dev] mod_fax
In-Reply-To: <4960D3EF.1030804@coppice.org>
References: <4960D3EF.1030804@coppice.org>
Message-ID: <191c3a030901050617g2e35a9bckb30c58b41f23c215@mail.gmail.com>
mod_fax is an unfunded work in progress so calling it crude means I guess we
are not off to a very good start.
Your input is nonetheless appreciated as the small group of 3 or 4 coders
continue to try and find time to add t.30 and t.38 support to
FreeSWITCH in our spare time with little or no help. So eventually your
concerns will probably be addressed but
Rome was not built in a day........
You do seem to have a talent for writing. May I suggest your volunteer your
skills on our WIKI?
http://wiki.freeswitch.org/
On Sun, Jan 4, 2009 at 9:21 AM, Steve Underwood wrote:
> Hi all,
>
> I finally started to play with mod_fax today. First, a couple of little
> observations. Although there is a config file for fax, modules.conf.xml
> doesn't contain an entry for mod_fax, and dialplan/default.xml doesn't
> contain a demo like
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> as it does for other modules.
>
> For more serious things.....
>
> If the far end of a SIP FAX transaction sends a reinvite to switch to
> T.38, FS sends a 488 back and everything fouls up. Other boxes send back
> the previous codec as the new one to use, and everything carries on
> smoothly in audio mode. I'm not a SIP expert, so I don't know the
> details of what it says on the topic, but in the real world successful
> continuance of a call requires a response other than 488. As an aside,
> the called party should be the one to initiate an attempt to use T.38,
> but in the real world the calling party often does.
>
> If T.38 is not available (which it isn't ever right now), and the call
> starts with a low bit rate codec, we should initiate a reinvite to use
> Alaw or ulaw. If that fails we might as well abandon the call.
>
> mod_fax currently follows the practice of my old and crude demo programs
> for *, and has apps called rxfax and txfax. This is taking a very narrow
> view of a FAX machine, and I think is too limiting. I think the
> following is how things should be:
>
> - One app, probably just called FAX.
> - It will be started with a flag saying if it should act as the
> calling party or the called party.
> - The app will be given optional lists of files to send, and files
> to receive.
> - The app will do its best to exchange all the files it can,
> including the use of poll mode FAXing.
>
> The module documentation says page by page events should be added (which
> spandsp supports), and this seems a sound idea. FAXback and other
> services might be implemented through this.
>
> Regards,
> Steve
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090105/6acaa226/attachment-0001.html
From anthony.minessale at gmail.com Mon Jan 5 08:23:42 2009
From: anthony.minessale at gmail.com (Anthony Minessale)
Date: Mon, 5 Jan 2009 10:23:42 -0600
Subject: [Freeswitch-dev] mod_fax
In-Reply-To: <191c3a030901050617g2e35a9bckb30c58b41f23c215@mail.gmail.com>
References: <4960D3EF.1030804@coppice.org>
<191c3a030901050617g2e35a9bckb30c58b41f23c215@mail.gmail.com>
Message-ID: <191c3a030901050823k767ca8d7lb3b490e8ea7a27ca@mail.gmail.com>
I think i'm a bit overworked.
Steve is one of the small group of people I was mentioning above so I am not
sure why I am reminding him of the obvious. We thank him profusely for his
involvement.
On Mon, Jan 5, 2009 at 8:17 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> mod_fax is an unfunded work in progress so calling it crude means I guess
> we are not off to a very good start.
> Your input is nonetheless appreciated as the small group of 3 or 4 coders
> continue to try and find time to add t.30 and t.38 support to
> FreeSWITCH in our spare time with little or no help. So eventually your
> concerns will probably be addressed but
> Rome was not built in a day........
>
> You do seem to have a talent for writing. May I suggest your volunteer
> your skills on our WIKI?
> http://wiki.freeswitch.org/
>
>
>
>
>
> On Sun, Jan 4, 2009 at 9:21 AM, Steve Underwood wrote:
>
>> Hi all,
>>
>> I finally started to play with mod_fax today. First, a couple of little
>> observations. Although there is a config file for fax, modules.conf.xml
>> doesn't contain an entry for mod_fax, and dialplan/default.xml doesn't
>> contain a demo like
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> as it does for other modules.
>>
>> For more serious things.....
>>
>> If the far end of a SIP FAX transaction sends a reinvite to switch to
>> T.38, FS sends a 488 back and everything fouls up. Other boxes send back
>> the previous codec as the new one to use, and everything carries on
>> smoothly in audio mode. I'm not a SIP expert, so I don't know the
>> details of what it says on the topic, but in the real world successful
>> continuance of a call requires a response other than 488. As an aside,
>> the called party should be the one to initiate an attempt to use T.38,
>> but in the real world the calling party often does.
>>
>> If T.38 is not available (which it isn't ever right now), and the call
>> starts with a low bit rate codec, we should initiate a reinvite to use
>> Alaw or ulaw. If that fails we might as well abandon the call.
>>
>> mod_fax currently follows the practice of my old and crude demo programs
>> for *, and has apps called rxfax and txfax. This is taking a very narrow
>> view of a FAX machine, and I think is too limiting. I think the
>> following is how things should be:
>>
>> - One app, probably just called FAX.
>> - It will be started with a flag saying if it should act as the
>> calling party or the called party.
>> - The app will be given optional lists of files to send, and files
>> to receive.
>> - The app will do its best to exchange all the files it can,
>> including the use of poll mode FAXing.
>>
>> The module documentation says page by page events should be added (which
>> spandsp supports), and this seems a sound idea. FAXback and other
>> services might be implemented through this.
>>
>> Regards,
>> Steve
>>
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090105/5983c043/attachment.html
From brian at freeswitch.org Mon Jan 5 16:27:59 2009
From: brian at freeswitch.org (Brian West)
Date: Mon, 5 Jan 2009 18:27:59 -0600
Subject: [Freeswitch-dev] Audio formats without transcoding
In-Reply-To:
References:
Message-ID: <2131EDFC-1C31-4512-BD6E-3E33EC4A7B08@freeswitch.org>
Seven,
I have tested this with a PCMU file.. can you tell me me how you're
setting the ringback?
/b
On Jan 5, 2009, at 5:48 AM, seven du wrote:
>> We are using the mod_native_file. It's case sensitive from my
>> experience. I tested PCMU, PCMA and G729, work fine.
>> And it also works on ringback tone, just set the channel variable to
>> ringback=/sounds/somefile will work.
>> Just one thing confused me. if I set a ringback tone, the G729 coded
>> file dosn't work in the current trunk 11066,
>> freeswitch doens't even try to open it. While it works on the
>> freeswitch 1.0.1 release.
>>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From seven at idapted.com Tue Jan 6 03:46:25 2009
From: seven at idapted.com (seven du)
Date: Tue, 6 Jan 2009 19:46:25 +0800
Subject: [Freeswitch-dev] Audio formats without transcoding
In-Reply-To:
References:
Message-ID:
>> sorry, mod_native_file only works on non-PASSTHROUGH codecs.
>> previously I modified mod_g729, so FreeSWITCH takes G729 codec as
>> transcoding codecs, mod_native_file will open sound.G729 for
>> ringback( and playback). However I need to make sure both legs
>> using g729 codec.
From huyours at 163.com Tue Jan 6 04:39:21 2009
From: huyours at 163.com (Yours)
Date: Tue, 6 Jan 2009 20:39:21 +0800 (CST)
Subject: [Freeswitch-dev] Freeswitch-dev Digest, Vol 31, Issue 3
In-Reply-To:
References:
Message-ID: <17568440.965851231245561761.JavaMail.coremail@bj163app27.163.com>
Dear friends,
If I want save user information under conf\directory\default to database, such as mysql or sqlserver, which files should I edit? I do not know which files are controlling the user information.
Thanks a lots,
London Hood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090106/d7723f7e/attachment.html
From msc at freeswitch.org Tue Jan 6 11:54:02 2009
From: msc at freeswitch.org (Michael Collins)
Date: Tue, 6 Jan 2009 11:54:02 -0800
Subject: [Freeswitch-dev] New FreeSWITCH release
Message-ID: <87f2f3b90901061154o125d8b13v140ab3440f1980e0@mail.gmail.com>
FYI,
If you haven't already heard, we've now released v1.0.2 of FreeSWITCH!
Please digg the new release story:
http://digg.com/software/FreeSWITCH_New_Release_For_The_New_Year
The source can be downloaded here:
http://files.freeswitch.org/ in both tar.gz and tar.bz2 formats
A Windows MSI file can be downloaded here as well:
http://files.freeswitch.org/freeswitch-1.0.2.msi
Thanks for your support and keep on FreeSWITCHing!
-MC (mercutioviz)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090106/af75d9b5/attachment.html
From stephane at shimaore.net Tue Jan 6 21:00:17 2009
From: stephane at shimaore.net (=?UTF-8?Q?St=C3=A9phane_Alnet?=)
Date: Tue, 6 Jan 2009 23:00:17 -0600
Subject: [Freeswitch-dev] mod_fax
In-Reply-To: <191c3a030901050617g2e35a9bckb30c58b41f23c215@mail.gmail.com>
References: <4960D3EF.1030804@coppice.org>
<191c3a030901050617g2e35a9bckb30c58b41f23c215@mail.gmail.com>
Message-ID:
Tony, Steve, & team,
> mod_fax is an unfunded work in progress so calling it crude means I guess we
> are not off to a very good start.
One idea and one question:
- It seems that doing fax detection over RTP/RFC2833 would be fairly
easy if the RFC2833_CHARS in switch_utils.c was extended to support
values like 36 (CNG) and the range 32-35 (ANS* messages). Or more
simply if the original RFC2833 event value could be accessed directly.
For example (in Javascript) if one could write:
function onInput( session, type, data, arg ) {
if ( type == "dtmf" ) {
/* uses the plain RTP NTE event */
if ( data.nte_event == 36 ) { /* <-- e.g. "nte_event" instead
of "digit" */
console_log( "info", "CNG received\n" );
/* Caller is a sending fax macine, start rx_fax, etc. */
}
}
...
/* Play voicemail prompt and attempt fax or DTMF detection */
session.streamFile( "somefile.wav", onInput );
/* No DTMF or fax detected, start recording the voicemail message. */
- Is there anything to be learned from T.38 and fax in CallWeaver?
app_rxfax, app_txfax, app_t38gateway... have Steve's and Tony's names
on them. Is the design there just plain wrong? Is it a licensing
issue?
On the other hand in FS's mod_fax.c I still read "the pieces are
already in place" for T.38, even though obviously the whole story
isn't ready. Can someone elaborate on what's already there, what's
missing (UDPTL? triggering the codec changeover?), and maybe we can
attack this piece by piece? (While using the ideas Steve put forward
in his first email about merging rxfax and txfax.)
S.
From damjan at ecntelecoms.com Tue Jan 6 22:00:40 2009
From: damjan at ecntelecoms.com (damjan at ecntelecoms.com)
Date: Wed, 7 Jan 2009 08:00:40 +0200 (SAST)
Subject: [Freeswitch-dev] mod_fax
In-Reply-To:
References: <4960D3EF.1030804@coppice.org>
<191c3a030901050617g2e35a9bckb30c58b41f23c215@mail.gmail.com>
Message-ID: <62b7b61fad8306369a4278900ef7b978.squirrel@webmail.ecntelecoms.com>
> Tony, Steve, & team,
>
>> mod_fax is an unfunded work in progress so calling it crude means I
>> guess we
>> are not off to a very good start.
>
> One idea and one question:
>
> - It seems that doing fax detection over RTP/RFC2833 would be fairly
> easy if the RFC2833_CHARS in switch_utils.c was extended to support
> values like 36 (CNG) and the range 32-35 (ANS* messages). Or more
> simply if the original RFC2833 event value could be accessed directly.
> For example (in Javascript) if one could write:
>
>
> function onInput( session, type, data, arg ) {
> if ( type == "dtmf" ) {
> /* uses the plain RTP NTE event */
> if ( data.nte_event == 36 ) { /* <-- e.g. "nte_event" instead
> of "digit" */
> console_log( "info", "CNG received\n" );
> /* Caller is a sending fax macine, start rx_fax, etc. */
> }
> }
>
> ...
>
> /* Play voicemail prompt and attempt fax or DTMF detection */
> session.streamFile( "somefile.wav", onInput );
> /* No DTMF or fax detected, start recording the voicemail message. */
In RFC2833, support for relaying modem connect tones (CNG, [/]ANS[am] and
co) is optional, and relatively few implementations support them. It also
has to be supported on both sides for it to work. Carrying these tones
over compressing codecs distorts them, often beyond recognition - that's
why in T.38 it is the answering end, which has a clear channel to the
answering fax machine, that initiates the T.38 switchover.
Also CNG and ANS are not generated or generated incorrectly by many fax
machines, you need to look for V.21H HDLC flags, or even T.30 data in the
HDLC frames, to know for sure that it's a fax.
Damjan
From seven at idapted.com Wed Jan 7 05:44:21 2009
From: seven at idapted.com (seven du)
Date: Wed, 7 Jan 2009 21:44:21 +0800
Subject: [Freeswitch-dev] Audio formats without transcoding
Message-ID:
Brian,
I tested using originate
{ignore_early_media=true,absolute_string=g729,ringback=/sounds/
somefile}sofia/default/1000 &bridge({ignore_early_media=true,
ringback=/sounds/somefile,absolute_codec_string=g729}sofia/gateways/
xxxx/00000)
To listen the ring back, you need set ignore_early_media, the ringback
variable maybe not needed at A-leg
To make codec g729 work, I commented one line in switch_g729_init in
mod_g729.c:
// codec->flags |= SWITCH_CODEC_FLAG_PASSTHROUGH;
However, I need to carefully make sure no transcoding happens, see
http://lists.freeswitch.org/pipermail/freeswitch-dev/2009-January/001750.html
From stephane at shimaore.net Wed Jan 7 17:32:37 2009
From: stephane at shimaore.net (=?UTF-8?Q?St=C3=A9phane_Alnet?=)
Date: Wed, 7 Jan 2009 19:32:37 -0600
Subject: [Freeswitch-dev] mod_fax
In-Reply-To: <62b7b61fad8306369a4278900ef7b978.squirrel@webmail.ecntelecoms.com>
References: <4960D3EF.1030804@coppice.org>
<191c3a030901050617g2e35a9bckb30c58b41f23c215@mail.gmail.com>
<62b7b61fad8306369a4278900ef7b978.squirrel@webmail.ecntelecoms.com>
Message-ID:
> In RFC2833, support for relaying modem connect tones (CNG, [/]ANS[am] and
> co) is optional, and relatively few implementations support them.
[...]
> Also CNG and ANS are not generated or generated incorrectly by many fax
> machines, you need to look for V.21H HDLC flags, or even T.30 data in the
> HDLC frames, to know for sure that it's a fax.
Alright, I guess that from an application perspective, developers
generally are not really trying to do fax detection. They are only
trying to differentiate between a "human" and a fax machine (or
modem).
So I guess "fax detection" in that relaxed sense can be summarized as:
- on an attached audio channel (AUDIO_MODE), did we detect CNG, ANS*,
or anything that would make the software switch to fax-relay mode -- I
would assume there's some kind of event that spandsp generates in that
case(?);
- on a SIP/H.323 channel supporting T.38, did a switch-over to T.38 occur.
- (any other channel mode?)
(Not that I want to drag the discussion any further if nobody cares about it.)
S.
From gmaruzz at celliax.org Fri Jan 9 07:05:33 2009
From: gmaruzz at celliax.org (Giovanni Maruzzelli)
Date: Fri, 9 Jan 2009 16:05:33 +0100
Subject: [Freeswitch-dev] Crashes on Win32, sqlite problem?
Message-ID: <7b197bef0901090705t72eefea1hcd9868bde3802475@mail.gmail.com>
On Vista 32 bit, fully updated, VC Express 2008, I often (once in a
day roughly) have crashes with:
Assertion failed: inMutex, file ..\..\sqlite\src\os_win.c, line 1619
Seems a known issue:
http://jira.freeswitch.org/browse/FSCORE-180
For me, it seems unrelated to traffic or whatever...
If I can, I'll find out more, this mail just for not forgettin :-)
Sincerely,
Giovanni Maruzzelli
=========================================
Company : Celliax
Website: www.celliax.org
Address : via Pierlombardo 9, 20135 Milano
Country/Territory : Italy
Business Email: gmaruzz at celliax dot org
Cell : 39-347-2665618
Fax : 39-02-87390039
From earlenceferns at gmail.com Fri Jan 9 04:17:19 2009
From: earlenceferns at gmail.com (Earlence Fernandes)
Date: Fri, 9 Jan 2009 17:47:19 +0530
Subject: [Freeswitch-dev] FreeSwitch query
Message-ID: <6853dec80901090417j48594099wcd4e8045fdf71d08@mail.gmail.com>
Hi,
I am trying to develop a VoiceChat app for the Android platform.
I came across FreeSwitch from the XMPP site where it is listed as a Jingle
compatible server.
I have a few questions.
1. Does FreeSwitch act as a VoIP server on which I can register user
accounts?.
2. If so, can I use any SIP stack(most probably in Java) to connect to this
server and establish voice calls between two custom built clients?
Cheers,
Earlence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090109/10710ab2/attachment.html
From mike at jerris.com Fri Jan 9 09:23:18 2009
From: mike at jerris.com (Michael Jerris)
Date: Fri, 9 Jan 2009 12:23:18 -0500
Subject: [Freeswitch-dev] FreeSwitch query
In-Reply-To: <6853dec80901090417j48594099wcd4e8045fdf71d08@mail.gmail.com>
References: <6853dec80901090417j48594099wcd4e8045fdf71d08@mail.gmail.com>
Message-ID: <060C6229-910F-4533-AC5A-98D4C2CD56A1@jerris.com>
On Jan 9, 2009, at 7:17 AM, Earlence Fernandes wrote:
> Hi,
>
> I am trying to develop a VoiceChat app for the Android platform.
> I came across FreeSwitch from the XMPP site where it is listed as a
> Jingle compatible server.
>
> I have a few questions.
>
> 1. Does FreeSwitch act as a VoIP server on which I can register user
> accounts?.
yes
>
> 2. If so, can I use any SIP stack(most probably in Java) to connect
> to this server and establish voice calls between two custom built
> clients?
>
sure
what is the xmpp connection to sip here?
> Cheers,
> Earlence
Mike
From jgarland at jasongarland.com Fri Jan 9 13:41:41 2009
From: jgarland at jasongarland.com (Jason Garland)
Date: Fri, 9 Jan 2009 16:41:41 -0500
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To: <7b197bef0812310658u2cea5f0p7e81ea099af9de83@mail.gmail.com>
References: <7b197bef0812310658u2cea5f0p7e81ea099af9de83@mail.gmail.com>
Message-ID: <4ca506420901091341sd916347u820c05c0485d166c@mail.gmail.com>
Can you make one that calls the FS conference bridge?
On Wed, Dec 31, 2008 at 9:58 AM, Giovanni Maruzzelli wrote:
> Hi FreeSWITCHers!
>
> mod_skypiax, the Skype compatible endpoint, is slowly inching toward
> release :-)
>
> When the demo is online (will go on and off for development), you can
> test it (so helping finding bugs) by calling with Skype the Skype
> Names:
>
> skypiax20, skypiax19, skypiax18, ...., skypiax1
>
> Happy New Year !!!
>
> Sincerely,
>
> Giovanni Maruzzelli
> =========================================
> Company : Celliax
> Website: www.celliax.org
> Address : via Pierlombardo 9, 20135 Milano
> Country/Territory : Italy
> Business Email: gmaruzz at celliax dot org
> Cell : 39-347-2665618
> Fax : 39-02-87390039
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090109/8a373698/attachment.html
From gmaruzz at celliax.org Fri Jan 9 15:10:01 2009
From: gmaruzz at celliax.org (Giovanni Maruzzelli)
Date: Sat, 10 Jan 2009 00:10:01 +0100
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To: <4ca506420901091341sd916347u820c05c0485d166c@mail.gmail.com>
References: <7b197bef0812310658u2cea5f0p7e81ea099af9de83@mail.gmail.com>
<4ca506420901091341sd916347u820c05c0485d166c@mail.gmail.com>
Message-ID: <7b197bef0901091510i4f86116bw1dba825853f8e5a8@mail.gmail.com>
you can call one of the skypiax*, then press 1 :-)
Sincerely,
Giovanni Maruzzelli
=========================================
Company : Celliax
Website: www.celliax.org
Address : via Pierlombardo 9, 20135 Milano
Country/Territory : Italy
Business Email: gmaruzz at celliax dot org
Cell : 39-347-2665618
Fax : 39-02-87390039
On Fri, Jan 9, 2009 at 10:41 PM, Jason Garland
wrote:
> Can you make one that calls the FS conference bridge?
>
> On Wed, Dec 31, 2008 at 9:58 AM, Giovanni Maruzzelli
> wrote:
>>
>> Hi FreeSWITCHers!
>>
>> mod_skypiax, the Skype compatible endpoint, is slowly inching toward
>> release :-)
>>
>> When the demo is online (will go on and off for development), you can
>> test it (so helping finding bugs) by calling with Skype the Skype
>> Names:
>>
>> skypiax20, skypiax19, skypiax18, ...., skypiax1
>>
>> Happy New Year !!!
>>
>> Sincerely,
>>
>> Giovanni Maruzzelli
>> =========================================
>> Company : Celliax
>> Website: www.celliax.org
>> Address : via Pierlombardo 9, 20135 Milano
>> Country/Territory : Italy
>> Business Email: gmaruzz at celliax dot org
>> Cell : 39-347-2665618
>> Fax : 39-02-87390039
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
From gmaruzz at celliax.org Mon Jan 12 04:34:19 2009
From: gmaruzz at celliax.org (Giovanni Maruzzelli)
Date: Mon, 12 Jan 2009 13:34:19 +0100
Subject: [Freeswitch-dev] Skypiax, Skype compatible endpoint
Message-ID: <7b197bef0901120434k16f5d910j9d11012ee243e674@mail.gmail.com>
Ciao FreeSWITCHers,
mod_skypiax is now usable, for Skype calls and finding bugs :-).
Its wiki page (http://wiki.freeswitch.org/wiki/Skypiax, at the moment
it's just the README files concatenated) begins like that:
WHAT IS SKYPIAX
This software (Skypiax) uses the Skype API but is not endorsed,
certified or otherwise approved in any way by Skype.
Skypiax is an endpoint (channel driver) that use the Skype client as
an interface to the Skype network, and allows incoming and outgoing
Skype calls from/to FreeSWITCH (that can be bridged, originated,
answered, etc. as in all other endpoints, eg sofia/SIP).
Think at Skypiax as similar to OpenZAP for analog lines: for each
channel you need an interface (a Skype client). So, for eg, for two
concurrent calls, you will need two channels, two Skype clients
running on server.
If your server's Skype client(s) has got the Skype credits, Skypiax
works for SkypeOut calls too.
You can use it from the dialplan, eg with the provided modified
"default.xml" dialplan, you can call
"sip:skype/remote_skypename__OR__skypeout_phonenumber" for calling via
the Skype network from a SIP softphone to remote_skypename or to a
phone number via SkypeOut, or you can call the "2908" extension from
any phone to be bridged to the Skype Test Call).
With the provided skypiax.conf.xml all incoming Skype calls will be
routed to the "5000" extension, the IVR in default FreeSWITCH
installation.
On Linux the Skype client uses a lot of CPU. To lower its CPU
consumption, you can use the Xvfb "fake" X server and (more important)
the snd-dummy ALSA "fake" sound driver. Scripts are provided for this.
But for a low number of channels it would works with regular X servers
and ALSA drivers.
On a Linux machine with 3GB ram and a quad core intel6600, we got no
problem with 20 concurrent calls, and plenty of room for adding more
Skypiax channels (100? not tested).
On Windows, no need to do anything special, the Skype client is lighter on CPU.
Skypiax is now pre-beta, but usable for testing and finding bugs :-).
You can download Skypiax source code with subversion with the command:
svn co http://svn.freeswitch.org/svn/freeswitch/branches/gmaruzz/src/mod/endpoints/mod_skypiax
mod_skypiax
then, follow the README file in the mod_skypiax directory.
More info on skypiax:
http://wiki.freeswitch.org/wiki/Skypiax
http://www.celliax.org
Sincerely,
Giovanni Maruzzelli
=========================================
Company : Celliax
Website: www.celliax.org
Address : via Pierlombardo 9, 20135 Milano
Country/Territory : Italy
Business Email: gmaruzz at celliax dot org
Cell : 39-347-2665618
Fax : 39-02-87390039
From rehan at supertec.com Mon Jan 12 16:49:26 2009
From: rehan at supertec.com (Rehan Allah Wala)
Date: Mon, 12 Jan 2009 17:49:26 -0700
Subject: [Freeswitch-dev] [Freeswitch-users] Skypiax,
Skype compatible endpoint
In-Reply-To: <7b197bef0901120434k16f5d910j9d11012ee243e674@mail.gmail.com>
References: <7b197bef0901120434k16f5d910j9d11012ee243e674@mail.gmail.com>
Message-ID: <496B82A6.3574.4468654E@rehan.supertec.com>
i am looking for a consulant to send me a quote to run this for me on amazon ec2
Rehan
> Ciao FreeSWITCHers,
>
> mod_skypiax is now usable, for Skype calls and finding bugs :-).
>
> Its wiki page (http://wiki.freeswitch.org/wiki/Skypiax, at the moment
> it's just the README files concatenated) begins like that:
>
> WHAT IS SKYPIAX
>
> This software (Skypiax) uses the Skype API but is not endorsed,
> certified or otherwise approved in any way by Skype.
>
> Skypiax is an endpoint (channel driver) that use the Skype client as
> an interface to the Skype network, and allows incoming and outgoing
> Skype calls from/to FreeSWITCH (that can be bridged, originated,
> answered, etc. as in all other endpoints, eg sofia/SIP).
>
> Think at Skypiax as similar to OpenZAP for analog lines: for each
> channel you need an interface (a Skype client). So, for eg, for two
> concurrent calls, you will need two channels, two Skype clients
> running on server.
>
> If your server's Skype client(s) has got the Skype credits, Skypiax
> works for SkypeOut calls too.
>
> You can use it from the dialplan, eg with the provided modified
> "default.xml" dialplan, you can call
> "sip:skype/remote_skypename__OR__skypeout_phonenumber" for calling via
> the Skype network from a SIP softphone to remote_skypename or to a
> phone number via SkypeOut, or you can call the "2908" extension from
> any phone to be bridged to the Skype Test Call).
>
> With the provided skypiax.conf.xml all incoming Skype calls will be
> routed to the "5000" extension, the IVR in default FreeSWITCH
> installation.
>
> On Linux the Skype client uses a lot of CPU. To lower its CPU
> consumption, you can use the Xvfb "fake" X server and (more important)
> the snd-dummy ALSA "fake" sound driver. Scripts are provided for this.
> But for a low number of channels it would works with regular X servers
> and ALSA drivers.
>
> On a Linux machine with 3GB ram and a quad core intel6600, we got no
> problem with 20 concurrent calls, and plenty of room for adding more
> Skypiax channels (100? not tested).
>
> On Windows, no need to do anything special, the Skype client is lighter on CPU.
>
>
> Skypiax is now pre-beta, but usable for testing and finding bugs :-).
>
>
> You can download Skypiax source code with subversion with the command:
>
> svn co http://svn.freeswitch.org/svn/freeswitch/branches/gmaruzz/src/mod/endpoints/mod_skypiax
> mod_skypiax
>
> then, follow the README file in the mod_skypiax directory.
>
>
> More info on skypiax:
>
> http://wiki.freeswitch.org/wiki/Skypiax
>
> http://www.celliax.org
>
>
> Sincerely,
>
> Giovanni Maruzzelli
> =========================================
> Company : Celliax
> Website: www.celliax.org
> Address : via Pierlombardo 9, 20135 Milano
> Country/Territory : Italy
> Business Email: gmaruzz at celliax dot org
> Cell : 39-347-2665618
> Fax : 39-02-87390039
>
> _______________________________________________
> 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
Rehan Ahmed AllahWala
Msn/Yahoo/GoogleTalk/Email: Rehan at Rehan.com
http://www.supertec.com/ - Internet Telephony Solutions
Http://www.DIDX.net - DID Number Market Place.
Don't Remember Me ? Visit http://www.Rehan.com
~~~~~~~~~~~~~~~~~~~
"First they ignore you, then they laugh at you, then they fight you, then you win."
By Gandhi.
"Live as if you were to die tomorrow. Learn as if you were to live forever." - Gandhi
From mablendafx at yahoo.com Mon Jan 12 06:39:07 2009
From: mablendafx at yahoo.com (Antonio Murrell)
Date: Mon, 12 Jan 2009 06:39:07 -0800 (PST)
Subject: [Freeswitch-dev] Skypiax, Skype compatible endpoint
In-Reply-To: <7b197bef0901120434k16f5d910j9d11012ee243e674@mail.gmail.com>
Message-ID: <250899.34394.qm@web32801.mail.mud.yahoo.com>
Hello,
Would it work with Asterisk? what version?
thank you
--- On Mon, 1/12/09, Giovanni Maruzzelli wrote:
> From: Giovanni Maruzzelli
> Subject: [Freeswitch-dev] Skypiax, Skype compatible endpoint
> To: freeswitch-users at lists.freeswitch.org, freeswitch-dev at lists.freeswitch.org
> Date: Monday, January 12, 2009, 6:34 AM
> Ciao FreeSWITCHers,
>
> mod_skypiax is now usable, for Skype calls and finding bugs
> :-).
>
> Its wiki page (http://wiki.freeswitch.org/wiki/Skypiax, at
> the moment
> it's just the README files concatenated) begins like
> that:
>
> WHAT IS SKYPIAX
>
> This software (Skypiax) uses the Skype API but is not
> endorsed,
> certified or otherwise approved in any way by Skype.
>
> Skypiax is an endpoint (channel driver) that use the Skype
> client as
> an interface to the Skype network, and allows incoming and
> outgoing
> Skype calls from/to FreeSWITCH (that can be bridged,
> originated,
> answered, etc. as in all other endpoints, eg sofia/SIP).
>
> Think at Skypiax as similar to OpenZAP for analog lines:
> for each
> channel you need an interface (a Skype client). So, for eg,
> for two
> concurrent calls, you will need two channels, two Skype
> clients
> running on server.
>
> If your server's Skype client(s) has got the Skype
> credits, Skypiax
> works for SkypeOut calls too.
>
> You can use it from the dialplan, eg with the provided
> modified
> "default.xml" dialplan, you can call
> "sip:skype/remote_skypename__OR__skypeout_phonenumber"
> for calling via
> the Skype network from a SIP softphone to remote_skypename
> or to a
> phone number via SkypeOut, or you can call the
> "2908" extension from
> any phone to be bridged to the Skype Test Call).
>
> With the provided skypiax.conf.xml all incoming Skype calls
> will be
> routed to the "5000" extension, the IVR in
> default FreeSWITCH
> installation.
>
> On Linux the Skype client uses a lot of CPU. To lower its
> CPU
> consumption, you can use the Xvfb "fake" X server
> and (more important)
> the snd-dummy ALSA "fake" sound driver. Scripts
> are provided for this.
> But for a low number of channels it would works with
> regular X servers
> and ALSA drivers.
>
> On a Linux machine with 3GB ram and a quad core intel6600,
> we got no
> problem with 20 concurrent calls, and plenty of room for
> adding more
> Skypiax channels (100? not tested).
>
> On Windows, no need to do anything special, the Skype
> client is lighter on CPU.
>
>
> Skypiax is now pre-beta, but usable for testing and finding
> bugs :-).
>
>
> You can download Skypiax source code with subversion with
> the command:
>
> svn co
> http://svn.freeswitch.org/svn/freeswitch/branches/gmaruzz/src/mod/endpoints/mod_skypiax
> mod_skypiax
>
> then, follow the README file in the mod_skypiax directory.
>
>
> More info on skypiax:
>
> http://wiki.freeswitch.org/wiki/Skypiax
>
> http://www.celliax.org
>
>
> Sincerely,
>
> Giovanni Maruzzelli
> =========================================
> Company : Celliax
> Website: www.celliax.org
> Address : via Pierlombardo 9, 20135 Milano
> Country/Territory : Italy
> Business Email: gmaruzz at celliax dot org
> Cell : 39-347-2665618
> Fax : 39-02-87390039
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From gmaruzz at celliax.org Mon Jan 12 07:22:27 2009
From: gmaruzz at celliax.org (Giovanni Maruzzelli)
Date: Mon, 12 Jan 2009 16:22:27 +0100
Subject: [Freeswitch-dev] Skypiax, Skype compatible endpoint
In-Reply-To: <250899.34394.qm@web32801.mail.mud.yahoo.com>
References: <7b197bef0901120434k16f5d910j9d11012ee243e674@mail.gmail.com>
<250899.34394.qm@web32801.mail.mud.yahoo.com>
Message-ID: <7b197bef0901120722r730fad60l5035895d9eb35116@mail.gmail.com>
On Mon, Jan 12, 2009 at 3:39 PM, Antonio Murrell wrote:
> Would it work with Asterisk? what version?
Ciao Antonio,
actually it was born as a prototype channel driver for Asterisk, but
just monochannel (one only concurrent call).
If there is interest, all the developments made for FS can be
backported to Asterisk in future, and then Skypiax will go in parallel
on the two architectures, with one source file for FS interfacing, one
for * interfacing, and the Skype API interfacing in a common file.
Sincerely,
Giovanni Maruzzelli
=========================================
Company : Celliax
Website: www.celliax.org
Address : via Pierlombardo 9, 20135 Milano
Country/Territory : Italy
Business Email: gmaruzz at celliax dot org
Cell : 39-347-2665618
Fax : 39-02-87390039
From sanju at 11hit.com Mon Jan 12 21:53:50 2009
From: sanju at 11hit.com (Sanju)
Date: Mon, 12 Jan 2009 21:53:50 -0800
Subject: [Freeswitch-dev] Reg: Configuring the Freeswitch
Message-ID: <20090112215350.A9783AA6@resin17.mta.everyone.net>
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090112/4796c1d7/attachment.html
From intralanman at freeswitch.org Tue Jan 13 07:43:41 2009
From: intralanman at freeswitch.org (Raymond Chandler)
Date: Tue, 13 Jan 2009 15:43:41 +0000
Subject: [Freeswitch-dev] Reg: Configuring the Freeswitch
In-Reply-To: <20090112215350.A9783AA6@resin17.mta.everyone.net>
References: <20090112215350.A9783AA6@resin17.mta.everyone.net>
Message-ID: <496CB6AD.4080801@freeswitch.org>
Questions like this should really go to the freeswitch-users list... the
-dev list should be reserved for talk of future work or actual
development of freeswitch or modules (or even third-party addons) but
basic use cases should really go to the -users list.
freeswitch-users at lists.freeswitch.org
-Ray
Sanju wrote:
> Hi,
> Good day to you all, i am new to VOIP and freeswitch, i have
> installed freeswitch in Redhat5.1 machine and configured it properly,
> i had xlite in Windows and configured a SIP account to Freeswitch
> machine , but when i make a call it doesn't proceed, when i see the
> Wikipbx page it looks for lot of packages installation does all this
> required is postgresql and mysql has to be compulsory to be installed
> in freeswitch server machine,
>
> can i install freeswitch in Fedora core 10 ?
>
> please let me know with what minimal package configuration i can
> install free switch and configure x-lite for testing the applications
>
> Thanks in advance
>
> Regards,
> Sanju.
>
>
>
>
>
> ------------------------------------------------------------------------
> Gift Certificates
> http://www.online-gift-certificate.com
>
> This email was sent using 11hit.com free web-based email!
> http://www.11hit.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090113/376e70ef/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intralanman.vcf
Type: text/x-vcard
Size: 218 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090113/376e70ef/attachment.vcf
From seven at idapted.com Thu Jan 15 02:22:46 2009
From: seven at idapted.com (seven du)
Date: Thu, 15 Jan 2009 18:22:46 +0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
Message-ID: <9B415DB5-EFEC-4393-BD5F-8681252B2178@idapted.com>
Hi,
I tested skypiax on Linux db1.veecue.com 2.6.24-19-xen (Ubuntu hardy
in Xen), after I load the mod_skypiax, the console will stuck.
I'm not sure, anything is following the wiki. However, On the Desktop
computer configuring skype, there are multiple snd drivers,
default
HW dummy
other
I chosed the second, so the last few lines in config.xml in /
root/.Skype/idapted_voip_1/ like
skypiax
2
2
2
# sh startskype.sh
ERROR: Module snd_hda_intel does not exist in /proc/modules
error opening security policy file /etc/X11/xserver/SecurityPolicy
sh: /usr/bin/xkbcomp: not found
Could not init font path element /usr/share/fonts/X11/cyrillic,
removing from list!
Could not init font path element /usr/share/fonts/
X11/100dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/Type1, removing
from list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing
from list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing
from list!
Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/
dirs/TrueType, removing from list!
[config/hal] couldn't initialise context: (null) ((null))
#ps aux|grep skype
root 18774 0.3 4.0 75788 32216 pts/9 Sl 17:54 0:03 /usr/
bin/skype --pipelogin
root 20613 0.0 0.0 1692 500 pts/9 R+ 18:16 0:00 grep
skype
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:630 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 630 ][none ][-1,-1,-1]
globals.debug=0
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:632 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 632 ][none ][-1,-1,-1]
globals.debug=8
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:643 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 643 ][none ][-1,-1,-1] codec-
master globals.debug=8
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:646 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 646 ][none ][-1,-1,-1]
globals.dialplan=XML
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:652 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 652 ][none ][-1,-1,-1]
globals.context=default
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:649 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 649 ][none ][-1,-1,-1]
globals.destination=5000
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:655 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 655 ][none ][-1,-1,-1]
globals.codec_string=gsm,ulaw
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:662 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 662 ][none ][-1,-1,-1]
globals.codec_rates_string=8000,16000
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:635 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 635 ][none ][-1,-1,-1]
globals.hold_music=local_stream://moh
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:757 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 757 ][none ][-1,-1,-1]
interface_id=1
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:780 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 780 ][none ][-1,-1,-1]
name=idapted_voip_1
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:786 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 786 ][none ][-1,-1,-1]
Initialized XInitThreads!
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:798 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 798 ][none ][-1,-1,-1]
CONFIGURING interface_id=1
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:827 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 827 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].X11_display=:101
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:831 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 831 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].skype_user=idapted_voip_11
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:835 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 835 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].tcp_cli_port=15556
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:839 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 839 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].tcp_srv_port=15557
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:842 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 842 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].name=idapted_voip_1
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:845 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 845 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:849 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 849 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].dialplan=XML
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:853 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 853 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].destination=5000
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:856 load_config() rev
11066M[(nil)|37 ][DEBUG_SKYPE 856 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-15 17:56:41 [NOTICE] mod_skypiax.c:857 load_config() rev
11066M[(nil)|37 ][NOTICA 857 ][none ][-1,-1,-1] STARTING
interface_id=1
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:925
skypiax_skypeapi_thread_func() rev 11066M[(nil)|37 ][DEBUG_PBX
925 ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:938
skypiax_skypeapi_thread_func() rev 11066M[(nil)|37 ][DEBUG_SKYPE
938 ][idapted_voip_1][-1, 0, 0] X Display ':101' opened
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:890
skypiax_skype_present() rev 11066M[(nil)|37 ][DEBUG_SKYPE 890 ]
[none ][-1,-1,-1] Skype instance found with id #2097250
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:570
skypiax_signaling_thread_func() rev 11066M[(nil)|37 ][DEBUG_PBX
570 ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:573
skypiax_signaling_thread_func() rev 11066M[(nil)|37 ][DEBUG_SKYPE
573 ][idapted_voip_1][-1, 0, 0] In skypiax_signaling_thread_func:
started, p=0xa792a420
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||OK|||
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||PROTOCOL 6|||
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||CONNSTATUS ONLINE|||
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||CURRENTUSERHANDLE
idapted_voip_1|2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||CURRENTUSERHANDLE
idapted_voip_1|||
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||USERSTATUS ONLINE|||
2009-01-15 17:56:42 [DEBUG] skypiax_protocol.c:471
skypiax_skypeaudio_init() rev 11066M[(nil)|37 ][DEBUG_PBX 471 ]
[idapted_voip_1][-1, 0, 0] EXITING FUNC
From krice at suspicious.org Thu Jan 15 05:44:32 2009
From: krice at suspicious.org (Ken Rice)
Date: Thu, 15 Jan 2009 07:44:32 -0600
Subject: [Freeswitch-dev] Announcing the FreeSWITCH Technology Preview
VMWare Appliance.
Message-ID:
FreeSWITCH + Centos 5.2 rolled into a VMWare appliance that's compatible
with VMWare for Windows, VMWare Player, and VMWare Fusion on the Mac.
Couple of things you need to know. 1) This is a Centos 5.2 X86_64 that was
updated before we started testing it. 2) FreeSWITCH SVN Trunk is installed
and operational. See /etc/motd on the running image for all the good
information.
We'll be unvailing a wiki page for this shortly.
For now you can get the head start by downloading this at
http://files.freeswitch.org/FreeSWITCH-VM1.0.0.zip
Have fun guys!
Ken
krice at freeswitch.org
krice at rmktek.com
From ludovic.fouquet at bewan.com Tue Jan 13 23:23:48 2009
From: ludovic.fouquet at bewan.com (ludovic)
Date: Wed, 14 Jan 2009 08:23:48 +0100
Subject: [Freeswitch-dev] bridge application : how to retrieve data field
Message-ID: <496D9304.8030804@bewan.com>
Hi,
I develop my own endpoint.
I have a question regarding the xml dialplan rule like ( I take openzap
for the example) :
I understand that the first field of data is the mod name. The remaining
"1/1" is useful for openzap to select the right channel,
Where is 1/1 passed in Freeswitch ? In a callback routine of the mod ?
or elsewhere ?
Regards,
Ludovic
From d at d-man.org Wed Jan 14 22:12:50 2009
From: d at d-man.org (Darren Schreiber)
Date: Wed, 14 Jan 2009 22:12:50 -0800
Subject: [Freeswitch-dev] Using ODBC core from FreeSWITCH module
Message-ID: <03AFD2B5818449BF8C780A9719BCD6D8@test>
Hey there,
I'm using the ODBC abilities of FreeSWITCH for my billing module and I
am having an issue.
When calling:
if (!(switch_odbc_handle_callback_exec(globals.master_odbc,
SQL_UPDATE_STATEMENT, nibblebill_callback, &pdata) == SWITCH_ODBC_SUCCESS)){
sometimes the call is actually failing but I am always getting an ODBC
success. I am thinking "failing" is really 0 rows updated. How should I be
checking for this occurrence?
- Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090114/96aba8ae/attachment-0001.html
From krice at freeswitch.org Wed Jan 14 20:05:21 2009
From: krice at freeswitch.org (Ken Rice)
Date: Wed, 14 Jan 2009 22:05:21 -0600
Subject: [Freeswitch-dev] Announcing the FreeSWITCH Technology Preview
VMWare Appliance.
Message-ID:
Hey guys,
I'm not trying to start 1 a day releases, Things just happened to fall that
way...
FreeSWITCH + Centos 5.2 rolled into a VMWare appliance that's compatible
with VMWare for Windows, VMWare Player, and VMWare Fusion on the Mac.
Couple of things you need to know. 1) This is a Centos 5.2 X86_64 that was
updated before we started testing it. 2) FreeSWITCH SVN Trunk is installed
and operational. See /etc/motd on the running image for all the good
information.
We'll be unvailing a wiki page for this shortly.
For now you can get the head start by downloading this at
http://files.freeswitch.org/FreeSWITCH-VM1.0.0.zip
Have fun guys!
Ken
From gmaruzz at celliax.org Thu Jan 15 08:03:18 2009
From: gmaruzz at celliax.org (Giovanni Maruzzelli)
Date: Thu, 15 Jan 2009 17:03:18 +0100
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To: <9B415DB5-EFEC-4393-BD5F-8681252B2178@idapted.com>
References: <9B415DB5-EFEC-4393-BD5F-8681252B2178@idapted.com>
Message-ID: <7b197bef0901150803p57290e6al3ac6e9422cd625c8@mail.gmail.com>
On Thu, Jan 15, 2009 at 11:22 AM, seven du wrote:
> Hi,
>
> I tested skypiax on Linux db1.veecue.com 2.6.24-19-xen (Ubuntu hardy
> in Xen), after I load the mod_skypiax, the console will stuck.
>
Hi Seven,
Seems that there are no errors, and I don't think is a sound problem,
at the moment.
Also, your Skype config.xml seems correct.
I see you have an old version, could you please svn update the skypiax
code, recompile, and try again?
If there still problems, can you post the debug after "console
loglevel 9", the skypiax.conf.xml, and the lsmod|grep snd?
Ciao for now,
Giovanni
> I'm not sure, anything is following the wiki. However, On the Desktop
> computer configuring skype, there are multiple snd drivers,
>
> default
> HW dummy
> other
>
> I chosed the second, so the last few lines in config.xml in /
> root/.Skype/idapted_voip_1/ like
>
>
>
> skypiax
>
>
> 2
> 2
> 2
>
>
>
>
> # sh startskype.sh
> ERROR: Module snd_hda_intel does not exist in /proc/modules
> error opening security policy file /etc/X11/xserver/SecurityPolicy
> sh: /usr/bin/xkbcomp: not found
> Could not init font path element /usr/share/fonts/X11/cyrillic,
> removing from list!
> Could not init font path element /usr/share/fonts/
> X11/100dpi/:unscaled, removing from list!
> Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled,
> removing from list!
> Could not init font path element /usr/share/fonts/X11/Type1, removing
> from list!
> Could not init font path element /usr/share/fonts/X11/100dpi, removing
> from list!
> Could not init font path element /usr/share/fonts/X11/75dpi, removing
> from list!
> Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/
> dirs/TrueType, removing from list!
> [config/hal] couldn't initialise context: (null) ((null))
>
> #ps aux|grep skype
>
> root 18774 0.3 4.0 75788 32216 pts/9 Sl 17:54 0:03 /usr/
> bin/skype --pipelogin
> root 20613 0.0 0.0 1692 500 pts/9 R+ 18:16 0:00 grep
> skype
>
>
>
>
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:630 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 630 ][none ][-1,-1,-1]
> globals.debug=0
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:632 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 632 ][none ][-1,-1,-1]
> globals.debug=8
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:643 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 643 ][none ][-1,-1,-1] codec-
> master globals.debug=8
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:646 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 646 ][none ][-1,-1,-1]
> globals.dialplan=XML
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:652 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 652 ][none ][-1,-1,-1]
> globals.context=default
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:649 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 649 ][none ][-1,-1,-1]
> globals.destination=5000
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:655 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 655 ][none ][-1,-1,-1]
> globals.codec_string=gsm,ulaw
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:662 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 662 ][none ][-1,-1,-1]
> globals.codec_rates_string=8000,16000
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:635 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 635 ][none ][-1,-1,-1]
> globals.hold_music=local_stream://moh
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:757 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 757 ][none ][-1,-1,-1]
> interface_id=1
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:780 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 780 ][none ][-1,-1,-1]
> name=idapted_voip_1
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:786 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 786 ][none ][-1,-1,-1]
> Initialized XInitThreads!
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:798 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 798 ][none ][-1,-1,-1]
> CONFIGURING interface_id=1
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:827 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 827 ][none ][-1,-1,-1]
> interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].X11_display=:101
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:831 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 831 ][none ][-1,-1,-1]
> interface_id=1
> globals.SKYPIAX_INTERFACES[interface_id].skype_user=idapted_voip_11
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:835 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 835 ][none ][-1,-1,-1]
> interface_id=1
> globals.SKYPIAX_INTERFACES[interface_id].tcp_cli_port=15556
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:839 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 839 ][none ][-1,-1,-1]
> interface_id=1
> globals.SKYPIAX_INTERFACES[interface_id].tcp_srv_port=15557
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:842 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 842 ][none ][-1,-1,-1]
> interface_id=1
> globals.SKYPIAX_INTERFACES[interface_id].name=idapted_voip_1
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:845 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 845 ][none ][-1,-1,-1]
> interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:849 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 849 ][none ][-1,-1,-1]
> interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].dialplan=XML
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:853 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 853 ][none ][-1,-1,-1]
> interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].destination=5000
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:856 load_config() rev
> 11066M[(nil)|37 ][DEBUG_SKYPE 856 ][none ][-1,-1,-1]
> interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
> 2009-01-15 17:56:41 [NOTICE] mod_skypiax.c:857 load_config() rev
> 11066M[(nil)|37 ][NOTICA 857 ][none ][-1,-1,-1] STARTING
> interface_id=1
> 2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:925
> skypiax_skypeapi_thread_func() rev 11066M[(nil)|37 ][DEBUG_PBX
> 925 ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
> 2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:938
> skypiax_skypeapi_thread_func() rev 11066M[(nil)|37 ][DEBUG_SKYPE
> 938 ][idapted_voip_1][-1, 0, 0] X Display ':101' opened
> 2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:890
> skypiax_skype_present() rev 11066M[(nil)|37 ][DEBUG_SKYPE 890 ]
> [none ][-1,-1,-1] Skype instance found with id #2097250
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:570
> skypiax_signaling_thread_func() rev 11066M[(nil)|37 ][DEBUG_PBX
> 570 ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
> 2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:573
> skypiax_signaling_thread_func() rev 11066M[(nil)|37 ][DEBUG_SKYPE
> 573 ][idapted_voip_1][-1, 0, 0] In skypiax_signaling_thread_func:
> started, p=0xa792a420
> 2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
> skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
> [idapted_voip_1][-1, 0, 0] READING: |||OK|||
> 2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
> skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
> [idapted_voip_1][-1, 0, 0] READING: |||PROTOCOL 6|||
> 2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
> skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
> [idapted_voip_1][-1, 0, 0] READING: |||CONNSTATUS ONLINE|||
> 2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
> skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
> [idapted_voip_1][-1, 0, 0] READING: |||CURRENTUSERHANDLE
> idapted_voip_1|2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
> skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
> [idapted_voip_1][-1, 0, 0] READING: |||CURRENTUSERHANDLE
> idapted_voip_1|||
> 2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147
> skypiax_skype_read() rev 11066M[(nil)|37 ][DEBUG_SKYPE 1147 ]
> [idapted_voip_1][-1, 0, 0] READING: |||USERSTATUS ONLINE|||
> 2009-01-15 17:56:42 [DEBUG] skypiax_protocol.c:471
> skypiax_skypeaudio_init() rev 11066M[(nil)|37 ][DEBUG_PBX 471 ]
> [idapted_voip_1][-1, 0, 0] EXITING FUNC
>
>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
From krice at suspicious.org Thu Jan 15 09:15:28 2009
From: krice at suspicious.org (Ken Rice)
Date: Thu, 15 Jan 2009 11:15:28 -0600
Subject: [Freeswitch-dev] [Freeswitch-users] VMWare voice quality
In-Reply-To: <11372C8B9E603F4FACDE6AB18256DEC601479A79@srvmtel.office.mtel.nl>
Message-ID:
On 1/15/09 11:01 AM, "Remko Kloosterman" wrote:
> Hello Ken, hello all,
>
> I just read about the FreeSWITCH VMware applicance. I'm curious about
> your experiences with the audio quality on VMWare, so here's a new
> thread.
>
> I've installed freeswitch on VMware Server for Windows. The IVR audio
> always plays choppy, while the server itself has no performance issues.
> The same poor voice quality also goes for Asterisk or Yate, even on a
> very fast VMware ESX system.
>
> Did you experience the same and/or do you have pointers on how to
> troubleshoot and fix this?
There is a high resolution timer you need to enable on vmware... I'm not
familiar enuff with all the versions of vmware to advise there that switch
is, but they have a couple of articles on it in their knowledge base
From msc at freeswitch.org Thu Jan 15 09:18:18 2009
From: msc at freeswitch.org (Michael Collins)
Date: Thu, 15 Jan 2009 09:18:18 -0800
Subject: [Freeswitch-dev] bridge application : how to retrieve data field
In-Reply-To: <496D9304.8030804@bewan.com>
References: <496D9304.8030804@bewan.com>
Message-ID: <87f2f3b90901150918n48f3558dm66e756f0499ae234@mail.gmail.com>
On Tue, Jan 13, 2009 at 11:23 PM, ludovic wrote:
> Hi,
>
> I develop my own endpoint.
> I have a question regarding the xml dialplan rule like ( I take openzap
> for the example) :
>
>
>
> I understand that the first field of data is the mod name. The remaining
> "1/1" is useful for openzap to select the right channel,
> Where is 1/1 passed in Freeswitch ? In a callback routine of the mod ?
> or elsewhere ?
>
See libs/openpzap/mod_openzap/mod_openzap.c, function name
'channel_outgoing_channel'
The dialstring gets parsed right around line 922
-MC
> Regards,
>
> Ludovic
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
From gmaruzz at celliax.org Thu Jan 15 09:39:36 2009
From: gmaruzz at celliax.org (Giovanni Maruzzelli)
Date: Thu, 15 Jan 2009 18:39:36 +0100
Subject: [Freeswitch-dev] skypiax (skype compatible) and celliax (gsm
network) development plans
Message-ID: <7b197bef0901150939l3f8ee319k6cf2d6d0ee21241d@mail.gmail.com>
Hi FreeSWITCH developers
I would like to propose to the community my plans, so we can discuss
and coordinate efforts.
I developed a couple of channel drivers for Asterisk in the past
(works on both Linux and Windows), and I would like to port them to FS
and further enhance them.
The two endpoints are:
- Skypiax, Skype compatible, makes and receives calls to/from Skype
network and Skypeout service, using the Skype client as interface.
- Celliax, GSM and SMS endpoint, makes and receives voice calls and
SMSs to/from the GSM/CDMA network, using second hand cellphones and/or
embedded professional devices as interfaces
My aims are:
a) port both endpoints from Asterisk to FreeSWITCH
b) have both endpoints continue to support at least Linux and Windows on FS
c) I would like better having most of the endpoints code working for
both FreeSWITCH and Asterisk, maintaining separated the code that
interface with the GSM and Skype network, from the code that interface
with the core.
Skypiax, the skype compatible endpoint, is a fork of celliax, the GSM
endpoint, and they share the same skeleton and logic, so porting
celliax after having ported skypiax will be easier and faster :-).
Current situation and next steps:
1) skypiax (http://wiki.freeswitch.org/wiki/Skypiax) is now available
for testing and debugging, needs to be polished and cleaned
2) starting mid next week (I'll be back in office), I want to
integrate into skypiax the code and ideas from mod_airpe of Massimo
(ctrix), that has developed an alternative Skype compatible module,
and coordinate any future development with him and any other
interested developer
3) begin the porting of celliax to FS, aiming at a pre-beta release
for Linux and Windows during February.
4) coordinate further development of celliax with any other developer
interested in GSM, SMSs, CDMA, IDEN, AT commands, FBUS commands,
embedded devices, audio sampling
I am gmaruzz on #freeswitch and #freeswitch-dev, you can find more
info at www.celliax.org.
Sincerely,
Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039
From damin at nacs.net Thu Jan 15 12:12:34 2009
From: damin at nacs.net (Gregory Boehnlein)
Date: Thu, 15 Jan 2009 15:12:34 -0500
Subject: [Freeswitch-dev] [Freeswitch-users] VMWare voice quality
In-Reply-To:
References: <11372C8B9E603F4FACDE6AB18256DEC601479A79@srvmtel.office.mtel.nl>
Message-ID: <006d01c9774d$9a94cd00$cfbe6700$@net>
That won't eliminate the problem. Just reduce the possibility of it
happening.
Trust me... I've got a large ESX infrastructure, and there is no way that a
software based Voice platform is going to provide skip free audio in a
virtualized environment.
> -----Original Message-----
> From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-
> dev-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
> Sent: Thursday, January 15, 2009 12:15 PM
> To: freeswitch-users at lists.freeswitch.org; Remko Kloosterman;
> freeswitch-dev at lists.freeswitch.org
> Subject: Re: [Freeswitch-dev] [Freeswitch-users] VMWare voice quality
>
> On 1/15/09 11:01 AM, "Remko Kloosterman" wrote:
>
> > Hello Ken, hello all,
> >
> > I just read about the FreeSWITCH VMware applicance. I'm curious about
> > your experiences with the audio quality on VMWare, so here's a new
> > thread.
> >
> > I've installed freeswitch on VMware Server for Windows. The IVR audio
> > always plays choppy, while the server itself has no performance
> issues.
> > The same poor voice quality also goes for Asterisk or Yate, even on a
> > very fast VMware ESX system.
> >
> > Did you experience the same and/or do you have pointers on how to
> > troubleshoot and fix this?
>
>
> There is a high resolution timer you need to enable on vmware... I'm
> not
> familiar enuff with all the versions of vmware to advise there that
> switch
> is, but they have a couple of articles on it in their knowledge base
>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
> --
> This message has been scanned for viruses and
> dangerous content by N2Net Mailshield, and is
> believed to be clean.
From mike at jerris.com Thu Jan 15 12:30:26 2009
From: mike at jerris.com (Michael Jerris)
Date: Thu, 15 Jan 2009 15:30:26 -0500
Subject: [Freeswitch-dev] [Freeswitch-users] VMWare voice quality
In-Reply-To: <006d01c9774d$9a94cd00$cfbe6700$@net>
References: <11372C8B9E603F4FACDE6AB18256DEC601479A79@srvmtel.office.mtel.nl>
<006d01c9774d$9a94cd00$cfbe6700$@net>
Message-ID: <76E232D0-2CC8-46FF-8300-A291DA0EB7AF@jerris.com>
To the contrary, we have had quite good results in virtualized
environments and you don't really need timing that is that accurate to
make it work. We work quite well on amazon EC2 for example. There
are 2 issues I know about with vmware, 1 is you need to set a setting
on the host to extend somewhat sane clocks being available, the second
is I have seen issues with the bridged network adapter actually
doubling up all packets causing very strange issues, I suggest not
using bridged networking if you experience this.
Mike
On Jan 15, 2009, at 3:12 PM, Gregory Boehnlein wrote:
> That won't eliminate the problem. Just reduce the possibility of it
> happening.
>
> Trust me... I've got a large ESX infrastructure, and there is no way
> that a
> software based Voice platform is going to provide skip free audio in a
> virtualized environment.
>
>> -----Original Message-----
>> From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-
>> dev-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
>> Sent: Thursday, January 15, 2009 12:15 PM
>> To: freeswitch-users at lists.freeswitch.org; Remko Kloosterman;
>> freeswitch-dev at lists.freeswitch.org
>> Subject: Re: [Freeswitch-dev] [Freeswitch-users] VMWare voice quality
>>
>> On 1/15/09 11:01 AM, "Remko Kloosterman"
>> wrote:
>>
>>> Hello Ken, hello all,
>>>
>>> I just read about the FreeSWITCH VMware applicance. I'm curious
>>> about
>>> your experiences with the audio quality on VMWare, so here's a new
>>> thread.
>>>
>>> I've installed freeswitch on VMware Server for Windows. The IVR
>>> audio
>>> always plays choppy, while the server itself has no performance
>> issues.
>>> The same poor voice quality also goes for Asterisk or Yate, even
>>> on a
>>> very fast VMware ESX system.
>>>
>>> Did you experience the same and/or do you have pointers on how to
>>> troubleshoot and fix this?
>>
>>
>> There is a high resolution timer you need to enable on vmware... I'm
>> not
>> familiar enuff with all the versions of vmware to advise there that
>> switch
>> is, but they have a couple of articles on it in their knowledge base
>>
>>
From krice at suspicious.org Thu Jan 15 13:01:45 2009
From: krice at suspicious.org (Ken Rice)
Date: Thu, 15 Jan 2009 15:01:45 -0600
Subject: [Freeswitch-dev] [Freeswitch-users] VMWare voice quality
In-Reply-To: <006d01c9774d$9a94cd00$cfbe6700$@net>
Message-ID:
Ok if can summarize a little of the intention of releasing this VMWare
image. Its really there so you guys can get it and check it out. I
personally don't believe in running such services on a virtual machine (too
many nightmare stories from the 'day job' from such things)
However, for testing and developing applications that ride on top of
FreeSWITCH, this is a quick way to get up and running.
Remember Voice application especially where you are interacting with the
media streams will be affected by latency and jitter much more readily then
store and forward things like IRC, Web, eMail and instant messaging.
K
On 1/15/09 2:12 PM, "Gregory Boehnlein" wrote:
> That won't eliminate the problem. Just reduce the possibility of it
> happening.
>
> Trust me... I've got a large ESX infrastructure, and there is no way that a
> software based Voice platform is going to provide skip free audio in a
> virtualized environment.
From anthony.minessale at gmail.com Thu Jan 15 15:40:29 2009
From: anthony.minessale at gmail.com (Anthony Minessale)
Date: Thu, 15 Jan 2009 17:40:29 -0600
Subject: [Freeswitch-dev] Using ODBC core from FreeSWITCH module
In-Reply-To: <03AFD2B5818449BF8C780A9719BCD6D8@test>
References:
<03AFD2B5818449BF8C780A9719BCD6D8@test>
Message-ID: <191c3a030901151540p2ffc5a6bvb01658c2559fc4e0@mail.gmail.com>
try trunk i think i found your issue and fixed it.
On Thu, Jan 15, 2009 at 12:12 AM, Darren Schreiber wrote:
> Hey there,
> I'm using the ODBC abilities of FreeSWITCH for my billing module and I
> am having an issue.
>
> When calling:
>
> if (!(switch_odbc_handle_callback_exec(globals.master_odbc,
> SQL_UPDATE_STATEMENT, nibblebill_callback, &pdata) == SWITCH_ODBC_SUCCESS)){
> sometimes the call is actually failing but I am always getting an ODBC
> success. I am thinking "failing" is really 0 rows updated. How should I be
> checking for this occurrence?
>
> - Darren
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090115/66d02d41/attachment.html
From seven at idapted.com Thu Jan 15 21:54:43 2009
From: seven at idapted.com (seven du)
Date: Fri, 16 Jan 2009 13:54:43 +0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To:
References:
Message-ID:
Hi Giovanni,
root at db1:~/configs# psgrep free
root 3962 2.6 1.4 16324 11708 pts/5 S 13:21 0:00 /usr/
bin/Xvfb :101 -auth /usr/local/freeswitch/conf/autoload_configs/
skypiax.X.conf
root 3976 0.0 0.0 1692 504 pts/5 R+ 13:21 0:00 grep
free
root at db1:~/configs# psgrep skype
root 3967 16.0 3.7 56708 29152 pts/5 Sl 13:21 0:00 /usr/
bin/skype --pipelogin
root 3978 0.0 0.0 1692 504 pts/5 R+ 13:21 0:00 grep
skype
root at db1:~/configs# lsmod|grep snd
snd_dummy 13568 0
snd_pcm 75780 1 snd_dummy
snd_timer 24708 1 snd_pcm
snd 55172 3 snd_dummy,snd_pcm,snd_timer
soundcore 8800 1 snd
snd_page_alloc 11400 1 snd_pcm
root at db1:~/configs#
The console stuck when loading mod_skypiax, however, other debug
messages( like register to vitelity) still being printed out. When I
call in using another skype account, freeswitch crashed.
freeswitch at db1.veecue.com>
freeswitch at db1.veecue.com> console loglevel 9
API CALL [console(loglevel 9)] output:
+OK console log level set to DEBUG
freeswitch at db1.veecue.com> load mod_skypiax
2009-01-16 13:47:49 [ERR] mod_xml_curl.c:230 xml_url_fetch() Received
HTTP error 404 trying to fetch http://fs.lan:80/voip_configurations/show
data:
[hostname
=
db1
.veecue
.com
§ion
=
configuration
&tag_name=configuration&key_name=name&key_value=skypiax.conf]
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:630 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 630 ][none ][-1,-1,-1]
globals.debug=0
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:632 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 632 ][none ][-1,-1,-1]
globals.debug=8
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:643 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 643 ][none ][-1,-1,-1] codec-
master globals.debug=8
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:646 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 646 ][none ][-1,-1,-1]
globals.dialplan=XML
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:652 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 652 ][none ][-1,-1,-1]
globals.context=default
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:649 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 649 ][none ][-1,-1,-1]
globals.destination=5000
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:655 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 655 ][none ][-1,-1,-1]
globals.codec_string=gsm,ulaw
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:662 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 662 ][none ][-1,-1,-1]
globals.codec_rates_string=8000,16000
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:635 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 635 ][none ][-1,-1,-1]
globals.hold_music=local_stream://moh
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:757 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 757 ][none ][-1,-1,-1]
interface_id=1
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:780 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 780 ][none ][-1,-1,-1]
name=idapted_voip_1
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:786 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 786 ][none ][-1,-1,-1]
Initialized XInitThreads!
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:798 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 798 ][none ][-1,-1,-1]
CONFIGURING interface_id=1
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:827 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 827 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].X11_display=:101
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:831 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 831 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].skype_user=idapted_voip_11
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:835 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 835 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].tcp_cli_port=15556
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:839 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 839 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].tcp_srv_port=15557
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:842 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 842 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].name=idapted_voip_1
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:845 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 845 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:849 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 849 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].dialplan=XML
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:853 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 853 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].destination=5000
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:856 load_config() rev
11253M[(nil)|37 ][DEBUG_SKYPE 856 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-16 13:47:49 [NOTICE] mod_skypiax.c:857 load_config() rev
11253M[(nil)|37 ][NOTICA 857 ][none ][-1,-1,-1] STARTING
interface_id=1
2009-01-16 13:47:49 [DEBUG] skypiax_protocol.c:925
skypiax_skypeapi_thread_func() rev 11253M[(nil)|37 ][DEBUG_PBX
925 ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-16 13:47:49 [DEBUG] skypiax_protocol.c:938
skypiax_skypeapi_thread_func() rev 11253M[(nil)|37 ][DEBUG_SKYPE
938 ][idapted_voip_1][-1, 0, 0] X Display ':101' opened
2009-01-16 13:47:49 [DEBUG] skypiax_protocol.c:890
skypiax_skype_present() rev 11253M[(nil)|37 ][DEBUG_SKYPE 890 ]
[none ][-1,-1,-1] Skype instance found with id #2097250
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:570
skypiax_signaling_thread_func() rev 11253M[(nil)|37 ][DEBUG_PBX
570 ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-16 13:47:49 [DEBUG] mod_skypiax.c:573
skypiax_signaling_thread_func() rev 11253M[(nil)|37 ][DEBUG_SKYPE
573 ][idapted_voip_1][-1, 0, 0] In skypiax_signaling_thread_func:
started, p=0xa7908420
2009-01-16 13:47:49 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||OK|||
2009-01-16 13:47:49 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||PROTOCOL 6|||
2009-01-16 13:47:49 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||CONNSTATUS ONLINE|||
2009-01-16 13:47:49 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||CURRENTUSERHANDLE
idapted_voip_1|||
2009-01-16 13:47:49 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||USERSTATUS AWAY|||
2009-01-16 13:47:50 [DEBUG] skypiax_protocol.c:471
skypiax_skypeaudio_init() rev 11253M[(nil)|37 ][DEBUG_PBX 471 ]
[idapted_voip_1][-1, 0, 0] EXITING FUNC
2009-01-16 13:48:34 [NOTICE] sofia_reg.c:265 sofia_reg_check_gateway()
Registering vitelity
2009-01-16 13:48:34 [DEBUG] sofia.c:462 sofia_event_callback()
nua_i_outbound: unknown event 8: 101 NAT detected
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||CALL 39 CONF_ID 0|||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1338
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1338 ]
[idapted_voip_1][-1, 0, 0] the skype_call 39 is NOT a conference call
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||CALL 39 STATUS RINGING|||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1039
skypiax_skype_write() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1039 ]
[idapted_voip_1][-1, 2,114] SENDING: |||SET AGC OFF||||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1039
skypiax_skype_write() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1039 ]
[idapted_voip_1][-1, 2,114] SENDING: |||SET AEC OFF||||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1039
skypiax_skype_write() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1039 ]
[idapted_voip_1][-1, 2,114] SENDING: |||GET CALL 39 PARTNER_DISPNAME||||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1039
skypiax_skype_write() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1039 ]
[idapted_voip_1][-1, 2,114] SENDING: |||GET CALL 39 PARTNER_HANDLE||||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1039
skypiax_skype_write() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1039 ]
[idapted_voip_1][-1, 2,114] SENDING: |||ALTER CALL 39 ANSWER||||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1411
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1411 ]
[idapted_voip_1][-1, 2,114] We answered a Skype RING on skype_call 39
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 2,114] READING: ||||||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 2,114] READING: ||||||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 2,114] READING: |||CALL 39 PARTNER_DISPNAME
seven1240|||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1334
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1334 ]
[idapted_voip_1][-1, 2,114] the skype_call 39 caller PARTNER_DISPNAME
(tech_pvt->callid_name) is: seven1240
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 2,114] READING: |||CALL 39 PARTNER_HANDLE
seven1240|||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1326
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1326 ]
[idapted_voip_1][-1, 2,114] the skype_call 39 caller PARTNER_HANDLE
(tech_pvt->callid_number) is: seven1240
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 2,114] READING: |||AGC OFF|||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 2,114] READING: |||AEC OFF|||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 2,114] READING: |||CALL 39 STATUS INPROGRESS|||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1525
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1525 ]
[idapted_voip_1][-1, 5,115] skype_call: 39 is now active
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1529
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1529 ]
[idapted_voip_1][-1, 5,115] skype_call: 39 SKYPIAX_CONTROL_ANSWER sent
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:67
skypiax_do_tcp_srv_thread() rev 11253M[(nil)|37 ][DEBUG_SKYPE
67 ][idapted_voip_1][-1, 5,115] started tcp_srv_thread thread.
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1541
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1541 ]
[idapted_voip_1][-1, 5,115] started tcp_srv_thread thread.
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:320
skypiax_do_tcp_cli_thread() rev 11253M[(nil)|37 ][DEBUG_SKYPE
320 ][idapted_voip_1][-1, 5,115] started tcp_cli_thread thread.
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1549
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1549 ]
[idapted_voip_1][-1, 5,115] started tcp_cli_thread thread.
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1039
skypiax_skype_write() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1039 ]
[idapted_voip_1][-1, 5,115] SENDING: |||ALTER CALL 39 SET_OUTPUT
PORT="15557"||||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:73
skypiax_do_tcp_srv_thread() rev 11253M[(nil)|37 ][DEBUG_SKYPE
73 ][idapted_voip_1][-1, 5,115] ACCEPTED
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1039
skypiax_skype_write() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1039 ]
[idapted_voip_1][-1, 5,115] SENDING: |||ALTER CALL 39 SET_INPUT
PORT="15556"||||
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:326
skypiax_do_tcp_cli_thread() rev 11253M[(nil)|37 ][DEBUG_SKYPE
326 ][idapted_voip_1][-1, 5,115] ACCEPTED
2009-01-16 13:48:52 [DEBUG] skypiax_protocol.c:1572
skypiax_skype_read() rev 11253M[(nil)|37 ][DEBUG_SKYPE 1572 ]
[idapted_voip_1][-1, 5, 5] New Inbound Channel!
2009-01-16 13:48:52 [CRIT] switch_core_session.c:1048
switch_core_session_request_uuid() The system cannot create any
sessions at this time.
freeswitch: src/switch_channel.c:1705:
switch_channel_perform_mark_answered: Assertion `channel != ((void
*)0)' failed.
Aborted (core dumped)
root at db1:/usr/local/freeswitch#
root at db1:/usr/local/freeswitch#
btw, I can only receive the digest, how can I receive mails
seperately? so I can reply more easier.
-------
Hi Seven,
Seems that there are no errors, and I don't think is a sound problem,
at the moment.
Also, your Skype config.xml seems correct.
I see you have an old version, could you please svn update the skypiax
code, recompile, and try again?
If there still problems, can you post the debug after "console
loglevel 9", the skypiax.conf.xml, and the lsmod|grep snd?
Ciao for now,
Giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090116/81c06a22/attachment-0001.html
From seven at idapted.com Fri Jan 16 01:02:08 2009
From: seven at idapted.com (seven du)
Date: Fri, 16 Jan 2009 17:02:08 +0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
Message-ID: <5025FE6C-A72F-475A-9D8F-0F44DD59C3A9@idapted.com>
hi Giovanni,
I successfully loaded skypiax on another ubuntu gutsy machine, the
privious problem maybe because it is in a Xen VM.
But, when I call out with originate skype/echo123 &echo, it shows
chan_not_implemented, however, I think it should be skypiax(2009-01-16
16:49:06 [NOTICE] switch_loadable_module.c:141
switch_loadable_module_process() Adding Endpoint 'skypiax'). when I
dial with originate skypiax/echo123 &echo, core dumped.
freeswitch at djf-desktop> originate skype/echo123 &echo
2009-01-16 16:53:36 [ERR] switch_core_session.c:255
switch_core_session_outgoing_channel() Could not locate channel type
skype
2009-01-16 16:53:36 [ERR] switch_ivr_originate.c:1122
switch_ivr_originate() Cannot create outgoing channel of type [skype]
cause: [CHAN_NOT_IMPLEMENTED]
2009-01-16 16:53:36 [DEBUG] switch_ivr_originate.c:1705
switch_ivr_originate() Originate Resulted in Error Cause: 66
[CHAN_NOT_IMPLEMENTED]
API CALL [originate(skype/echo123 &echo)] output:
-ERR CHAN_NOT_IMPLEMENTED
freeswitch at djf-desktop>
freeswitch at djf-desktop> console loglevel 9
API CALL [console(loglevel 9)] output:
+OK console log level set to DEBUG
freeswitch at djf-desktop> load mod_skypiax
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:630 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 630 ][none ][-1,-1,-1]
globals.debug=0
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:632 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 632 ][none ][-1,-1,-1]
globals.debug=8
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:643 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 643 ][none ][-1,-1,-1] codec-
master globals.debug=8
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:646 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 646 ][none ][-1,-1,-1]
globals.dialplan=XML
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:652 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 652 ][none ][-1,-1,-1]
globals.context=default
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:649 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 649 ][none ][-1,-1,-1]
globals.destination=5000
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:655 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 655 ][none ][-1,-1,-1]
globals.codec_string=gsm,ulaw
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:662 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 662 ][none ][-1,-1,-1]
globals.codec_rates_string=8000,16000
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:635 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 635 ][none ][-1,-1,-1]
globals.hold_music=
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:757 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 757 ][none ][-1,-1,-1]
interface_id=1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:780 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 780 ][none ][-1,-1,-1]
name=idapted_voip_1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:786 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 786 ][none ][-1,-1,-1]
Initialized XInitThreads!
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:798 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 798 ][none ][-1,-1,-1]
CONFIGURING interface_id=1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:827 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 827 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].X11_display=:101
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:831 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 831 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].skype_user=idapted_voip_1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:835 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 835 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].tcp_cli_port=15556
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:839 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 839 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].tcp_srv_port=15557
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:842 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 842 ][none ][-1,-1,-1]
interface_id=1
globals.SKYPIAX_INTERFACES[interface_id].name=idapted_voip_1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:845 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 845 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:849 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 849 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].dialplan=XML
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:853 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 853 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].destination=5000
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:856 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 856 ][none ][-1,-1,-1]
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-16 16:49:05 [NOTICE] mod_skypiax.c:857 load_config() rev
11253[(nil)|37 ][NOTICA 857 ][none ][-1,-1,-1] STARTING
interface_id=1
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:925
skypiax_skypeapi_thread_func() rev 11253[(nil)|37 ][DEBUG_PBX
925 ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:938
skypiax_skypeapi_thread_func() rev 11253[(nil)|37 ][DEBUG_SKYPE
938 ][idapted_voip_1][-1, 0, 0] X Display ':101' opened
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:890
skypiax_skype_present() rev 11253[(nil)|37 ][DEBUG_SKYPE 890 ]
[none ][-1,-1,-1] Skype instance found with id #2097367
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:570
skypiax_signaling_thread_func() rev 11253[(nil)|37 ][DEBUG_PBX
570 ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:573
skypiax_signaling_thread_func() rev 11253[(nil)|37 ][DEBUG_SKYPE
573 ][idapted_voip_1][-1, 0, 0] In skypiax_signaling_thread_func:
started, p=0xab31e440
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||OK|||
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||PROTOCOL 6|||
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||CONNSTATUS ONLINE|||
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||CURRENTUSERHANDLE
idapted_voip_1|||
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147
skypiax_skype_read() rev 11253[(nil)|37 ][DEBUG_SKYPE 1147 ]
[idapted_voip_1][-1, 0, 0] READING: |||USERSTATUS NA|||
2009-01-16 16:49:06 [DEBUG] skypiax_protocol.c:471
skypiax_skypeaudio_init() rev 11253[(nil)|37 ][DEBUG_PBX 471 ]
[idapted_voip_1][-1, 0, 0] EXITING FUNC
2009-01-16 16:49:06 [NOTICE] mod_skypiax.c:886 load_config() rev
11253[(nil)|37 ][NOTICA 886 ][none ][-1,-1,-1] STARTED
interface_id=1
API CALL [load(mod_skypiax)] output:
+OK
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:899 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 899 ][none ][-1,-1,-1] i=1
globals.SKYPIAX_INTERFACES[1].interface_id=1
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:901 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 901 ][none ][-1,-1,-1] i=1
globals.SKYPIAX_INTERFACES[1].X11_display=:101
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:903 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 903 ][none ][-1,-1,-1] i=1
globals.SKYPIAX_INTERFACES[1].name=idapted_voip_1
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:905 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 905 ][none ][-1,-1,-1] i=1
globals.SKYPIAX_INTERFACES[1].context=default
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:907 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 907 ][none ][-1,-1,-1] i=1
globals.SKYPIAX_INTERFACES[1].dialplan=XML
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:909 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 909 ][none ][-1,-1,-1] i=1
globals.SKYPIAX_INTERFACES[1].destination=5000
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:911 load_config() rev
11253[(nil)|37 ][DEBUG_SKYPE 911 ][none ][-1,-1,-1] i=1
globals.SKYPIAX_INTERFACES[1].context=default
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:938 mod_skypiax_load() rev
11253[(nil)|37 ][DEBUG_SKYPE 938 ][none ][-1,-1,-1] EXITING
FUNC!
2009-01-16 16:49:06 [CONSOLE] switch_loadable_module.c:857
switch_loadable_module_load_file() Successfully Loaded [mod_skypiax]
2009-01-16 16:49:06 [NOTICE] switch_loadable_module.c:141
switch_loadable_module_process() Adding Endpoint 'skypiax'
freeswitch at djf-desktop>
freeswitch at djf-desktop>
freeswitch at djf-desktop> originate skype/echo123 &echo
2009-01-16 16:53:36 [ERR] switch_core_session.c:255
switch_core_session_outgoing_channel() Could not locate channel type
skype
2009-01-16 16:53:36 [ERR] switch_ivr_originate.c:1122
switch_ivr_originate() Cannot create outgoing channel of type [skype]
cause: [CHAN_NOT_IMPLEMENTED]
2009-01-16 16:53:36 [DEBUG] switch_ivr_originate.c:1705
switch_ivr_originate() Originate Resulted in Error Cause: 66
[CHAN_NOT_IMPLEMENTED]
API CALL [originate(skype/echo123 &echo)] output:
-ERR CHAN_NOT_IMPLEMENTED
But I can call-IN using another skype account, and it can bridge to a
sofia endpoint , sound quality is very good.
From seven at idapted.com Fri Jan 16 01:37:52 2009
From: seven at idapted.com (seven du)
Date: Fri, 16 Jan 2009 17:37:52 +0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
Message-ID:
Hi Giovanni,
Sorry for the previous mail. I noticed it should be originate skypiax/
my_skypy_account_name/another_skypy_name, it works, great!
From seven at idapted.com Fri Jan 16 01:57:20 2009
From: seven at idapted.com (seven du)
Date: Fri, 16 Jan 2009 17:57:20 +0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
Message-ID: <930137EB-8BE1-474F-ADAB-02CAA94960FF@idapted.com>
is there some commands like sofia status?
From gmaruzz at celliax.org Fri Jan 16 02:12:04 2009
From: gmaruzz at celliax.org (Giovanni Maruzzelli)
Date: Fri, 16 Jan 2009 11:12:04 +0100
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To: <930137EB-8BE1-474F-ADAB-02CAA94960FF@idapted.com>
References: <930137EB-8BE1-474F-ADAB-02CAA94960FF@idapted.com>
Message-ID: <7b197bef0901160212h27c01119ybe7785513ed5ed81@mail.gmail.com>
On Fri, Jan 16, 2009 at 10:57 AM, seven du wrote:
>Hi Giovanni,
>
>Sorry for the previous mail. I noticed it should be originate skypiax/my_skypy_account_name/another_skypy_name, it works, great!
>
> is there some commands like sofia status?
>
Dear Seven,
thanks a lot for taking time to test it out.
Happy it worked for you!
At the moment there is not a status command, eg: there are no command at all.
They'll be added very soon, next week or so.
Sincerely,
Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039
On Fri, Jan 16, 2009 at 10:57 AM, seven du wrote:
> is there some commands like sofia status?
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
From seven at idapted.com Sat Jan 17 05:06:58 2009
From: seven at idapted.com (seven du)
Date: Sat, 17 Jan 2009 21:06:58 +0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
Message-ID:
Hi Giovanni,
In addition to the command line tools, I suggest taking following
things in to account:
1) originate skypiax/wrong_skype_name won't cause core dump
2) currently we can only call skypiax/skypiax1/other_skype_name, can
we implement
something like openzap, so skype group can be managed, and also
fs knows the
channel status. So it's easy to call out with skypiax/
some_skypiax_group/other_skype_name.
3) What will happen if a skype client crash? can it automatically
disable the channel
and reset the channel after the skype client recovered?
Best-
Seven
From gmaruzz at celliax.org Sun Jan 18 08:31:29 2009
From: gmaruzz at celliax.org (gmaruzz at celliax.org)
Date: Sun, 18 Jan 2009 17:31:29 +0100
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To:
References:
Message-ID: <7b197bef0901180831o31f511favb0442470093421d1@mail.gmail.com>
On 1/17/09, seven du wrote:
> In addition to the command line tools, I suggest taking following
> things in to account:
>
> 1) originate skypiax/wrong_skype_name won't cause core dump
> 2) currently we can only call skypiax/skypiax1/other_skype_name, can
> we implement
> something like openzap, so skype group can be managed, and also
> fs knows the
> channel status. So it's easy to call out with skypiax/
> some_skypiax_group/other_skype_name.
> 3) What will happen if a skype client crash? can it automatically
> disable the channel
> and reset the channel after the skype client recovered?
Seven,
thanks for suggestions, I'll start on them asap!
Do you have other ideas/suggestions/hints on how to make skypiax more
useful/easy to use?
--
Sincerely,
Giovanni Maruzzelli
=========================================
www.celliax.org
via Pierlombardo 9, 20135 Milano
Italy
gmaruzz at celliax dot org
Cell : +39-347-2665618
Fax : +39-02-87390039
From seven at idapted.com Sun Jan 18 22:56:49 2009
From: seven at idapted.com (seven du)
Date: Mon, 19 Jan 2009 14:56:49 +0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
Message-ID: <8075FDF7-F81B-4ED1-9DEC-70935F3589E3@idapted.com>
Giovanni,
Thank you for taking mu suggestions take into account.
Another idea: Make the skype in context and dialplan
configurable(other than 5000?)
maybe useful. But not sure, due to the limits of skype in, perhaps the
only use of
skype in is transfer into an ivr.
And, Just found a easy way to create bunch of skype configurations.
If you have a bunch of skype accounts like skypiax1, skypiax2,
skypiax3 ...
You only have to login into skypiax1 one time and chose the right sound
device and other settings like disable events etc. and you will get a
dir in
{your home dir}/.Skype/skypiax1. Just copy skypiax1 into skypiax2,
skypiax3...
They will have similar configurations, as long as they share a same
password.
Cheers-
Seven
> Seven,
> thanks for suggestions, I'll start on them asap!
>
> Do you have other ideas/suggestions/hints on how to make skypiax more
useful/easy to use?
From seven at idapted.com Tue Jan 20 01:47:35 2009
From: seven at idapted.com (seven du)
Date: Tue, 20 Jan 2009 17:47:35 +0800
Subject: [Freeswitch-dev] Is there any plans to implement some kind of
measures and statistics function?
Message-ID:
Hi developers,
Now and then we need to know some statistics message and sure we need
some way to measure it. My ideas just like this:
http://wiki.freeswitch.org/wiki/Bounty#RFC_3611_-_RTP_Control_Protocol_Extended_Reports_.28RTCP_XR.29_support
Is there some plans to build this kind of function in? If not, can
some one tell me how easy or hard to do it? I think it would be better
to use pcap or 3rd party stuffs the do that.
Thanks.
Seven
From seven at idapted.com Tue Jan 20 01:58:19 2009
From: seven at idapted.com (seven du)
Date: Tue, 20 Jan 2009 17:58:19 +0800
Subject: [Freeswitch-dev] Is it possible to add a new profile configuration
and enable it without restarting the server?
Message-ID: <75D59EE6-C68A-4322-8D67-E3E046629C99@idapted.com>
Hi,
For production use, we want the service run consistently and long as
possible. As we have command tools to reload xml configurations and
restart gateways, I have a problem to make my configuration take
effect before restarting the whole FreeSWITCH server.
Here are two questions:
1) When I add a gateway to a profile, say external, I can do reloadxml
and sofia profile external restart. But if I add a new profile, how
can I do it as it will complain the profile name not exist?
2) Is it possible to enable/disable/restart a single gateway?
Thanks
Seven
From jalsot at gmail.com Tue Jan 20 02:04:00 2009
From: jalsot at gmail.com (Tamas)
Date: Tue, 20 Jan 2009 11:04:00 +0100
Subject: [Freeswitch-dev] Is there any plans to implement some kind of
measures and statistics function?
In-Reply-To:
References:
Message-ID: <4975A190.8080001@gmail.com>
Hello Seven,
We are the one put the bounty :)
Do you mind to add some $$$ to the fund? That could help the thing make
happen.
Regards,
Tamas
ps: Right waiting for response from consulting@ for the request.
seven du ?rta:
> Hi developers,
>
> Now and then we need to know some statistics message and sure we need
> some way to measure it. My ideas just like this:
>
> http://wiki.freeswitch.org/wiki/Bounty#RFC_3611_-_RTP_Control_Protocol_Extended_Reports_.28RTCP_XR.29_support
>
> Is there some plans to build this kind of function in? If not, can
> some one tell me how easy or hard to do it? I think it would be better
> to use pcap or 3rd party stuffs the do that.
>
> Thanks.
>
>
> Seven
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
From brian at freeswitch.org Tue Jan 20 03:37:42 2009
From: brian at freeswitch.org (Brian West)
Date: Tue, 20 Jan 2009 05:37:42 -0600
Subject: [Freeswitch-dev] Is it possible to add a new profile
configuration and enable it without restarting the server?
In-Reply-To: <75D59EE6-C68A-4322-8D67-E3E046629C99@idapted.com>
References: <75D59EE6-C68A-4322-8D67-E3E046629C99@idapted.com>
Message-ID:
On Jan 20, 2009, at 3:58 AM, seven du wrote:
> Hi,
>
> For production use, we want the service run consistently and long as
> possible. As we have command tools to reload xml configurations and
> restart gateways, I have a problem to make my configuration take
> effect before restarting the whole FreeSWITCH server.
>
> Here are two questions:
>
> 1) When I add a gateway to a profile, say external, I can do reloadxml
> and sofia profile external restart. But if I add a new profile, how
> can I do it as it will complain the profile name not exist?
http://wiki.freeswitch.org/wiki/Sofia#Reloading_profiles_and_gateways
http://wiki.freeswitch.org/wiki/Sofia#Deleting_gateways
If you add a profile its simple.
sofia profile XXX start
/b
>
>
> 2) Is it possible to enable/disable/restart a single gateway?
>
> Thanks
>
> Seven
From jkr888 at gmail.com Tue Jan 20 10:43:51 2009
From: jkr888 at gmail.com (Johny Kadarisman)
Date: Tue, 20 Jan 2009 13:43:51 -0500
Subject: [Freeswitch-dev] Latest build - Socket inbound variable_* on custom
event problem.
Message-ID:
Hi all,
Is there a way to propagate variable_* into custom event. I'm
connecting with inbound socket, and listening to that custom events.
during recent trunk update, I encountered an issues from external
application, after look around, found out that these value is not in
the events. After search around, found out some reference about
"verbose_events" with outbound sockets. So, I insert that applications
in dialplan, but still don't see any variable_* being propagate.
Is there anyway to enable this for inbound sockets?
Thanks,
Johny K.
From anthony.minessale at gmail.com Tue Jan 20 10:54:50 2009
From: anthony.minessale at gmail.com (Anthony Minessale)
Date: Tue, 20 Jan 2009 12:54:50 -0600
Subject: [Freeswitch-dev] Latest build - Socket inbound variable_* on
custom event problem.
In-Reply-To:
References:
Message-ID: <191c3a030901201054t39b977aar39859282fc72aa28@mail.gmail.com>
is it your own custom event?
switch_channel_event_set_data(channel, event);
in your code will add all the vars.
On Tue, Jan 20, 2009 at 12:43 PM, Johny Kadarisman wrote:
> Hi all,
>
> Is there a way to propagate variable_* into custom event. I'm
> connecting with inbound socket, and listening to that custom events.
>
> during recent trunk update, I encountered an issues from external
> application, after look around, found out that these value is not in
> the events. After search around, found out some reference about
> "verbose_events" with outbound sockets. So, I insert that applications
> in dialplan, but still don't see any variable_* being propagate.
>
> Is there anyway to enable this for inbound sockets?
>
> Thanks,
> Johny K.
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090120/204d094f/attachment.html
From jkr888 at gmail.com Tue Jan 20 11:07:35 2009
From: jkr888 at gmail.com (Johny Kadarisman)
Date: Tue, 20 Jan 2009 14:07:35 -0500
Subject: [Freeswitch-dev] Latest build - Socket inbound variable_* on
custom event problem.
In-Reply-To: <191c3a030901201054t39b977aar39859282fc72aa28@mail.gmail.com>
References:
<191c3a030901201054t39b977aar39859282fc72aa28@mail.gmail.com>
Message-ID:
The external socket apps listen on the custom event that generate by
mod_conference.
It uses some customize variable_* that being passes in the event to do
certain logic.
Can i enable the propagation externally from dialplan, similar to
"verbose_events" for outbound?
Johny K.
On Tue, Jan 20, 2009 at 1:54 PM, Anthony Minessale
wrote:
> is it your own custom event?
>
> switch_channel_event_set_data(channel, event);
>
> in your code will add all the vars.
>
>
> On Tue, Jan 20, 2009 at 12:43 PM, Johny Kadarisman wrote:
>>
>> Hi all,
>>
>> Is there a way to propagate variable_* into custom event. I'm
>> connecting with inbound socket, and listening to that custom events.
>>
>> during recent trunk update, I encountered an issues from external
>> application, after look around, found out that these value is not in
>> the events. After search around, found out some reference about
>> "verbose_events" with outbound sockets. So, I insert that applications
>> in dialplan, but still don't see any variable_* being propagate.
>>
>> Is there anyway to enable this for inbound sockets?
>>
>> Thanks,
>> Johny K.
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
From jkr888 at gmail.com Tue Jan 20 11:18:22 2009
From: jkr888 at gmail.com (Johny Kadarisman)
Date: Tue, 20 Jan 2009 14:18:22 -0500
Subject: [Freeswitch-dev] Latest build - Socket inbound variable_* on
custom event problem.
In-Reply-To:
References:
<191c3a030901201054t39b977aar39859282fc72aa28@mail.gmail.com>
Message-ID:
I think i found it, it can be configure from conference profile :)
Thanks for the pointer.
On Tue, Jan 20, 2009 at 2:07 PM, Johny Kadarisman wrote:
> The external socket apps listen on the custom event that generate by
> mod_conference.
> It uses some customize variable_* that being passes in the event to do
> certain logic.
>
> Can i enable the propagation externally from dialplan, similar to
> "verbose_events" for outbound?
>
> Johny K.
>
> On Tue, Jan 20, 2009 at 1:54 PM, Anthony Minessale
> wrote:
>> is it your own custom event?
>>
>> switch_channel_event_set_data(channel, event);
>>
>> in your code will add all the vars.
>>
>>
>> On Tue, Jan 20, 2009 at 12:43 PM, Johny Kadarisman wrote:
>>>
>>> Hi all,
>>>
>>> Is there a way to propagate variable_* into custom event. I'm
>>> connecting with inbound socket, and listening to that custom events.
>>>
>>> during recent trunk update, I encountered an issues from external
>>> application, after look around, found out that these value is not in
>>> the events. After search around, found out some reference about
>>> "verbose_events" with outbound sockets. So, I insert that applications
>>> in dialplan, but still don't see any variable_* being propagate.
>>>
>>> Is there anyway to enable this for inbound sockets?
>>>
>>> Thanks,
>>> Johny K.
>>>
>>> _______________________________________________
>>> Freeswitch-dev mailing list
>>> Freeswitch-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> http://www.freeswitch.org
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> iax:guest at conference.freeswitch.org/888
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:213-799-1400
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>>
>>
>
From jkr888 at gmail.com Tue Jan 20 11:29:55 2009
From: jkr888 at gmail.com (Johny Kadarisman)
Date: Tue, 20 Jan 2009 14:29:55 -0500
Subject: [Freeswitch-dev] Latest build - Socket inbound variable_* on
custom event problem.
In-Reply-To:
References:
<191c3a030901201054t39b977aar39859282fc72aa28@mail.gmail.com>
Message-ID:
just realize that this settings is not in the default conference
configuration, so if someone have the same issues like me, you can
save your debugging time and try put following line in conference
configuration ;)
On Tue, Jan 20, 2009 at 2:18 PM, Johny Kadarisman wrote:
> I think i found it, it can be configure from conference profile :)
>
> Thanks for the pointer.
>
> On Tue, Jan 20, 2009 at 2:07 PM, Johny Kadarisman wrote:
>> The external socket apps listen on the custom event that generate by
>> mod_conference.
>> It uses some customize variable_* that being passes in the event to do
>> certain logic.
>>
>> Can i enable the propagation externally from dialplan, similar to
>> "verbose_events" for outbound?
>>
>> Johny K.
>>
>> On Tue, Jan 20, 2009 at 1:54 PM, Anthony Minessale
>> wrote:
>>> is it your own custom event?
>>>
>>> switch_channel_event_set_data(channel, event);
>>>
>>> in your code will add all the vars.
>>>
>>>
>>> On Tue, Jan 20, 2009 at 12:43 PM, Johny Kadarisman wrote:
>>>>
>>>> Hi all,
>>>>
>>>> Is there a way to propagate variable_* into custom event. I'm
>>>> connecting with inbound socket, and listening to that custom events.
>>>>
>>>> during recent trunk update, I encountered an issues from external
>>>> application, after look around, found out that these value is not in
>>>> the events. After search around, found out some reference about
>>>> "verbose_events" with outbound sockets. So, I insert that applications
>>>> in dialplan, but still don't see any variable_* being propagate.
>>>>
>>>> Is there anyway to enable this for inbound sockets?
>>>>
>>>> Thanks,
>>>> Johny K.
>>>>
>>>> _______________________________________________
>>>> Freeswitch-dev mailing list
>>>> Freeswitch-dev at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>>> http://www.freeswitch.org
>>>
>>>
>>>
>>> --
>>> Anthony Minessale II
>>>
>>> FreeSWITCH http://www.freeswitch.org/
>>> ClueCon http://www.cluecon.com/
>>>
>>> AIM: anthm
>>> MSN:anthony_minessale at hotmail.com
>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>> IRC: irc.freenode.net #freeswitch
>>>
>>> FreeSWITCH Developer Conference
>>> sip:888 at conference.freeswitch.org
>>> iax:guest at conference.freeswitch.org/888
>>> googletalk:conf+888 at conference.freeswitch.org
>>> pstn:213-799-1400
>>>
>>> _______________________________________________
>>> Freeswitch-dev mailing list
>>> Freeswitch-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> http://www.freeswitch.org
>>>
>>>
>>
>
From seven at idapted.com Tue Jan 20 17:58:07 2009
From: seven at idapted.com (seven du)
Date: Wed, 21 Jan 2009 09:58:07 +0800
Subject: [Freeswitch-dev] Is there any plans to implement some kind of
measures and statistics function?
In-Reply-To: <4975A190.8080001@gmail.com>
References:
<4975A190.8080001@gmail.com>
Message-ID:
Hi Tamas,
Thank you for responding, I'm not sure, but if I can add some $$$, how
much do you think it will be enough?
As you know, about the RTCP protocol, even if if can be implemented,
it must be supported by both ends.
Actually what I currently think is: can we just let FS report this
kind of message(via event_socket of CDR)?
Is it enough for you?
I want to read the FS code and see how easy/hard to do this. It will
be really helpful if someone can give some hints to do that.
Best,
Seven
On Jan 20, 2009, at 6:04 PM, Tamas wrote:
> Hello Seven,
>
> We are the one put the bounty :)
> Do you mind to add some $$$ to the fund? That could help the thing
> make
> happen.
>
> Regards,
> Tamas
>
> ps: Right waiting for response from consulting@ for the request.
>
> seven du ?rta:
>> Hi developers,
>>
>> Now and then we need to know some statistics message and sure we need
>> some way to measure it. My ideas just like this:
>>
>> http://wiki.freeswitch.org/wiki/Bounty#RFC_3611_-_RTP_Control_Protocol_Extended_Reports_.28RTCP_XR.29_support
>>
>> Is there some plans to build this kind of function in? If not, can
>> some one tell me how easy or hard to do it? I think it would be
>> better
>> to use pcap or 3rd party stuffs the do that.
>>
>> Thanks.
>>
>>
>> Seven
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>> dev
>> http://www.freeswitch.org
>>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From msc at freeswitch.org Tue Jan 20 21:11:43 2009
From: msc at freeswitch.org (Michael Collins)
Date: Tue, 20 Jan 2009 21:11:43 -0800
Subject: [Freeswitch-dev] New wiki page needs your attention!
Message-ID: <87f2f3b90901202111x3811ba36ve2ec3ecda31c6855@mail.gmail.com>
Hello FreeSWITCHers!
I'm putting the finishing touches on a wiki page that we hope will
make it easier for users to request help and for the dev team and
power users to digest and process those requests. What I need first
and foremost is for everyone to please read this page:
http://wiki.freeswitch.org/wiki/Reporting_Bugs
Please give me feedback. Put yourself in the shoes of a relative
newbie. Is the information easy to follow? On the flip side, if you
wanted to help someone, ask yourself, if they follow the steps on this
page will that suffice? Are there places that need improvement? Can
you think of anything else that can be added?
NOTE: I'm still working on the TDM/OpenZAP section as well as the
sections on scripting, event socket, elements of a jira ticket, etc.
If you have suggestions for content on those pages please email me off
list or hop and and fill in some of the blanks.
The core development team really appreciates all of your help. Now
that FS is growing like mad we are at the point where it is imperative
that we have reliable documentation for new ones so that the
developers and other experts can focus on advancing the project even
further. Let's all lend a hand by improving the documentation.
Thanks again!
-MC (mercutioviz)
From sanju at 11hit.com Wed Jan 21 02:16:22 2009
From: sanju at 11hit.com (Sanju)
Date: Wed, 21 Jan 2009 02:16:22 -0800
Subject: [Freeswitch-dev] Reg: Freeswitch execution error [urgent]
Message-ID: <20090121021622.F6C0A77D@resin13.mta.everyone.net>
Hi,
I have Installed Freeswitch in Redhat5.1 , but when i start the freeswitch for /usr/local/freeswitch/bin throws the following error
2009-01-21 13:54:01 [ERR] sofia_glue.c:559 sofia_glue_ext_address_lookup() STUN Failed! stun.freeswitch.org:3478 [Timeout]
2009-01-21 13:54:01 [ERR] sofia.c:1815 config_sofia() Failed to get external ip.
i am able to ping stun.freeswitch.org but not allowing when specified stun.freeswitch.org:3478 , the linux doesn't have any firewall and connected with internet
please help me , do i need to configure any thing else ?
Regards,
Sanju.
_____________________________________________________________
Gift Certificates
http://www.online-gift-certificate.com
This email was sent using 11hit.com free web-based email!
http://www.11hit.com
From rob.charlton at savageminds.com Wed Jan 21 04:38:54 2009
From: rob.charlton at savageminds.com (Rob Charlton)
Date: Wed, 21 Jan 2009 12:38:54 +0000
Subject: [Freeswitch-dev] DTMF events
Message-ID: <4977175E.1020303@savageminds.com>
Hi,
I'm using mod_event_socket to listen for DTMF events. I have Nokia
handsets registered as SIP clients over Wifi, as well as a SIP trunk
providing incoming PSTN calls to a range of DDIs and outgoing PSTN calls.
If I make an incoming (PSTN or SIP) call and answer it, I always see
DTMF events via mod_event_socket.
If I make an outgoing call direct to a handset using SIP then I see DTMF
events - e.g. originate user/1000 &park()
If I make an outgoing call via PSTN then I don't see DTMF events e.g.
originate sofia/gateway/mygateway/myphonenumber &park() or
&javascript(myscript.js);
In the latter case, I am still able to pick up DTMF digits if I use
javascript session.collectInput() - so it appears as if the DTMF tones
are being recognised by Freeswitch, but no events sent.
What am I doing wrong?
Cheers
Rob
--
Rob Charlton
Savage Minds Ltd
From anthony.minessale at gmail.com Wed Jan 21 05:50:57 2009
From: anthony.minessale at gmail.com (Anthony Minessale)
Date: Wed, 21 Jan 2009 07:50:57 -0600
Subject: [Freeswitch-dev] Reg: Freeswitch execution error [urgent]
In-Reply-To: <20090121021622.F6C0A77D@resin13.mta.everyone.net>
References: <20090121021622.F6C0A77D@resin13.mta.everyone.net>
Message-ID: <191c3a030901210550l5cced4bct2b77798843197028@mail.gmail.com>
this isn't really a dev topic this is more appropriate for freeswitch-users
you just have to delete all the profiles besides internal
On Wed, Jan 21, 2009 at 4:16 AM, Sanju wrote:
> Hi,
> I have Installed Freeswitch in Redhat5.1 , but when i start the freeswitch
> for /usr/local/freeswitch/bin throws the following error
>
> 2009-01-21 13:54:01 [ERR] sofia_glue.c:559 sofia_glue_ext_address_lookup()
> STUN Failed! stun.freeswitch.org:3478 [Timeout]
> 2009-01-21 13:54:01 [ERR] sofia.c:1815 config_sofia() Failed to get
> external ip.
>
> i am able to ping stun.freeswitch.org but not allowing when specified
> stun.freeswitch.org:3478 , the linux doesn't have any firewall and
> connected with internet
>
> please help me , do i need to configure any thing else ?
>
>
> Regards,
> Sanju.
>
>
>
> _____________________________________________________________
> Gift Certificates
> http://www.online-gift-certificate.com
>
> This email was sent using 11hit.com free web-based email!
> http://www.11hit.com
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090121/36bfc927/attachment.html
From anthony.minessale at gmail.com Wed Jan 21 06:00:32 2009
From: anthony.minessale at gmail.com (Anthony Minessale)
Date: Wed, 21 Jan 2009 08:00:32 -0600
Subject: [Freeswitch-dev] DTMF events
In-Reply-To: <4977175E.1020303@savageminds.com>
References: <4977175E.1020303@savageminds.com>
Message-ID: <191c3a030901210600m7437e4e7n91d804c01720b3e9@mail.gmail.com>
Did you try enabling all events and making a single call to make sure you
are subscribed to the right event?
On Wed, Jan 21, 2009 at 6:38 AM, Rob Charlton
wrote:
> Hi,
>
> I'm using mod_event_socket to listen for DTMF events. I have Nokia
> handsets registered as SIP clients over Wifi, as well as a SIP trunk
> providing incoming PSTN calls to a range of DDIs and outgoing PSTN calls.
>
> If I make an incoming (PSTN or SIP) call and answer it, I always see
> DTMF events via mod_event_socket.
> If I make an outgoing call direct to a handset using SIP then I see DTMF
> events - e.g. originate user/1000 &park()
> If I make an outgoing call via PSTN then I don't see DTMF events e.g.
> originate sofia/gateway/mygateway/myphonenumber &park() or
> &javascript(myscript.js);
>
> In the latter case, I am still able to pick up DTMF digits if I use
> javascript session.collectInput() - so it appears as if the DTMF tones
> are being recognised by Freeswitch, but no events sent.
>
> What am I doing wrong?
>
> Cheers
>
> Rob
>
> --
> Rob Charlton
> Savage Minds Ltd
>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090121/04fcf610/attachment.html
From dujinfang at gmail.com Tue Jan 20 22:50:36 2009
From: dujinfang at gmail.com (dujinfang)
Date: Wed, 21 Jan 2009 14:50:36 +0800
Subject: [Freeswitch-dev] New wiki page needs your attention!
In-Reply-To: <87f2f3b90901202111x3811ba36ve2ec3ecda31c6855@mail.gmail.com>
References: <87f2f3b90901202111x3811ba36ve2ec3ecda31c6855@mail.gmail.com>
Message-ID: <8E79CA7D-5CF3-4C04-8DE1-F464E9E9BEA6@gmail.com>
Great! but how can I login into pastebin?
On Jan 21, 2009, at 1:11 PM, Michael Collins wrote:
> Hello FreeSWITCHers!
>
> I'm putting the finishing touches on a wiki page that we hope will
> make it easier for users to request help and for the dev team and
> power users to digest and process those requests. What I need first
> and foremost is for everyone to please read this page:
> http://wiki.freeswitch.org/wiki/Reporting_Bugs
>
> Please give me feedback. Put yourself in the shoes of a relative
> newbie. Is the information easy to follow? On the flip side, if you
> wanted to help someone, ask yourself, if they follow the steps on this
> page will that suffice? Are there places that need improvement? Can
> you think of anything else that can be added?
>
> NOTE: I'm still working on the TDM/OpenZAP section as well as the
> sections on scripting, event socket, elements of a jira ticket, etc.
> If you have suggestions for content on those pages please email me off
> list or hop and and fill in some of the blanks.
>
> The core development team really appreciates all of your help. Now
> that FS is growing like mad we are at the point where it is imperative
> that we have reliable documentation for new ones so that the
> developers and other experts can focus on advancing the project even
> further. Let's all lend a hand by improving the documentation.
>
> Thanks again!
> -MC (mercutioviz)
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From msc at freeswitch.org Wed Jan 21 06:39:29 2009
From: msc at freeswitch.org (Michael Collins)
Date: Wed, 21 Jan 2009 06:39:29 -0800
Subject: [Freeswitch-dev] New wiki page needs your attention!
In-Reply-To: <8E79CA7D-5CF3-4C04-8DE1-F464E9E9BEA6@gmail.com>
References: <87f2f3b90901202111x3811ba36ve2ec3ecda31c6855@mail.gmail.com>
<8E79CA7D-5CF3-4C04-8DE1-F464E9E9BEA6@gmail.com>
Message-ID: <87f2f3b90901210639i76555732t4f688f689cc890d4@mail.gmail.com>
On Tue, Jan 20, 2009 at 10:50 PM, dujinfang wrote:
> Great! but how can I login into pastebin?
Look closely at the login dialog box and you'll see the answer to your
question! ;)
-MC
>
> On Jan 21, 2009, at 1:11 PM, Michael Collins wrote:
>
>> Hello FreeSWITCHers!
>>
>> I'm putting the finishing touches on a wiki page that we hope will
>> make it easier for users to request help and for the dev team and
>> power users to digest and process those requests. What I need first
>> and foremost is for everyone to please read this page:
>> http://wiki.freeswitch.org/wiki/Reporting_Bugs
>>
>> Please give me feedback. Put yourself in the shoes of a relative
>> newbie. Is the information easy to follow? On the flip side, if you
>> wanted to help someone, ask yourself, if they follow the steps on this
>> page will that suffice? Are there places that need improvement? Can
>> you think of anything else that can be added?
>>
>> NOTE: I'm still working on the TDM/OpenZAP section as well as the
>> sections on scripting, event socket, elements of a jira ticket, etc.
>> If you have suggestions for content on those pages please email me off
>> list or hop and and fill in some of the blanks.
>>
>> The core development team really appreciates all of your help. Now
>> that FS is growing like mad we are at the point where it is imperative
>> that we have reliable documentation for new ones so that the
>> developers and other experts can focus on advancing the project even
>> further. Let's all lend a hand by improving the documentation.
>>
>> Thanks again!
>> -MC (mercutioviz)
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
From msc at freeswitch.org Wed Jan 21 06:47:39 2009
From: msc at freeswitch.org (Michael Collins)
Date: Wed, 21 Jan 2009 06:47:39 -0800
Subject: [Freeswitch-dev] DTMF events
In-Reply-To: <191c3a030901210600m7437e4e7n91d804c01720b3e9@mail.gmail.com>
References: <4977175E.1020303@savageminds.com>
<191c3a030901210600m7437e4e7n91d804c01720b3e9@mail.gmail.com>
Message-ID: <87f2f3b90901210647m657d90c1me408fcd5ea394230@mail.gmail.com>
FYI,
I've added a bit to the reporting bugs page to discuss this. Still
needs more, but it's getting there.
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Event_Socket
-MC
On Wed, Jan 21, 2009 at 6:00 AM, Anthony Minessale
wrote:
> Did you try enabling all events and making a single call to make sure you
> are subscribed to the right event?
>
>
> On Wed, Jan 21, 2009 at 6:38 AM, Rob Charlton
> wrote:
>>
>> Hi,
>>
>> I'm using mod_event_socket to listen for DTMF events. I have Nokia
>> handsets registered as SIP clients over Wifi, as well as a SIP trunk
>> providing incoming PSTN calls to a range of DDIs and outgoing PSTN calls.
>>
>> If I make an incoming (PSTN or SIP) call and answer it, I always see
>> DTMF events via mod_event_socket.
>> If I make an outgoing call direct to a handset using SIP then I see DTMF
>> events - e.g. originate user/1000 &park()
>> If I make an outgoing call via PSTN then I don't see DTMF events e.g.
>> originate sofia/gateway/mygateway/myphonenumber &park() or
>> &javascript(myscript.js);
>>
>> In the latter case, I am still able to pick up DTMF digits if I use
>> javascript session.collectInput() - so it appears as if the DTMF tones
>> are being recognised by Freeswitch, but no events sent.
>>
>> What am I doing wrong?
>>
>> Cheers
>>
>> Rob
>>
>> --
>> Rob Charlton
>> Savage Minds Ltd
>>
>>
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
From rob.charlton at savageminds.com Wed Jan 21 07:53:41 2009
From: rob.charlton at savageminds.com (Rob Charlton)
Date: Wed, 21 Jan 2009 15:53:41 +0000
Subject: [Freeswitch-dev] DTMF events
In-Reply-To: <191c3a030901210600m7437e4e7n91d804c01720b3e9@mail.gmail.com>
References: <4977175E.1020303@savageminds.com>
<191c3a030901210600m7437e4e7n91d804c01720b3e9@mail.gmail.com>
Message-ID: <49774505.3050400@savageminds.com>
Yes, and yes. I see the DTMF events arriving when I make an incoming call.
I put a breakpoint on switch_channel_dequeue_dtmf() which gets hit when
I type digits after:
- I originate a call to a sip extension
- I receive a call from a sip extension
- I receive a call from our sip trunk (from PSTN)
The breakpoint doesn't get hit when I type digits after:
- I originate a call via our sip trunk (to the PSTN)
As regards this:
> In the latter case, I am still able to pick up DTMF digits if I use
> javascript session.collectInput() - so it appears as if the DTMF tones
> are being recognised by Freeswitch, but no events sent.
I must have been dreaming - that isn't the case at all -
session.collectInput doesn't get any digits at all.
We use the same SIP trunk with asterisk and that _does_ pick up DTMF
tones for outbound PSTN calls.
Thanks
Rob
Anthony Minessale wrote:
> Did you try enabling all events and making a single call to make sure
> you are subscribed to the right event?
>
>
> On Wed, Jan 21, 2009 at 6:38 AM, Rob Charlton
> >
> wrote:
>
> Hi,
>
> I'm using mod_event_socket to listen for DTMF events. I have Nokia
> handsets registered as SIP clients over Wifi, as well as a SIP trunk
> providing incoming PSTN calls to a range of DDIs and outgoing PSTN
> calls.
>
> If I make an incoming (PSTN or SIP) call and answer it, I always see
> DTMF events via mod_event_socket.
> If I make an outgoing call direct to a handset using SIP then I
> see DTMF
> events - e.g. originate user/1000 &park()
> If I make an outgoing call via PSTN then I don't see DTMF events e.g.
> originate sofia/gateway/mygateway/myphonenumber &park() or
> &javascript(myscript.js);
>
> In the latter case, I am still able to pick up DTMF digits if I use
> javascript session.collectInput() - so it appears as if the DTMF tones
> are being recognised by Freeswitch, but no events sent.
>
> What am I doing wrong?
>
> Cheers
>
> Rob
>
> --
> Rob Charlton
> Savage Minds Ltd
>
From ludovic.fouquet at bewan.com Wed Jan 21 09:44:02 2009
From: ludovic.fouquet at bewan.com (ludovic)
Date: Wed, 21 Jan 2009 18:44:02 +0100
Subject: [Freeswitch-dev] switch_frame structure question
Message-ID: <49775EE2.1060203@bewan.com>
Hi,
what is the difference in the structure switch_frame between the
following members :
packet
data
payload
The routine channel_write_frame of my endpoind is called, but it seems
that I do not use the correct data as my payload_type of the data is not
8 (PCMA) which I should have.
I call from a SIP phone, registered in freeswitch to an analog phone.
I have to pass the RTP packet to my phone device.
Thanks,
Ludovic
From anthony.minessale at gmail.com Wed Jan 21 09:54:30 2009
From: anthony.minessale at gmail.com (Anthony Minessale)
Date: Wed, 21 Jan 2009 11:54:30 -0600
Subject: [Freeswitch-dev] switch_frame structure question
In-Reply-To: <49775EE2.1060203@bewan.com>
References: <49775EE2.1060203@bewan.com>
Message-ID: <191c3a030901210954y41acc7c7r952d5021ddb5a5c8@mail.gmail.com>
packet is the raw packet pointer
if the frame flag SFF_RAW_RTP is set it can be cast into a rtp header to
view the contents.
data is the media (audio data)
payload is sometimes used to describe the payload type of the packet.
if you are looking to see what the audio type is
try frame->codec->implementation->ianacode and
frame->codec->implementation->iananame
On Wed, Jan 21, 2009 at 11:44 AM, ludovic wrote:
> Hi,
>
> what is the difference in the structure switch_frame between the
> following members :
> packet
> data
> payload
>
> The routine channel_write_frame of my endpoind is called, but it seems
> that I do not use the correct data as my payload_type of the data is not
> 8 (PCMA) which I should have.
> I call from a SIP phone, registered in freeswitch to an analog phone.
> I have to pass the RTP packet to my phone device.
>
> Thanks,
>
> Ludovic
>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090121/616b4e2a/attachment.html
From msc at freeswitch.org Wed Jan 21 13:19:05 2009
From: msc at freeswitch.org (Michael Collins)
Date: Wed, 21 Jan 2009 13:19:05 -0800
Subject: [Freeswitch-dev] DTMF events
In-Reply-To: <49774505.3050400@savageminds.com>
References: <4977175E.1020303@savageminds.com>
<191c3a030901210600m7437e4e7n91d804c01720b3e9@mail.gmail.com>
<49774505.3050400@savageminds.com>
Message-ID: <87f2f3b90901211319p68f2d28cr178fc357cd6dcd77@mail.gmail.com>
Rob,
I've been able to duplicate this behavior on my Mac with r11333. It
seems to work with Lua but not with Javascript. I am going to discuss
it with the devs and possibly open a jira issue. In the meantime would
you be willing to try it with Lua, even just for testing? This worked
for me:
-- Test sending custom events in Lua
local event = freeswitch.Event("custom");
event:addHeader("Sample Custom Event", "no");
event:fire();
I saved the above as /usr/local/freeswitch/scripts/event1.lua
I then opened two terminal windows, one to freeswitch CLI and the
other a telnet into the event socket
On the event socket I logged in and listened for custom events:
telnet localhost 8021
auth ClueCon
events plain custom
On FS CLI I typed:
lua event1.lua
On the event socket I immediately see this:
Sample Custom Event: no
Event-Name: CUSTOM
Core-UUID: 2c04a36e-5a23-4b14-b0a5-34fe9fd9f1bc
FreeSWITCH-Hostname: michael-collinss-macbook-pro.local
FreeSWITCH-IPv4: 192.168.1.5
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2009-01-21%2013%3A14%3A35
Event-Date-GMT: Wed,%2021%20Jan%202009%2021%3A14%3A35%20GMT
Event-Date-Timestamp: 1232572475813346
Event-Calling-File: switch_cpp.cpp
Event-Calling-Function: fire
Event-Calling-Line-Number: 295
However, when I do the same kind of thing with js it doesn't work:
// Sample event sent from JavaScript
console_log("INFO","Starting event1.js sample event sender...\n");
var msg = "Hello, welcome to the FreeSWITCH demo application
please enter some text into the chat box";
e = new Event("custom", "message");
e.addBody(msg);
e.fire();
I saved the above as /usr/local/freeswitch/scripts/event1.js
I run it from the FS CLI:
jsrun event1.js
And I see my console message pop up but I don't see anything on the event socket
However, if I do this at the event socket:
events plain all
And then do jsrun event1.js from FS CLI then I do see my event on the
event socket like this:
Content-Length: 559
Content-Type: text/event-plain
Event-Subclass: message
Event-Name: CUSTOM
Core-UUID: 2c04a36e-5a23-4b14-b0a5-34fe9fd9f1bc
FreeSWITCH-Hostname: michael-collinss-macbook-pro.local
FreeSWITCH-IPv4: 192.168.1.5
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2009-01-21%2013%3A07%3A48
Event-Date-GMT: Wed,%2021%20Jan%202009%2021%3A07%3A48%20GMT
Event-Date-Timestamp: 1232572068370864
Event-Calling-File: mod_spidermonkey.c
Event-Calling-Function: event_fire
Event-Calling-Line-Number: 671
Content-Length: 90
Hello, welcome to the FreeSWITCH demo application please enter some
text into the chat box
So, there's definitely something going on, we just need to find out
what for sure. I'll be in touch.
-MC (mercutioviz)
On Wed, Jan 21, 2009 at 7:53 AM, Rob Charlton
wrote:
> Yes, and yes. I see the DTMF events arriving when I make an incoming call.
>
> I put a breakpoint on switch_channel_dequeue_dtmf() which gets hit when
> I type digits after:
>
> - I originate a call to a sip extension
> - I receive a call from a sip extension
> - I receive a call from our sip trunk (from PSTN)
>
> The breakpoint doesn't get hit when I type digits after:
>
> - I originate a call via our sip trunk (to the PSTN)
>
> As regards this:
> > In the latter case, I am still able to pick up DTMF digits if I use
> > javascript session.collectInput() - so it appears as if the DTMF tones
> > are being recognised by Freeswitch, but no events sent.
> I must have been dreaming - that isn't the case at all -
> session.collectInput doesn't get any digits at all.
>
> We use the same SIP trunk with asterisk and that _does_ pick up DTMF
> tones for outbound PSTN calls.
>
> Thanks
>
> Rob
>
>
> Anthony Minessale wrote:
>> Did you try enabling all events and making a single call to make sure
>> you are subscribed to the right event?
>>
>>
>> On Wed, Jan 21, 2009 at 6:38 AM, Rob Charlton
>> >
>> wrote:
>>
>> Hi,
>>
>> I'm using mod_event_socket to listen for DTMF events. I have Nokia
>> handsets registered as SIP clients over Wifi, as well as a SIP trunk
>> providing incoming PSTN calls to a range of DDIs and outgoing PSTN
>> calls.
>>
>> If I make an incoming (PSTN or SIP) call and answer it, I always see
>> DTMF events via mod_event_socket.
>> If I make an outgoing call direct to a handset using SIP then I
>> see DTMF
>> events - e.g. originate user/1000 &park()
>> If I make an outgoing call via PSTN then I don't see DTMF events e.g.
>> originate sofia/gateway/mygateway/myphonenumber &park() or
>> &javascript(myscript.js);
>>
>> In the latter case, I am still able to pick up DTMF digits if I use
>> javascript session.collectInput() - so it appears as if the DTMF tones
>> are being recognised by Freeswitch, but no events sent.
>>
>> What am I doing wrong?
>>
>> Cheers
>>
>> Rob
>>
>> --
>> Rob Charlton
>> Savage Minds Ltd
>>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
From msc at freeswitch.org Wed Jan 21 13:41:14 2009
From: msc at freeswitch.org (Michael Collins)
Date: Wed, 21 Jan 2009 13:41:14 -0800
Subject: [Freeswitch-dev] DTMF events
In-Reply-To: <49774505.3050400@savageminds.com>
References: <4977175E.1020303@savageminds.com>
<191c3a030901210600m7437e4e7n91d804c01720b3e9@mail.gmail.com>
<49774505.3050400@savageminds.com>
Message-ID: <87f2f3b90901211341w368d9437q6e09374a55c824cf@mail.gmail.com>
Rob,
My bad, I replied to the wrong email thread. Please disregard.
-MC
On Wed, Jan 21, 2009 at 7:53 AM, Rob Charlton
wrote:
> Yes, and yes. I see the DTMF events arriving when I make an incoming call.
>
> I put a breakpoint on switch_channel_dequeue_dtmf() which gets hit when
> I type digits after:
>
> - I originate a call to a sip extension
> - I receive a call from a sip extension
> - I receive a call from our sip trunk (from PSTN)
>
> The breakpoint doesn't get hit when I type digits after:
>
> - I originate a call via our sip trunk (to the PSTN)
>
> As regards this:
> > In the latter case, I am still able to pick up DTMF digits if I use
> > javascript session.collectInput() - so it appears as if the DTMF tones
> > are being recognised by Freeswitch, but no events sent.
> I must have been dreaming - that isn't the case at all -
> session.collectInput doesn't get any digits at all.
>
> We use the same SIP trunk with asterisk and that _does_ pick up DTMF
> tones for outbound PSTN calls.
>
> Thanks
>
> Rob
>
>
> Anthony Minessale wrote:
>> Did you try enabling all events and making a single call to make sure
>> you are subscribed to the right event?
>>
>>
>> On Wed, Jan 21, 2009 at 6:38 AM, Rob Charlton
>> >
>> wrote:
>>
>> Hi,
>>
>> I'm using mod_event_socket to listen for DTMF events. I have Nokia
>> handsets registered as SIP clients over Wifi, as well as a SIP trunk
>> providing incoming PSTN calls to a range of DDIs and outgoing PSTN
>> calls.
>>
>> If I make an incoming (PSTN or SIP) call and answer it, I always see
>> DTMF events via mod_event_socket.
>> If I make an outgoing call direct to a handset using SIP then I
>> see DTMF
>> events - e.g. originate user/1000 &park()
>> If I make an outgoing call via PSTN then I don't see DTMF events e.g.
>> originate sofia/gateway/mygateway/myphonenumber &park() or
>> &javascript(myscript.js);
>>
>> In the latter case, I am still able to pick up DTMF digits if I use
>> javascript session.collectInput() - so it appears as if the DTMF tones
>> are being recognised by Freeswitch, but no events sent.
>>
>> What am I doing wrong?
>>
>> Cheers
>>
>> Rob
>>
>> --
>> Rob Charlton
>> Savage Minds Ltd
>>
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
From anthony.minessale at gmail.com Wed Jan 21 13:43:23 2009
From: anthony.minessale at gmail.com (Anthony Minessale)
Date: Wed, 21 Jan 2009 15:43:23 -0600
Subject: [Freeswitch-dev] DTMF events
In-Reply-To: <49774505.3050400@savageminds.com>
References: <4977175E.1020303@savageminds.com>
<191c3a030901210600m7437e4e7n91d804c01720b3e9@mail.gmail.com>
<49774505.3050400@savageminds.com>
Message-ID: <191c3a030901211343x4c616c2emcdde76f91c035f33@mail.gmail.com>
when you say tones, does that mean it's inband dtmf?
you may need to run the start_dtmf app on the channel to engage the tone
detector?
can you please file it on jira http://jira.freeswitch.org and attach
a pcap and console debug log.
On Wed, Jan 21, 2009 at 9:53 AM, Rob Charlton
wrote:
> Yes, and yes. I see the DTMF events arriving when I make an incoming call.
>
> I put a breakpoint on switch_channel_dequeue_dtmf() which gets hit when
> I type digits after:
>
> - I originate a call to a sip extension
> - I receive a call from a sip extension
> - I receive a call from our sip trunk (from PSTN)
>
> The breakpoint doesn't get hit when I type digits after:
>
> - I originate a call via our sip trunk (to the PSTN)
>
> As regards this:
> > In the latter case, I am still able to pick up DTMF digits if I use
> > javascript session.collectInput() - so it appears as if the DTMF tones
> > are being recognised by Freeswitch, but no events sent.
> I must have been dreaming - that isn't the case at all -
> session.collectInput doesn't get any digits at all.
>
> We use the same SIP trunk with asterisk and that _does_ pick up DTMF
> tones for outbound PSTN calls.
>
> Thanks
>
> Rob
>
>
> Anthony Minessale wrote:
> > Did you try enabling all events and making a single call to make sure
> > you are subscribed to the right event?
> >
> >
> > On Wed, Jan 21, 2009 at 6:38 AM, Rob Charlton
> > >
> > wrote:
> >
> > Hi,
> >
> > I'm using mod_event_socket to listen for DTMF events. I have Nokia
> > handsets registered as SIP clients over Wifi, as well as a SIP trunk
> > providing incoming PSTN calls to a range of DDIs and outgoing PSTN
> > calls.
> >
> > If I make an incoming (PSTN or SIP) call and answer it, I always see
> > DTMF events via mod_event_socket.
> > If I make an outgoing call direct to a handset using SIP then I
> > see DTMF
> > events - e.g. originate user/1000 &park()
> > If I make an outgoing call via PSTN then I don't see DTMF events e.g.
> > originate sofia/gateway/mygateway/myphonenumber &park() or
> > &javascript(myscript.js);
> >
> > In the latter case, I am still able to pick up DTMF digits if I use
> > javascript session.collectInput() - so it appears as if the DTMF
> tones
> > are being recognised by Freeswitch, but no events sent.
> >
> > What am I doing wrong?
> >
> > Cheers
> >
> > Rob
> >
> > --
> > Rob Charlton
> > Savage Minds Ltd
> >
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090121/48be6fa5/attachment-0001.html
From dujinfang at gmail.com Wed Jan 21 15:15:11 2009
From: dujinfang at gmail.com (dujinfang)
Date: Thu, 22 Jan 2009 07:15:11 +0800
Subject: [Freeswitch-dev] New wiki page needs your attention!
In-Reply-To: <87f2f3b90901210639i76555732t4f688f689cc890d4@mail.gmail.com>
References: <87f2f3b90901202111x3811ba36ve2ec3ecda31c6855@mail.gmail.com>
<8E79CA7D-5CF3-4C04-8DE1-F464E9E9BEA6@gmail.com>
<87f2f3b90901210639i76555732t4f688f689cc890d4@mail.gmail.com>
Message-ID:
Thanks, silly question though :)
On Jan 21, 2009, at 10:39 PM, Michael Collins wrote:
> On Tue, Jan 20, 2009 at 10:50 PM, dujinfang
> wrote:
>> Great! but how can I login into pastebin?
>
> Look closely at the login dialog box and you'll see the answer to your
> question! ;)
> -MC
>
>>
>> On Jan 21, 2009, at 1:11 PM, Michael Collins wrote:
>>
>>> Hello FreeSWITCHers!
>>>
>>> I'm putting the finishing touches on a wiki page that we hope will
>>> make it easier for users to request help and for the dev team and
>>> power users to digest and process those requests. What I need first
>>> and foremost is for everyone to please read this page:
>>> http://wiki.freeswitch.org/wiki/Reporting_Bugs
>>>
>>> Please give me feedback. Put yourself in the shoes of a relative
>>> newbie. Is the information easy to follow? On the flip side, if you
>>> wanted to help someone, ask yourself, if they follow the steps on
>>> this
>>> page will that suffice? Are there places that need improvement? Can
>>> you think of anything else that can be added?
>>>
>>> NOTE: I'm still working on the TDM/OpenZAP section as well as the
>>> sections on scripting, event socket, elements of a jira ticket, etc.
>>> If you have suggestions for content on those pages please email me
>>> off
>>> list or hop and and fill in some of the blanks.
>>>
>>> The core development team really appreciates all of your help. Now
>>> that FS is growing like mad we are at the point where it is
>>> imperative
>>> that we have reliable documentation for new ones so that the
>>> developers and other experts can focus on advancing the project even
>>> further. Let's all lend a hand by improving the documentation.
>>>
>>> Thanks again!
>>> -MC (mercutioviz)
>>>
>>> _______________________________________________
>>> Freeswitch-dev mailing list
>>> Freeswitch-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> http://www.freeswitch.org
>>
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
>> dev
>> http://www.freeswitch.org
>>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From seven at idapted.com Wed Jan 21 20:30:23 2009
From: seven at idapted.com (seven du)
Date: Thu, 22 Jan 2009 12:30:23 +0800
Subject: [Freeswitch-dev] Recoding G729 raw payload in FreeSWITCH and G729
decoding
Message-ID:
Hi FreeSWITCHers,
1) FreeSWITCH support G729 codec in passthrough mode, it is normally
engough if both call-legs suport G729. But there is no way to do
recording if you can't decode it. I wrote a small module called
mod_recpld. The idea is to record the raw payload in rtp packets to
files, and decode them into 3rd party converters.
See details at: http://code.google.com/p/mod-recpld/
2) EasyG729A implemented by http://imtelephone.com can be free of use
on research purpose, I made a wrapper so it can be used in FreeSWITCH.
See deatila at: http://code.google.com/p/libg729/
The code is not good but just works.
BTW, I think it maybe easy to store codes on FreeSWITCH svn than on
google code, how can I become a developer? Can I get a svn access on
svn.freeswitch.org and own a branch?
From ludovic.fouquet at bewan.com Thu Jan 22 02:43:42 2009
From: ludovic.fouquet at bewan.com (ludovic)
Date: Thu, 22 Jan 2009 11:43:42 +0100
Subject: [Freeswitch-dev] switch_frame structure question
In-Reply-To: <191c3a030901210954y41acc7c7r952d5021ddb5a5c8@mail.gmail.com>
References: <49775EE2.1060203@bewan.com>
<191c3a030901210954y41acc7c7r952d5021ddb5a5c8@mail.gmail.com>
Message-ID: <49784DDE.5050509@bewan.com>
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090122/55151d73/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bewan100.jpg
Type: image/jpeg
Size: 3963 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090122/55151d73/attachment.jpg
From seven at idapted.com Fri Jan 23 01:06:21 2009
From: seven at idapted.com (seven du)
Date: Fri, 23 Jan 2009 17:06:21 +0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
Message-ID: <7CD31F58-816C-4CEA-BEA2-05AB5BE6770B@idapted.com>
hi Giovanni,
I just made some improve on skypiax, so you can call skypiax/ANY/
another_skypename, it will automatically chose an available channel.
not good, but it works.
put the following code directly before the following line:
for (i = 0; i < SKYPIAX_MAX_INTERFACES; i++) {
And change the above line to
for (i = 0; !found && i < SKYPIAX_MAX_INTERFACES; i++) {
It should be like:
if (strncmp("ANY", interface_name, strlen(interface_name)) == 0) {
//find an available one, allowing call like originate skypiax/
ANY/another_skypename
DEBUGA_SKYPE("Finding one available skype interface\n",
SKYPIAX_P_LOG);
for (i = 0; !found && i < SKYPIAX_MAX_INTERFACES; i++) {
if (strlen(globals.SKYPIAX_INTERFACES[i].name)) {
int skype_state = 0;
tech_pvt = &globals.SKYPIAX_INTERFACES[i];
skype_state = tech_pvt->interface_state;
DEBUGA_SKYPE("skype interface: %d, name: %s, state: %d\n",
SKYPIAX_P_LOG,
i, globals.SKYPIAX_INTERFACES[i].name, skype_state);
if (SKYPIAX_STATE_DOWN == skype_state || 0 == skype_state) {
found=1;
break;
}
}
}
}
for (i = 0; !found && i < SKYPIAX_MAX_INTERFACES; i++) {
Regards,
Seven
From intralanman at freeswitch.org Fri Jan 23 07:42:05 2009
From: intralanman at freeswitch.org (Raymond Chandler)
Date: Fri, 23 Jan 2009 09:42:05 -0600
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To: <7CD31F58-816C-4CEA-BEA2-05AB5BE6770B@idapted.com>
References: <7CD31F58-816C-4CEA-BEA2-05AB5BE6770B@idapted.com>
Message-ID: <4979E54D.5060903@freeswitch.org>
seven du wrote:
> hi Giovanni,
>
> I just made some improve on skypiax, so you can call skypiax/ANY/
> another_skypename, it will automatically chose an available channel.
> not good, but it works.
>
> put the following code directly before the following line:
>
the best way to submit improvements is to post a patch on jira. if you
haven't yet, create an account there. svn diff > /tmp/my.patch should
give you a nice patch to post on the tracker
-Ray
From msc at freeswitch.org Fri Jan 23 08:00:41 2009
From: msc at freeswitch.org (Michael Collins)
Date: Fri, 23 Jan 2009 08:00:41 -0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To: <4979E54D.5060903@freeswitch.org>
References: <7CD31F58-816C-4CEA-BEA2-05AB5BE6770B@idapted.com>
<4979E54D.5060903@freeswitch.org>
Message-ID: <87f2f3b90901230800q66111a62qfbd1ea683333f80e@mail.gmail.com>
Don't forget that all patches are text files and should have a .txt
ending and that diffs should always be done from the root of the
source tree. :)
-MC
On Fri, Jan 23, 2009 at 7:42 AM, Raymond Chandler
wrote:
> seven du wrote:
>> hi Giovanni,
>>
>> I just made some improve on skypiax, so you can call skypiax/ANY/
>> another_skypename, it will automatically chose an available channel.
>> not good, but it works.
>>
>> put the following code directly before the following line:
>>
> the best way to submit improvements is to post a patch on jira. if you
> haven't yet, create an account there. svn diff > /tmp/my.patch should
> give you a nice patch to post on the tracker
>
> -Ray
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
From r.zagler at zakotel.com Sat Jan 24 09:08:55 2009
From: r.zagler at zakotel.com (Roland Zagler)
Date: Sat, 24 Jan 2009 18:08:55 +0100
Subject: [Freeswitch-dev] Trouble registering SIP client
Message-ID: <850935DD0336FC4B98C006D9CC72B8154076CA@fog2k01.fog.rack>
Hi everybody,
I am writing a Java SIP ua (based on mjsip 1.6) that is supposed to
register to freeswitch.
Unfortunately I am not able to register and I cannot find the problem,
although a softphone
(X-Lite) CAN register by using the same creds. The credentials
are:
SIP username: roland
SIP password: roland
SIP realm: 10.0.4.60
There is no acl activated.
The freeswitch versions I have tested are 1.0.2 and the trunk of today
(11480).
I hope someone on the list could take a look on the trace I attached
below and give
me a hint what goes wrong.
Thank you very much in advance.
Roland
tport_wakeup_pri(0x81042c8): events IN
tport_recv_event(0x81042c8)
tport_recv_iovec(0x81042c8) msg 0xb3415ed8 from (udp/10.0.4.60:5060) has
373 bytes, veclen = 1
recv 373 bytes from udp/[10.0.2.51]:32816 at 17:01:30.461289:
------------------------------------------------------------------------
REGISTER sip:10.0.4.60:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
Max-Forwards: 70
To: "roland"
From: "roland" ;tag=z9hG4bK84430669
Call-ID: 218108472980 at 10.0.2.51
CSeq: 1 REGISTER
Contact:
Expires: 3600
User-Agent: ZaKoSIP v1.2
Content-Length: 0
------------------------------------------------------------------------
tport_deliver(0x81042c8): msg 0xb3415ed8 (373 bytes) from
udp/10.0.2.51:5060/sip next=(nil)
nta: received REGISTER sip:10.0.4.60:5060 SIP/2.0 (CSeq 1)
nta: canonizing sip:10.0.4.60:5060 with contact
nta: REGISTER (1) going to a default leg
nua: nua_stack_process_request: entering
nua: nh_create: entering
nua: nh_create_handle: entering
nua: nua_stack_set_params: entering
soa_clone(static::0x80fe270, 0x80f9448, 0xb3402b30) called
soa_set_params(static::0xb341ba78, ...) called
nua: nua_application_event: entering
nua: nua_respond: entering
nua(0xb3402b30): sent signal r_respond
2009-01-24 18:01:30 [DEBUG] sofia_reg.c:883 sofia_reg_handle_register()
Requesting Registration from: [roland at 10.0.4.60]
nua: nua_handle_destroy: entering
nua(0xb3402b30): sent signal r_destroy
nua: nua_handle_magic: entering
nua: nua_handle_destroy: entering
nua: nua_stack_set_params: entering
soa_set_params(static::0xb341ba78, ...) called
tport_tsend(0x81042c8) tpn = UDP/10.0.2.51:32816
tport_resolve addrinfo = 10.0.2.51:32816
tport_by_addrinfo(0x81042c8): not found by name UDP/10.0.2.51:32816
tport_vsend returned 620
send 620 bytes to udp/[10.0.2.51]:32816 at 17:01:30.586602:
------------------------------------------------------------------------
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.0.2.51:32816;rport=32816;branch=z9hG4bK33562
From: "roland" ;tag=z9hG4bK84430669
To: "roland" ;tag=aZa7matyy5Uca
Call-ID: 218108472980 at 10.0.2.51
CSeq: 1 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="10.0.4.60",
nonce="a5608fcc-ea38-11dd-8437-6d678b851040", algorithm=MD5, qop="auth"
Content-Length: 0
------------------------------------------------------------------------
nta: sent 401 Unauthorized for REGISTER (1)
nta: timer set to 32000 ms
nta_leg_destroy((nil))
soa_destroy(static::0xb341ba78) called
tport_wakeup_pri(0x81042c8): events IN
tport_recv_event(0x81042c8)
tport_recv_iovec(0x81042c8) msg 0xb3444050 from (udp/10.0.4.60:5060) has
575 bytes, veclen = 1
recv 575 bytes from udp/[10.0.2.51]:32816 at 17:01:30.614376:
------------------------------------------------------------------------
REGISTER sip:10.0.4.60:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
Max-Forwards: 70
To: "roland"
From: "roland" ;tag=z9hG4bK84430669
Call-ID: 218108472980 at 10.0.2.51
CSeq: 2 REGISTER
Contact:
Expires: 3600
User-Agent: ZaKoSIP v1.2
Authorization: Digest username="roland", realm="10.0.4.60",
nonce="a5608fcc-ea38-11dd-8437-6d678b851040", uri="sip:10.0.4.60:5060",
algorithm=MD5, qop=auth, response="2f26d787c68ac2a342a4b1d7bb49a1a0"
Content-Length: 0
------------------------------------------------------------------------
tport_deliver(0x81042c8): msg 0xb3444050 (575 bytes) from
udp/10.0.2.51:5060/sip next=(nil)
nta: received REGISTER sip:10.0.4.60:5060 SIP/2.0 (CSeq 2)
nta: canonizing sip:10.0.4.60:5060 with contact
nta: REGISTER (2) going to a default leg
nua: nua_stack_process_request: entering
nua: nh_create: entering
nua: nh_create_handle: entering
nua: nua_stack_set_params: entering
soa_clone(static::0x80fe270, 0x80f9448, 0xb3445690) called
soa_set_params(static::0xb341ba78, ...) called
nua: nua_application_event: entering
2009-01-24 18:01:30 [DEBUG] sofia_reg.c:869 sofia_reg_handle_register()
Send challenge for [roland at 10.0.4.60]
nua: nua_respond: entering
nua(0xb3445690): sent signal r_respond
nua: nua_handle_destroy: entering
nua(0xb3445690): sent signal r_destroy
nua: nua_handle_magic: entering
nua: nua_handle_destroy: entering
nua: nua_stack_set_params: entering
soa_set_params(static::0xb341ba78, ...) called
tport_tsend(0x81042c8) tpn = UDP/10.0.2.51:32816
tport_resolve addrinfo = 10.0.2.51:32816
tport_by_addrinfo(0x81042c8): not found by name UDP/10.0.2.51:32816
tport_vsend returned 500
send 500 bytes to udp/[10.0.2.51]:32816 at 17:01:30.617125:
------------------------------------------------------------------------
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 10.0.2.51:32816;rport=32816;branch=z9hG4bK33562
From: "roland" ;tag=z9hG4bK84430669
To: "roland" ;tag=B83Zp5a2UejZN
Call-ID: 218108472980 at 10.0.2.51
CSeq: 2 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: timer, precondition, path, replaces
Content-Length: 0
------------------------------------------------------------------------
nta: sent 403 Forbidden for REGISTER (2)
nta_leg_destroy((nil))
soa_destroy(static::0xb341ba78) called
From mike at jerris.com Sat Jan 24 11:19:20 2009
From: mike at jerris.com (Michael Jerris)
Date: Sat, 24 Jan 2009 14:19:20 -0500
Subject: [Freeswitch-dev] Trouble registering SIP client
In-Reply-To: <850935DD0336FC4B98C006D9CC72B8154076CA@fog2k01.fog.rack>
References: <850935DD0336FC4B98C006D9CC72B8154076CA@fog2k01.fog.rack>
Message-ID: <3E6CCD32-B23A-4507-80A4-D3684CF170CF@jerris.com>
can you post the trace that works? I have a feeling your setting up
your auth hash that you are sending wrong, perhaps the code where you
build that would help someone see the error.
Mike
On Jan 24, 2009, at 12:08 PM, Roland Zagler wrote:
> Hi everybody,
>
> I am writing a Java SIP ua (based on mjsip 1.6) that is supposed to
> register to freeswitch.
> Unfortunately I am not able to register and I cannot find the problem,
> although a softphone
> (X-Lite) CAN register by using the same creds. The credentials
> are:
>
> SIP username: roland
> SIP password: roland
> SIP realm: 10.0.4.60
>
> There is no acl activated.
>
> The freeswitch versions I have tested are 1.0.2 and the trunk of today
> (11480).
>
> I hope someone on the list could take a look on the trace I attached
> below and give
> me a hint what goes wrong.
>
> Thank you very much in advance.
>
> Roland
>
>
>
>
> tport_wakeup_pri(0x81042c8): events IN
> tport_recv_event(0x81042c8)
> tport_recv_iovec(0x81042c8) msg 0xb3415ed8 from (udp/10.0.4.60:5060)
> has
> 373 bytes, veclen = 1
> recv 373 bytes from udp/[10.0.2.51]:32816 at 17:01:30.461289:
>
> ------------------------------------------------------------------------
> REGISTER sip:10.0.4.60:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
> Max-Forwards: 70
> To: "roland"
> From: "roland" ;tag=z9hG4bK84430669
> Call-ID: 218108472980 at 10.0.2.51
> CSeq: 1 REGISTER
> Contact:
> Expires: 3600
> User-Agent: ZaKoSIP v1.2
> Content-Length: 0
>
>
> ------------------------------------------------------------------------
> tport_deliver(0x81042c8): msg 0xb3415ed8 (373 bytes) from
> udp/10.0.2.51:5060/sip next=(nil)
> nta: received REGISTER sip:10.0.4.60:5060 SIP/2.0 (CSeq 1)
> nta: canonizing sip:10.0.4.60:5060 with contact
> nta: REGISTER (1) going to a default leg
> nua: nua_stack_process_request: entering
> nua: nh_create: entering
> nua: nh_create_handle: entering
> nua: nua_stack_set_params: entering
> soa_clone(static::0x80fe270, 0x80f9448, 0xb3402b30) called
> soa_set_params(static::0xb341ba78, ...) called
> nua: nua_application_event: entering
> nua: nua_respond: entering
> nua(0xb3402b30): sent signal r_respond
> 2009-01-24 18:01:30 [DEBUG] sofia_reg.c:883
> sofia_reg_handle_register()
> Requesting Registration from: [roland at 10.0.4.60]
> nua: nua_handle_destroy: entering
> nua(0xb3402b30): sent signal r_destroy
> nua: nua_handle_magic: entering
> nua: nua_handle_destroy: entering
> nua: nua_stack_set_params: entering
> soa_set_params(static::0xb341ba78, ...) called
> tport_tsend(0x81042c8) tpn = UDP/10.0.2.51:32816
> tport_resolve addrinfo = 10.0.2.51:32816
> tport_by_addrinfo(0x81042c8): not found by name UDP/10.0.2.51:32816
> tport_vsend returned 620
> send 620 bytes to udp/[10.0.2.51]:32816 at 17:01:30.586602:
>
> ------------------------------------------------------------------------
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP 10.0.2.51:32816;rport=32816;branch=z9hG4bK33562
> From: "roland" ;tag=z9hG4bK84430669
> To: "roland" ;tag=aZa7matyy5Uca
> Call-ID: 218108472980 at 10.0.2.51
> CSeq: 1 REGISTER
> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> Supported: timer, precondition, path, replaces
> WWW-Authenticate: Digest realm="10.0.4.60",
> nonce="a5608fcc-ea38-11dd-8437-6d678b851040", algorithm=MD5,
> qop="auth"
> Content-Length: 0
>
>
> ------------------------------------------------------------------------
> nta: sent 401 Unauthorized for REGISTER (1)
> nta: timer set to 32000 ms
> nta_leg_destroy((nil))
> soa_destroy(static::0xb341ba78) called
> tport_wakeup_pri(0x81042c8): events IN
> tport_recv_event(0x81042c8)
> tport_recv_iovec(0x81042c8) msg 0xb3444050 from (udp/10.0.4.60:5060)
> has
> 575 bytes, veclen = 1
> recv 575 bytes from udp/[10.0.2.51]:32816 at 17:01:30.614376:
>
> ------------------------------------------------------------------------
> REGISTER sip:10.0.4.60:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
> Max-Forwards: 70
> To: "roland"
> From: "roland" ;tag=z9hG4bK84430669
> Call-ID: 218108472980 at 10.0.2.51
> CSeq: 2 REGISTER
> Contact:
> Expires: 3600
> User-Agent: ZaKoSIP v1.2
> Authorization: Digest username="roland", realm="10.0.4.60",
> nonce="a5608fcc-ea38-11dd-8437-6d678b851040", uri="sip:
> 10.0.4.60:5060",
> algorithm=MD5, qop=auth, response="2f26d787c68ac2a342a4b1d7bb49a1a0"
> Content-Length: 0
>
>
> ------------------------------------------------------------------------
> tport_deliver(0x81042c8): msg 0xb3444050 (575 bytes) from
> udp/10.0.2.51:5060/sip next=(nil)
> nta: received REGISTER sip:10.0.4.60:5060 SIP/2.0 (CSeq 2)
> nta: canonizing sip:10.0.4.60:5060 with contact
> nta: REGISTER (2) going to a default leg
> nua: nua_stack_process_request: entering
> nua: nh_create: entering
> nua: nh_create_handle: entering
> nua: nua_stack_set_params: entering
> soa_clone(static::0x80fe270, 0x80f9448, 0xb3445690) called
> soa_set_params(static::0xb341ba78, ...) called
> nua: nua_application_event: entering
> 2009-01-24 18:01:30 [DEBUG] sofia_reg.c:869
> sofia_reg_handle_register()
> Send challenge for [roland at 10.0.4.60]
> nua: nua_respond: entering
> nua(0xb3445690): sent signal r_respond
> nua: nua_handle_destroy: entering
> nua(0xb3445690): sent signal r_destroy
> nua: nua_handle_magic: entering
> nua: nua_handle_destroy: entering
> nua: nua_stack_set_params: entering
> soa_set_params(static::0xb341ba78, ...) called
> tport_tsend(0x81042c8) tpn = UDP/10.0.2.51:32816
> tport_resolve addrinfo = 10.0.2.51:32816
> tport_by_addrinfo(0x81042c8): not found by name UDP/10.0.2.51:32816
> tport_vsend returned 500
> send 500 bytes to udp/[10.0.2.51]:32816 at 17:01:30.617125:
>
> ------------------------------------------------------------------------
> SIP/2.0 403 Forbidden
> Via: SIP/2.0/UDP 10.0.2.51:32816;rport=32816;branch=z9hG4bK33562
> From: "roland" ;tag=z9hG4bK84430669
> To: "roland" ;tag=B83Zp5a2UejZN
> Call-ID: 218108472980 at 10.0.2.51
> CSeq: 2 REGISTER
> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> Supported: timer, precondition, path, replaces
> Content-Length: 0
>
>
> ------------------------------------------------------------------------
> nta: sent 403 Forbidden for REGISTER (2)
> nta_leg_destroy((nil))
> soa_destroy(static::0xb341ba78) called
From r.zagler at zakotel.com Sat Jan 24 12:07:25 2009
From: r.zagler at zakotel.com (Roland Zagler)
Date: Sat, 24 Jan 2009 21:07:25 +0100
Subject: [Freeswitch-dev] Trouble registering SIP client
In-Reply-To: <3E6CCD32-B23A-4507-80A4-D3684CF170CF@jerris.com>
References: <850935DD0336FC4B98C006D9CC72B8154076CA@fog2k01.fog.rack>
<3E6CCD32-B23A-4507-80A4-D3684CF170CF@jerris.com>
Message-ID: <850935DD0336FC4B98C006D9CC72B8154076CC@fog2k01.fog.rack>
Hi mike,
thanks for taking a look, here is the trace of a softphone called
firefly registering with the same creds,
the only difference is the ip the client runs on, I tested it already to
register from the
same ip, which didn't work. I also tried adding the "cnonce" and "nc"
parameters inside the authorization
header, also without success.
btw: I can register to an asterisk server using the same java client
code without probs.
thx again,
Roland
tport_wakeup_pri(0x80f3580): events IN
tport_recv_event(0x80f3580)
tport_recv_iovec(0x80f3580) msg 0xb34025c8 from (udp/10.0.4.60:5060) has
428 bytes, veclen = 1
recv 428 bytes from udp/[10.0.4.2]:5060 at 20:01:08.463700:
------------------------------------------------------------------------
REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0
To: "roland"
From: "roland";tag=78399c75
Via: SIP/2.0/UDP
10.0.4.2:5060;branch=z9hG4bK-d87543-0b5fac2e346e151d-1--d87543-;rport
Call-ID: f85a4202fd310527 at YXBvbGxv
CSeq: 1 REGISTER
Contact: ;expires=7200
Expires: 7200
Max-Forwards: 70
User-Agent: Firefly 2.0
Content-Length: 0
------------------------------------------------------------------------
tport_deliver(0x80f3580): msg 0xb34025c8 (428 bytes) from
udp/10.0.4.2:5060/sip next=(nil)
nta: received REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0 (CSeq 1)
nta: canonizing sip:10.0.4.60:5060 with contact
nta: REGISTER (1) going to a default leg
nua: nua_stack_process_request: entering
nua: nh_create: entering
nua: nh_create_handle: entering
nua: nua_stack_set_params: entering
soa_clone(static::0x80f1740, 0x80eea10, 0x81258f0) called
soa_set_params(static::0x811b558, ...) called
nua: nua_application_event: entering
nua: nua_respond: entering
nua(0x81258f0): sent signal r_respond
2009-01-24 21:01:08 [DEBUG] sofia_reg.c:883 sofia_reg_handle_register()
Requesting Registration from: [roland at 10.0.4.60]
nua: nua_handle_destroy: entering
nua(0x81258f0): sent signal r_destroy
nua: nua_handle_magic: entering
nua: nua_handle_destroy: entering
nua: nua_stack_set_params: entering
soa_set_params(static::0x811b558, ...) called
tport_tsend(0x80f3580) tpn = UDP/10.0.4.2:5060
tport_resolve addrinfo = 10.0.4.2:5060
tport_by_addrinfo(0x80f3580): not found by name UDP/10.0.4.2:5060
tport_vsend returned 651
send 651 bytes to udp/[10.0.4.2]:5060 at 20:01:08.550818:
------------------------------------------------------------------------
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
10.0.4.2:5060;branch=z9hG4bK-d87543-0b5fac2e346e151d-1--d87543-;rport=50
60
From: "roland";tag=78399c75
To: "roland"
;tag=QmNHXB98gttgB
Call-ID: f85a4202fd310527 at YXBvbGxv
CSeq: 1 REGISTER
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: timer, precondition, path, replaces
WWW-Authenticate: Digest realm="10.0.4.60",
nonce="bd912f5c-ea51-11dd-8d93-318210ee3033", algorithm=MD5, qop="auth"
Content-Length: 0
------------------------------------------------------------------------
nta: sent 401 Unauthorized for REGISTER (1)
nta: timer set to 32000 ms
nta_leg_destroy((nil))
soa_destroy(static::0x811b558) called
tport_wakeup_pri(0x80f3580): events IN
tport_recv_event(0x80f3580)
tport_recv_iovec(0x80f3580) msg 0x812b358 from (udp/10.0.4.60:5060) has
668 bytes, veclen = 1
recv 668 bytes from udp/[10.0.4.2]:5060 at 20:01:08.553542:
------------------------------------------------------------------------
REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0
To: "roland"
From: "roland";tag=78399c75
Via: SIP/2.0/UDP
10.0.4.2:5060;branch=z9hG4bK-d87543-f16d4916bb41f15a-1--d87543-;rport
Call-ID: f85a4202fd310527 at YXBvbGxv
CSeq: 2 REGISTER
Contact: ;expires=7200
Expires: 7200
Max-Forwards: 70
User-Agent: Firefly 2.0
Authorization: Digest
username="roland",realm="10.0.4.60",nonce="bd912f5c-ea51-11dd-8d93-31821
0ee3033",uri="sip:10.0.4.60:5060;transport=udp",response="f25e2b5a110923
4bae13b5976abe3129",cnonce="137481EB",nc=00000001,qop=auth,algorithm=MD5
Content-Length: 0
------------------------------------------------------------------------
tport_deliver(0x80f3580): msg 0x812b358 (668 bytes) from
udp/10.0.4.2:5060/sip next=(nil)
nta: received REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0 (CSeq 2)
nta: canonizing sip:10.0.4.60:5060 with contact
nta: REGISTER (2) going to a default leg
nua: nua_stack_process_request: entering
nua: nh_create: entering
nua: nh_create_handle: entering
nua: nua_stack_set_params: entering
soa_clone(static::0x80f1740, 0x80eea10, 0xb342a660) called
soa_set_params(static::0xb342fc18, ...) called
nua: nua_application_event: entering
2009-01-24 21:01:08 [DEBUG] sofia_reg.c:971 sofia_reg_handle_register()
Register:
From: [roland at 10.0.4.60]
Contact: ["roland" ]
Expires: [7200]
nua: nua_respond: entering
nua(0xb342a660): sent signal r_respond
nua: nua_handle_destroy: entering
nua(0xb342a660): sent signal r_destroy
nua: nua_handle_magic: entering
nua: nua_handle_destroy: entering
nua: nua_stack_set_params: entering
soa_set_params(static::0xb342fc18, ...) called
tport_tsend(0x80f3580) tpn = UDP/10.0.4.2:5060
tport_resolve addrinfo = 10.0.4.2:5060
tport_by_addrinfo(0x80f3580): not found by name UDP/10.0.4.2:5060
tport_vsend returned 611
send 611 bytes to udp/[10.0.4.2]:5060 at 20:01:08.559893:
------------------------------------------------------------------------
SIP/2.0 200 OK
Via: SIP/2.0/UDP
10.0.4.2:5060;branch=z9hG4bK-d87543-f16d4916bb41f15a-1--d87543-;rport=50
60
From: "roland";tag=78399c75
To: "roland"
;tag=rXeaZ6Sce3g3p
Call-ID: f85a4202fd310527 at YXBvbGxv
CSeq: 2 REGISTER
Contact: ;expires=7200
Date: Sat, 24 Jan 2009 20:01:08 GMT
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
Supported: timer, precondition, path, replaces
Content-Length: 0
------------------------------------------------------------------------
nta: sent 200 OK for REGISTER (2)
nta_leg_destroy((nil))
soa_destroy(static::0xb342fc18) called
-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of
Michael Jerris
Sent: Saturday, January 24, 2009 8:19 PM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Trouble registering SIP client
can you post the trace that works? I have a feeling your setting up
your auth hash that you are sending wrong, perhaps the code where you
build that would help someone see the error.
Mike
On Jan 24, 2009, at 12:08 PM, Roland Zagler wrote:
> Hi everybody,
>
> I am writing a Java SIP ua (based on mjsip 1.6) that is supposed to
> register to freeswitch.
> Unfortunately I am not able to register and I cannot find the problem,
> although a softphone
> (X-Lite) CAN register by using the same creds. The credentials
> are:
>
> SIP username: roland
> SIP password: roland
> SIP realm: 10.0.4.60
>
> There is no acl activated.
>
> The freeswitch versions I have tested are 1.0.2 and the trunk of today
> (11480).
>
> I hope someone on the list could take a look on the trace I attached
> below and give
> me a hint what goes wrong.
>
> Thank you very much in advance.
>
> Roland
>
>
>
>
> tport_wakeup_pri(0x81042c8): events IN
> tport_recv_event(0x81042c8)
> tport_recv_iovec(0x81042c8) msg 0xb3415ed8 from (udp/10.0.4.60:5060)
> has
> 373 bytes, veclen = 1
> recv 373 bytes from udp/[10.0.2.51]:32816 at 17:01:30.461289:
>
>
------------------------------------------------------------------------
> REGISTER sip:10.0.4.60:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
> Max-Forwards: 70
> To: "roland"
> From: "roland" ;tag=z9hG4bK84430669
> Call-ID: 218108472980 at 10.0.2.51
> CSeq: 1 REGISTER
> Contact:
> Expires: 3600
> User-Agent: ZaKoSIP v1.2
> Content-Length: 0
>
>
>
------------------------------------------------------------------------
> tport_deliver(0x81042c8): msg 0xb3415ed8 (373 bytes) from
> udp/10.0.2.51:5060/sip next=(nil)
> nta: received REGISTER sip:10.0.4.60:5060 SIP/2.0 (CSeq 1)
> nta: canonizing sip:10.0.4.60:5060 with contact
> nta: REGISTER (1) going to a default leg
> nua: nua_stack_process_request: entering
> nua: nh_create: entering
> nua: nh_create_handle: entering
> nua: nua_stack_set_params: entering
> soa_clone(static::0x80fe270, 0x80f9448, 0xb3402b30) called
> soa_set_params(static::0xb341ba78, ...) called
> nua: nua_application_event: entering
> nua: nua_respond: entering
> nua(0xb3402b30): sent signal r_respond
> 2009-01-24 18:01:30 [DEBUG] sofia_reg.c:883
> sofia_reg_handle_register()
> Requesting Registration from: [roland at 10.0.4.60]
> nua: nua_handle_destroy: entering
> nua(0xb3402b30): sent signal r_destroy
> nua: nua_handle_magic: entering
> nua: nua_handle_destroy: entering
> nua: nua_stack_set_params: entering
> soa_set_params(static::0xb341ba78, ...) called
> tport_tsend(0x81042c8) tpn = UDP/10.0.2.51:32816
> tport_resolve addrinfo = 10.0.2.51:32816
> tport_by_addrinfo(0x81042c8): not found by name UDP/10.0.2.51:32816
> tport_vsend returned 620
> send 620 bytes to udp/[10.0.2.51]:32816 at 17:01:30.586602:
>
>
------------------------------------------------------------------------
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP 10.0.2.51:32816;rport=32816;branch=z9hG4bK33562
> From: "roland" ;tag=z9hG4bK84430669
> To: "roland" ;tag=aZa7matyy5Uca
> Call-ID: 218108472980 at 10.0.2.51
> CSeq: 1 REGISTER
> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> Supported: timer, precondition, path, replaces
> WWW-Authenticate: Digest realm="10.0.4.60",
> nonce="a5608fcc-ea38-11dd-8437-6d678b851040", algorithm=MD5,
> qop="auth"
> Content-Length: 0
>
>
>
------------------------------------------------------------------------
> nta: sent 401 Unauthorized for REGISTER (1)
> nta: timer set to 32000 ms
> nta_leg_destroy((nil))
> soa_destroy(static::0xb341ba78) called
> tport_wakeup_pri(0x81042c8): events IN
> tport_recv_event(0x81042c8)
> tport_recv_iovec(0x81042c8) msg 0xb3444050 from (udp/10.0.4.60:5060)
> has
> 575 bytes, veclen = 1
> recv 575 bytes from udp/[10.0.2.51]:32816 at 17:01:30.614376:
>
>
------------------------------------------------------------------------
> REGISTER sip:10.0.4.60:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
> Max-Forwards: 70
> To: "roland"
> From: "roland" ;tag=z9hG4bK84430669
> Call-ID: 218108472980 at 10.0.2.51
> CSeq: 2 REGISTER
> Contact:
> Expires: 3600
> User-Agent: ZaKoSIP v1.2
> Authorization: Digest username="roland", realm="10.0.4.60",
> nonce="a5608fcc-ea38-11dd-8437-6d678b851040", uri="sip:
> 10.0.4.60:5060",
> algorithm=MD5, qop=auth, response="2f26d787c68ac2a342a4b1d7bb49a1a0"
> Content-Length: 0
>
>
>
------------------------------------------------------------------------
> tport_deliver(0x81042c8): msg 0xb3444050 (575 bytes) from
> udp/10.0.2.51:5060/sip next=(nil)
> nta: received REGISTER sip:10.0.4.60:5060 SIP/2.0 (CSeq 2)
> nta: canonizing sip:10.0.4.60:5060 with contact
> nta: REGISTER (2) going to a default leg
> nua: nua_stack_process_request: entering
> nua: nh_create: entering
> nua: nh_create_handle: entering
> nua: nua_stack_set_params: entering
> soa_clone(static::0x80fe270, 0x80f9448, 0xb3445690) called
> soa_set_params(static::0xb341ba78, ...) called
> nua: nua_application_event: entering
> 2009-01-24 18:01:30 [DEBUG] sofia_reg.c:869
> sofia_reg_handle_register()
> Send challenge for [roland at 10.0.4.60]
> nua: nua_respond: entering
> nua(0xb3445690): sent signal r_respond
> nua: nua_handle_destroy: entering
> nua(0xb3445690): sent signal r_destroy
> nua: nua_handle_magic: entering
> nua: nua_handle_destroy: entering
> nua: nua_stack_set_params: entering
> soa_set_params(static::0xb341ba78, ...) called
> tport_tsend(0x81042c8) tpn = UDP/10.0.2.51:32816
> tport_resolve addrinfo = 10.0.2.51:32816
> tport_by_addrinfo(0x81042c8): not found by name UDP/10.0.2.51:32816
> tport_vsend returned 500
> send 500 bytes to udp/[10.0.2.51]:32816 at 17:01:30.617125:
>
>
------------------------------------------------------------------------
> SIP/2.0 403 Forbidden
> Via: SIP/2.0/UDP 10.0.2.51:32816;rport=32816;branch=z9hG4bK33562
> From: "roland" ;tag=z9hG4bK84430669
> To: "roland" ;tag=B83Zp5a2UejZN
> Call-ID: 218108472980 at 10.0.2.51
> CSeq: 2 REGISTER
> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> Supported: timer, precondition, path, replaces
> Content-Length: 0
>
>
>
------------------------------------------------------------------------
> nta: sent 403 Forbidden for REGISTER (2)
> nta_leg_destroy((nil))
> soa_destroy(static::0xb341ba78) called
_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
From anthony.minessale at gmail.com Sat Jan 24 16:15:49 2009
From: anthony.minessale at gmail.com (Anthony Minessale)
Date: Sat, 24 Jan 2009 18:15:49 -0600
Subject: [Freeswitch-dev] Trouble registering SIP client
In-Reply-To: <850935DD0336FC4B98C006D9CC72B8154076CC@fog2k01.fog.rack>
References: <850935DD0336FC4B98C006D9CC72B8154076CA@fog2k01.fog.rack>
<3E6CCD32-B23A-4507-80A4-D3684CF170CF@jerris.com>
<850935DD0336FC4B98C006D9CC72B8154076CC@fog2k01.fog.rack>
Message-ID: <191c3a030901241615t3ebce2b1r2bf32c7f19ad0a@mail.gmail.com>
consider this code:
This is what we do to auth: say your uri is sip:bar.com
first we compute uri digest which is the md5 hash of the string
REGISTER:sip:bar.com
Then depending on what you sent us we do another md5 hash with the following
info:
if (nc && cnonce && qop) {
input2 = switch_mprintf("%q:%q:%q:%q:%q:%q", a1_hash, nonce, nc,
cnonce, qop, uridigest);
} else {
input2 = switch_mprintf("%q:%q:%q", a1_hash, nonce, uridigest);
}
On Sat, Jan 24, 2009 at 2:07 PM, Roland Zagler wrote:
> Hi mike,
>
> thanks for taking a look, here is the trace of a softphone called
> firefly registering with the same creds,
> the only difference is the ip the client runs on, I tested it already to
> register from the
> same ip, which didn't work. I also tried adding the "cnonce" and "nc"
> parameters inside the authorization
> header, also without success.
>
> btw: I can register to an asterisk server using the same java client
> code without probs.
>
> thx again,
> Roland
>
>
>
> tport_wakeup_pri(0x80f3580): events IN
> tport_recv_event(0x80f3580)
> tport_recv_iovec(0x80f3580) msg 0xb34025c8 from (udp/10.0.4.60:5060) has
> 428 bytes, veclen = 1
> recv 428 bytes from udp/[10.0.4.2]:5060 at 20:01:08.463700:
>
> ------------------------------------------------------------------------
> REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0
> To: "roland"
> From: "roland"
> >;tag=78399c75
> Via: SIP/2.0/UDP
> 10.0.4.2:5060;branch=z9hG4bK-d87543-0b5fac2e346e151d-1--d87543-;rport
> Call-ID: f85a4202fd310527 at YXBvbGxv
> CSeq: 1 REGISTER
> Contact: ;expires=7200
> Expires: 7200
> Max-Forwards: 70
> User-Agent: Firefly 2.0
> Content-Length: 0
>
>
> ------------------------------------------------------------------------
> tport_deliver(0x80f3580): msg 0xb34025c8 (428 bytes) from
> udp/10.0.4.2:5060/sip next=(nil)
> nta: received REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0 (CSeq 1)
> nta: canonizing sip:10.0.4.60:5060 with contact
> nta: REGISTER (1) going to a default leg
> nua: nua_stack_process_request: entering
> nua: nh_create: entering
> nua: nh_create_handle: entering
> nua: nua_stack_set_params: entering
> soa_clone(static::0x80f1740, 0x80eea10, 0x81258f0) called
> soa_set_params(static::0x811b558, ...) called
> nua: nua_application_event: entering
> nua: nua_respond: entering
> nua(0x81258f0): sent signal r_respond
> 2009-01-24 21:01:08 [DEBUG] sofia_reg.c:883 sofia_reg_handle_register()
> Requesting Registration from: [roland at 10.0.4.60]
> nua: nua_handle_destroy: entering
> nua(0x81258f0): sent signal r_destroy
> nua: nua_handle_magic: entering
> nua: nua_handle_destroy: entering
> nua: nua_stack_set_params: entering
> soa_set_params(static::0x811b558, ...) called
> tport_tsend(0x80f3580) tpn = UDP/10.0.4.2:5060
> tport_resolve addrinfo = 10.0.4.2:5060
> tport_by_addrinfo(0x80f3580): not found by name UDP/10.0.4.2:5060
> tport_vsend returned 651
> send 651 bytes to udp/[10.0.4.2]:5060 at 20:01:08.550818:
>
> ------------------------------------------------------------------------
> SIP/2.0 401 Unauthorized
> Via: SIP/2.0/UDP
> 10.0.4.2:5060;branch=z9hG4bK-d87543-0b5fac2e346e151d-1--d87543-;rport=50
> 60
> From: "roland"
> >;tag=78399c75
> To: "roland"
> ;tag=QmNHXB98gttgB
> Call-ID: f85a4202fd310527 at YXBvbGxv
> CSeq: 1 REGISTER
> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> Supported: timer, precondition, path, replaces
> WWW-Authenticate: Digest realm="10.0.4.60",
> nonce="bd912f5c-ea51-11dd-8d93-318210ee3033", algorithm=MD5, qop="auth"
> Content-Length: 0
>
>
> ------------------------------------------------------------------------
> nta: sent 401 Unauthorized for REGISTER (1)
> nta: timer set to 32000 ms
> nta_leg_destroy((nil))
> soa_destroy(static::0x811b558) called
> tport_wakeup_pri(0x80f3580): events IN
> tport_recv_event(0x80f3580)
> tport_recv_iovec(0x80f3580) msg 0x812b358 from (udp/10.0.4.60:5060) has
> 668 bytes, veclen = 1
> recv 668 bytes from udp/[10.0.4.2]:5060 at 20:01:08.553542:
>
> ------------------------------------------------------------------------
> REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0
> To: "roland"
> From: "roland"
> >;tag=78399c75
> Via: SIP/2.0/UDP
> 10.0.4.2:5060;branch=z9hG4bK-d87543-f16d4916bb41f15a-1--d87543-;rport
> Call-ID: f85a4202fd310527 at YXBvbGxv
> CSeq: 2 REGISTER
> Contact: ;expires=7200
> Expires: 7200
> Max-Forwards: 70
> User-Agent: Firefly 2.0
> Authorization: Digest
> username="roland",realm="10.0.4.60",nonce="bd912f5c-ea51-11dd-8d93-31821
> 0ee3033",uri="sip:10.0.4.60:5060;transport=udp",response="f25e2b5a110923
> 4bae13b5976abe3129",cnonce="137481EB",nc=00000001,qop=auth,algorithm=MD5
> Content-Length: 0
>
>
> ------------------------------------------------------------------------
> tport_deliver(0x80f3580): msg 0x812b358 (668 bytes) from
> udp/10.0.4.2:5060/sip next=(nil)
> nta: received REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0 (CSeq 2)
> nta: canonizing sip:10.0.4.60:5060 with contact
> nta: REGISTER (2) going to a default leg
> nua: nua_stack_process_request: entering
> nua: nh_create: entering
> nua: nh_create_handle: entering
> nua: nua_stack_set_params: entering
> soa_clone(static::0x80f1740, 0x80eea10, 0xb342a660) called
> soa_set_params(static::0xb342fc18, ...) called
> nua: nua_application_event: entering
> 2009-01-24 21:01:08 [DEBUG] sofia_reg.c:971 sofia_reg_handle_register()
> Register:
> From: [roland at 10.0.4.60]
> Contact: ["roland" ]
> Expires: [7200]
> nua: nua_respond: entering
> nua(0xb342a660): sent signal r_respond
> nua: nua_handle_destroy: entering
> nua(0xb342a660): sent signal r_destroy
> nua: nua_handle_magic: entering
> nua: nua_handle_destroy: entering
> nua: nua_stack_set_params: entering
> soa_set_params(static::0xb342fc18, ...) called
> tport_tsend(0x80f3580) tpn = UDP/10.0.4.2:5060
> tport_resolve addrinfo = 10.0.4.2:5060
> tport_by_addrinfo(0x80f3580): not found by name UDP/10.0.4.2:5060
> tport_vsend returned 611
> send 611 bytes to udp/[10.0.4.2]:5060 at 20:01:08.559893:
>
> ------------------------------------------------------------------------
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> 10.0.4.2:5060;branch=z9hG4bK-d87543-f16d4916bb41f15a-1--d87543-;rport=50
> 60
> From: "roland"
> >;tag=78399c75
> To: "roland"
> ;tag=rXeaZ6Sce3g3p
> Call-ID: f85a4202fd310527 at YXBvbGxv
> CSeq: 2 REGISTER
> Contact: ;expires=7200
> Date: Sat, 24 Jan 2009 20:01:08 GMT
> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> Supported: timer, precondition, path, replaces
> Content-Length: 0
>
>
> ------------------------------------------------------------------------
> nta: sent 200 OK for REGISTER (2)
> nta_leg_destroy((nil))
> soa_destroy(static::0xb342fc18) called
>
> -----Original Message-----
> From: freeswitch-dev-bounces at lists.freeswitch.org
> [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of
> Michael Jerris
> Sent: Saturday, January 24, 2009 8:19 PM
> To: freeswitch-dev at lists.freeswitch.org
> Subject: Re: [Freeswitch-dev] Trouble registering SIP client
>
> can you post the trace that works? I have a feeling your setting up
> your auth hash that you are sending wrong, perhaps the code where you
> build that would help someone see the error.
>
> Mike
>
> On Jan 24, 2009, at 12:08 PM, Roland Zagler wrote:
>
> > Hi everybody,
> >
> > I am writing a Java SIP ua (based on mjsip 1.6) that is supposed to
> > register to freeswitch.
> > Unfortunately I am not able to register and I cannot find the problem,
> > although a softphone
> > (X-Lite) CAN register by using the same creds. The credentials
> > are:
> >
> > SIP username: roland
> > SIP password: roland
> > SIP realm: 10.0.4.60
> >
> > There is no acl activated.
> >
> > The freeswitch versions I have tested are 1.0.2 and the trunk of today
> > (11480).
> >
> > I hope someone on the list could take a look on the trace I attached
> > below and give
> > me a hint what goes wrong.
> >
> > Thank you very much in advance.
> >
> > Roland
> >
> >
> >
> >
> > tport_wakeup_pri(0x81042c8): events IN
> > tport_recv_event(0x81042c8)
> > tport_recv_iovec(0x81042c8) msg 0xb3415ed8 from (udp/10.0.4.60:5060)
> > has
> > 373 bytes, veclen = 1
> > recv 373 bytes from udp/[10.0.2.51]:32816 at 17:01:30.461289:
> >
> >
> ------------------------------------------------------------------------
> > REGISTER sip:10.0.4.60:5060 SIP/2.0
> > Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
> > Max-Forwards: 70
> > To: "roland"
> > From: "roland" ;tag=z9hG4bK84430669
> > Call-ID: 218108472980 at 10.0.2.51
> > CSeq: 1 REGISTER
> > Contact:
> > Expires: 3600
> > User-Agent: ZaKoSIP v1.2
> > Content-Length: 0
> >
> >
> >
> ------------------------------------------------------------------------
> > tport_deliver(0x81042c8): msg 0xb3415ed8 (373 bytes) from
> > udp/10.0.2.51:5060/sip next=(nil)
> > nta: received REGISTER sip:10.0.4.60:5060 SIP/2.0 (CSeq 1)
> > nta: canonizing sip:10.0.4.60:5060 with contact
> > nta: REGISTER (1) going to a default leg
> > nua: nua_stack_process_request: entering
> > nua: nh_create: entering
> > nua: nh_create_handle: entering
> > nua: nua_stack_set_params: entering
> > soa_clone(static::0x80fe270, 0x80f9448, 0xb3402b30) called
> > soa_set_params(static::0xb341ba78, ...) called
> > nua: nua_application_event: entering
> > nua: nua_respond: entering
> > nua(0xb3402b30): sent signal r_respond
> > 2009-01-24 18:01:30 [DEBUG] sofia_reg.c:883
> > sofia_reg_handle_register()
> > Requesting Registration from: [roland at 10.0.4.60]
> > nua: nua_handle_destroy: entering
> > nua(0xb3402b30): sent signal r_destroy
> > nua: nua_handle_magic: entering
> > nua: nua_handle_destroy: entering
> > nua: nua_stack_set_params: entering
> > soa_set_params(static::0xb341ba78, ...) called
> > tport_tsend(0x81042c8) tpn = UDP/10.0.2.51:32816
> > tport_resolve addrinfo = 10.0.2.51:32816
> > tport_by_addrinfo(0x81042c8): not found by name UDP/10.0.2.51:32816
> > tport_vsend returned 620
> > send 620 bytes to udp/[10.0.2.51]:32816 at 17:01:30.586602:
> >
> >
> ------------------------------------------------------------------------
> > SIP/2.0 401 Unauthorized
> > Via: SIP/2.0/UDP 10.0.2.51:32816;rport=32816;branch=z9hG4bK33562
> > From: "roland" ;tag=z9hG4bK84430669
> > To: "roland" ;tag=aZa7matyy5Uca
> > Call-ID: 218108472980 at 10.0.2.51
> > CSeq: 1 REGISTER
> > User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> > NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> > Supported: timer, precondition, path, replaces
> > WWW-Authenticate: Digest realm="10.0.4.60",
> > nonce="a5608fcc-ea38-11dd-8437-6d678b851040", algorithm=MD5,
> > qop="auth"
> > Content-Length: 0
> >
> >
> >
> ------------------------------------------------------------------------
> > nta: sent 401 Unauthorized for REGISTER (1)
> > nta: timer set to 32000 ms
> > nta_leg_destroy((nil))
> > soa_destroy(static::0xb341ba78) called
> > tport_wakeup_pri(0x81042c8): events IN
> > tport_recv_event(0x81042c8)
> > tport_recv_iovec(0x81042c8) msg 0xb3444050 from (udp/10.0.4.60:5060)
> > has
> > 575 bytes, veclen = 1
> > recv 575 bytes from udp/[10.0.2.51]:32816 at 17:01:30.614376:
> >
> >
> ------------------------------------------------------------------------
> > REGISTER sip:10.0.4.60:5060 SIP/2.0
> > Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
> > Max-Forwards: 70
> > To: "roland"
> > From: "roland" ;tag=z9hG4bK84430669
> > Call-ID: 218108472980 at 10.0.2.51
> > CSeq: 2 REGISTER
> > Contact:
> > Expires: 3600
> > User-Agent: ZaKoSIP v1.2
> > Authorization: Digest username="roland", realm="10.0.4.60",
> > nonce="a5608fcc-ea38-11dd-8437-6d678b851040", uri="sip:
> > 10.0.4.60:5060",
> > algorithm=MD5, qop=auth, response="2f26d787c68ac2a342a4b1d7bb49a1a0"
> > Content-Length: 0
> >
> >
> >
> ------------------------------------------------------------------------
> > tport_deliver(0x81042c8): msg 0xb3444050 (575 bytes) from
> > udp/10.0.2.51:5060/sip next=(nil)
> > nta: received REGISTER sip:10.0.4.60:5060 SIP/2.0 (CSeq 2)
> > nta: canonizing sip:10.0.4.60:5060 with contact
> > nta: REGISTER (2) going to a default leg
> > nua: nua_stack_process_request: entering
> > nua: nh_create: entering
> > nua: nh_create_handle: entering
> > nua: nua_stack_set_params: entering
> > soa_clone(static::0x80fe270, 0x80f9448, 0xb3445690) called
> > soa_set_params(static::0xb341ba78, ...) called
> > nua: nua_application_event: entering
> > 2009-01-24 18:01:30 [DEBUG] sofia_reg.c:869
> > sofia_reg_handle_register()
> > Send challenge for [roland at 10.0.4.60]
> > nua: nua_respond: entering
> > nua(0xb3445690): sent signal r_respond
> > nua: nua_handle_destroy: entering
> > nua(0xb3445690): sent signal r_destroy
> > nua: nua_handle_magic: entering
> > nua: nua_handle_destroy: entering
> > nua: nua_stack_set_params: entering
> > soa_set_params(static::0xb341ba78, ...) called
> > tport_tsend(0x81042c8) tpn = UDP/10.0.2.51:32816
> > tport_resolve addrinfo = 10.0.2.51:32816
> > tport_by_addrinfo(0x81042c8): not found by name UDP/10.0.2.51:32816
> > tport_vsend returned 500
> > send 500 bytes to udp/[10.0.2.51]:32816 at 17:01:30.617125:
> >
> >
> ------------------------------------------------------------------------
> > SIP/2.0 403 Forbidden
> > Via: SIP/2.0/UDP 10.0.2.51:32816;rport=32816;branch=z9hG4bK33562
> > From: "roland" ;tag=z9hG4bK84430669
> > To: "roland" ;tag=B83Zp5a2UejZN
> > Call-ID: 218108472980 at 10.0.2.51
> > CSeq: 2 REGISTER
> > User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
> > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> > NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> > Supported: timer, precondition, path, replaces
> > Content-Length: 0
> >
> >
> >
> ------------------------------------------------------------------------
> > nta: sent 403 Forbidden for REGISTER (2)
> > nta_leg_destroy((nil))
> > soa_destroy(static::0xb341ba78) called
>
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090124/c21e06d1/attachment-0001.html
From seven at idapted.com Sun Jan 25 02:05:10 2009
From: seven at idapted.com (seven du)
Date: Sun, 25 Jan 2009 18:05:10 +0800
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To: <4979E54D.5060903@freeswitch.org>
References: <7CD31F58-816C-4CEA-BEA2-05AB5BE6770B@idapted.com>
<4979E54D.5060903@freeswitch.org>
Message-ID: <5F53DE4B-AC72-491D-B1CC-3216BA2313FE@idapted.com>
Thanks. I only had experience on post issues to jira. how to post a
patch? also create an issure? And, the skypiax stuff is not in the
trunk but a branch, is it also proper?
And I know the best way to make a patch is run svn diff in the root
directory, but I only checked out the mod, but not the whole branch,
so I think the best way to make a patch is run svn diff from the mod's
root directory, is that right?
On Jan 23, 2009, at 11:42 PM, Raymond Chandler wrote:
> seven du wrote:
>> hi Giovanni,
>>
>> I just made some improve on skypiax, so you can call skypiax/ANY/
>> another_skypename, it will automatically chose an available channel.
>> not good, but it works.
>>
>> put the following code directly before the following line:
>>
> the best way to submit improvements is to post a patch on jira. if you
> haven't yet, create an account there. svn diff > /tmp/my.patch should
> give you a nice patch to post on the tracker
>
> -Ray
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
From brian at freeswitch.org Sun Jan 25 02:12:33 2009
From: brian at freeswitch.org (Brian West)
Date: Sun, 25 Jan 2009 04:12:33 -0600
Subject: [Freeswitch-dev] mod_skypiax inching forward
In-Reply-To: <5F53DE4B-AC72-491D-B1CC-3216BA2313FE@idapted.com>
References: <7CD31F58-816C-4CEA-BEA2-05AB5BE6770B@idapted.com>
<4979E54D.5060903@freeswitch.org>
<5F53DE4B-AC72-491D-B1CC-3216BA2313FE@idapted.com>
Message-ID:
I have added mod_skypiax to Jira under endpoint modules and assigned
the mod to Giovanni. Please open a jira and attach any patches there.
Thanks,
/b
On Jan 25, 2009, at 4:05 AM, seven du wrote:
> Thanks. I only had experience on post issues to jira. how to post a
> patch? also create an issure? And, the skypiax stuff is not in the
> trunk but a branch, is it also proper?
>
> And I know the best way to make a patch is run svn diff in the root
> directory, but I only checked out the mod, but not the whole branch,
> so I think the best way to make a patch is run svn diff from the mod's
> root directory, is that right?
From r.zagler at zakotel.com Sun Jan 25 08:15:32 2009
From: r.zagler at zakotel.com (Roland Zagler)
Date: Sun, 25 Jan 2009 17:15:32 +0100
Subject: [Freeswitch-dev] Trouble registering SIP client [SOLVED]
In-Reply-To: <191c3a030901241615t3ebce2b1r2bf32c7f19ad0a@mail.gmail.com>
References: <850935DD0336FC4B98C006D9CC72B8154076CA@fog2k01.fog.rack><3E6CCD32-B23A-4507-80A4-D3684CF170CF@jerris.com><850935DD0336FC4B98C006D9CC72B8154076CC@fog2k01.fog.rack>
<191c3a030901241615t3ebce2b1r2bf32c7f19ad0a@mail.gmail.com>
Message-ID: <850935DD0336FC4B98C006D9CC72B8154076CD@fog2k01.fog.rack>
Thank you Anthony,
this was the exact problem, the mjsip stack built a response field that contained the long version
(including "nc", "cnonce" and "qop") event if "nc" and "cnonce" were empty.
Thank you so much for your hint!
Roland
From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: Sunday, January 25, 2009 1:16 AM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Trouble registering SIP client
consider this code:
This is what we do to auth: say your uri is sip:bar.com
first we compute uri digest which is the md5 hash of the string
REGISTER:sip:bar.com
Then depending on what you sent us we do another md5 hash with the following info:
?? if (nc && cnonce && qop) {
??????? input2 = switch_mprintf("%q:%q:%q:%q:%q:%q", a1_hash, nonce, nc, cnonce, qop, uridigest);
??? } else {
??????? input2 = switch_mprintf("%q:%q:%q", a1_hash, nonce, uridigest);
??? }
On Sat, Jan 24, 2009 at 2:07 PM, Roland Zagler wrote:
Hi mike,
thanks for taking a look, here is the trace of a softphone called
firefly registering with the same creds,
the only difference is the ip the client runs on, I tested it already to
register from the
same ip, which didn't work. I also tried adding the "cnonce" and "nc"
parameters inside the authorization
header, also without success.
btw: I can register to an asterisk server using the same java client
code without probs.
thx again,
Roland
tport_wakeup_pri(0x80f3580): events IN
tport_recv_event(0x80f3580)
tport_recv_iovec(0x80f3580) msg 0xb34025c8 from (udp/10.0.4.60:5060) has
428 bytes, veclen = 1
recv 428 bytes from udp/[10.0.4.2]:5060 at 20:01:08.463700:
------------------------------------------------------------------------
? REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0
? To: "roland"
? From: "roland";tag=78399c75
? Via: SIP/2.0/UDP
10.0.4.2:5060;branch=z9hG4bK-d87543-0b5fac2e346e151d-1--d87543-;rport
? Call-ID: f85a4202fd310527 at YXBvbGxv
? CSeq: 1 REGISTER
? Contact: ;expires=7200
? Expires: 7200
? Max-Forwards: 70
? User-Agent: Firefly 2.0
? Content-Length: 0
------------------------------------------------------------------------
tport_deliver(0x80f3580): msg 0xb34025c8 (428 bytes) from
udp/10.0.4.2:5060/sip next=(nil)
nta: received REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0 (CSeq 1)
nta: canonizing sip:10.0.4.60:5060 with contact
nta: REGISTER (1) going to a default leg
nua: nua_stack_process_request: entering
nua: nh_create: entering
nua: nh_create_handle: entering
nua: nua_stack_set_params: entering
soa_clone(static::0x80f1740, 0x80eea10, 0x81258f0) called
soa_set_params(static::0x811b558, ...) called
nua: nua_application_event: entering
nua: nua_respond: entering
nua(0x81258f0): sent signal r_respond
2009-01-24 21:01:08 [DEBUG] sofia_reg.c:883 sofia_reg_handle_register()
Requesting Registration from: [roland at 10.0.4.60]
nua: nua_handle_destroy: entering
nua(0x81258f0): sent signal r_destroy
nua: nua_handle_magic: entering
nua: nua_handle_destroy: entering
nua: nua_stack_set_params: entering
soa_set_params(static::0x811b558, ...) called
tport_tsend(0x80f3580) tpn = UDP/10.0.4.2:5060
tport_resolve addrinfo = 10.0.4.2:5060
tport_by_addrinfo(0x80f3580): not found by name UDP/10.0.4.2:5060
tport_vsend returned 651
send 651 bytes to udp/[10.0.4.2]:5060 at 20:01:08.550818:
------------------------------------------------------------------------
? SIP/2.0 401 Unauthorized
? Via: SIP/2.0/UDP
10.0.4.2:5060;branch=z9hG4bK-d87543-0b5fac2e346e151d-1--d87543-;rport=50
60
? From: "roland";tag=78399c75
? To: "roland"
;tag=QmNHXB98gttgB
? Call-ID: f85a4202fd310527 at YXBvbGxv
? CSeq: 1 REGISTER
? User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
? Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
? Supported: timer, precondition, path, replaces
? WWW-Authenticate: Digest realm="10.0.4.60",
nonce="bd912f5c-ea51-11dd-8d93-318210ee3033", algorithm=MD5, qop="auth"
? Content-Length: 0
------------------------------------------------------------------------
nta: sent 401 Unauthorized for REGISTER (1)
nta: timer set to 32000 ms
nta_leg_destroy((nil))
soa_destroy(static::0x811b558) called
tport_wakeup_pri(0x80f3580): events IN
tport_recv_event(0x80f3580)
tport_recv_iovec(0x80f3580) msg 0x812b358 from (udp/10.0.4.60:5060) has
668 bytes, veclen = 1
recv 668 bytes from udp/[10.0.4.2]:5060 at 20:01:08.553542:
------------------------------------------------------------------------
? REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0
? To: "roland"
? From: "roland";tag=78399c75
? Via: SIP/2.0/UDP
10.0.4.2:5060;branch=z9hG4bK-d87543-f16d4916bb41f15a-1--d87543-;rport
? Call-ID: f85a4202fd310527 at YXBvbGxv
? CSeq: 2 REGISTER
? Contact: ;expires=7200
? Expires: 7200
? Max-Forwards: 70
? User-Agent: Firefly 2.0
? Authorization: Digest
username="roland",realm="10.0.4.60",nonce="bd912f5c-ea51-11dd-8d93-31821
0ee3033",uri="sip:10.0.4.60:5060;transport=udp",response="f25e2b5a110923
4bae13b5976abe3129",cnonce="137481EB",nc=00000001,qop=auth,algorithm=MD5
? Content-Length: 0
------------------------------------------------------------------------
tport_deliver(0x80f3580): msg 0x812b358 (668 bytes) from
udp/10.0.4.2:5060/sip next=(nil)
nta: received REGISTER sip:10.0.4.60:5060;transport=udp SIP/2.0 (CSeq 2)
nta: canonizing sip:10.0.4.60:5060 with contact
nta: REGISTER (2) going to a default leg
nua: nua_stack_process_request: entering
nua: nh_create: entering
nua: nh_create_handle: entering
nua: nua_stack_set_params: entering
soa_clone(static::0x80f1740, 0x80eea10, 0xb342a660) called
soa_set_params(static::0xb342fc18, ...) called
nua: nua_application_event: entering
2009-01-24 21:01:08 [DEBUG] sofia_reg.c:971 sofia_reg_handle_register()
Register:
From: ? ?[roland at 10.0.4.60]
Contact: ["roland" ]
Expires: [7200]
nua: nua_respond: entering
nua(0xb342a660): sent signal r_respond
nua: nua_handle_destroy: entering
nua(0xb342a660): sent signal r_destroy
nua: nua_handle_magic: entering
nua: nua_handle_destroy: entering
nua: nua_stack_set_params: entering
soa_set_params(static::0xb342fc18, ...) called
tport_tsend(0x80f3580) tpn = UDP/10.0.4.2:5060
tport_resolve addrinfo = 10.0.4.2:5060
tport_by_addrinfo(0x80f3580): not found by name UDP/10.0.4.2:5060
tport_vsend returned 611
send 611 bytes to udp/[10.0.4.2]:5060 at 20:01:08.559893:
------------------------------------------------------------------------
? SIP/2.0 200 OK
? Via: SIP/2.0/UDP
10.0.4.2:5060;branch=z9hG4bK-d87543-f16d4916bb41f15a-1--d87543-;rport=50
60
? From: "roland";tag=78399c75
? To: "roland"
;tag=rXeaZ6Sce3g3p
? Call-ID: f85a4202fd310527 at YXBvbGxv
? CSeq: 2 REGISTER
? Contact: ;expires=7200
? Date: Sat, 24 Jan 2009 20:01:08 GMT
? User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
? Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
? Supported: timer, precondition, path, replaces
? Content-Length: 0
------------------------------------------------------------------------
nta: sent 200 OK for REGISTER (2)
nta_leg_destroy((nil))
soa_destroy(static::0xb342fc18) called
-----Original Message-----
From: freeswitch-dev-bounces at lists.freeswitch.org
[mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of
Michael Jerris
Sent: Saturday, January 24, 2009 8:19 PM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Trouble registering SIP client
can you post the trace that works? ?I have a feeling your setting up
your auth hash that you are sending wrong, perhaps the code where you
build that would help someone see the error.
Mike
On Jan 24, 2009, at 12:08 PM, Roland Zagler wrote:
> Hi everybody,
>
> I am writing a Java SIP ua (based on mjsip 1.6) that is supposed to
> register to freeswitch.
> Unfortunately I am not able to register and I cannot find the problem,
> although a softphone
> (X-Lite) CAN register by using the same creds. The credentials
> are:
>
> SIP username: roland
> SIP password: roland
> SIP realm: 10.0.4.60
>
> There is no acl activated.
>
> The freeswitch versions I have tested are 1.0.2 and the trunk of today
> (11480).
>
> I hope someone on the list could take a look on the trace I attached
> below and give
> me a hint what goes wrong.
>
> Thank you very much in advance.
>
> Roland
>
>
>
>
> tport_wakeup_pri(0x81042c8): events IN
> tport_recv_event(0x81042c8)
> tport_recv_iovec(0x81042c8) msg 0xb3415ed8 from (udp/10.0.4.60:5060)
> has
> 373 bytes, veclen = 1
> recv 373 bytes from udp/[10.0.2.51]:32816 at 17:01:30.461289:
>
>
------------------------------------------------------------------------
> ? REGISTER sip:10.0.4.60:5060 SIP/2.0
> ? Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
> ? Max-Forwards: 70
> ? To: "roland"
> ? From: "roland" ;tag=z9hG4bK84430669
> ? Call-ID: 218108472980 at 10.0.2.51
> ? CSeq: 1 REGISTER
> ? Contact:
> ? Expires: 3600
> ? User-Agent: ZaKoSIP v1.2
> ? Content-Length: 0
>
>
>
------------------------------------------------------------------------
> tport_deliver(0x81042c8): msg 0xb3415ed8 (373 bytes) from
> udp/10.0.2.51:5060/sip next=(nil)
> nta: received REGISTER sip:10.0.4.60:5060 SIP/2.0 (CSeq 1)
> nta: canonizing sip:10.0.4.60:5060 with contact
> nta: REGISTER (1) going to a default leg
> nua: nua_stack_process_request: entering
> nua: nh_create: entering
> nua: nh_create_handle: entering
> nua: nua_stack_set_params: entering
> soa_clone(static::0x80fe270, 0x80f9448, 0xb3402b30) called
> soa_set_params(static::0xb341ba78, ...) called
> nua: nua_application_event: entering
> nua: nua_respond: entering
> nua(0xb3402b30): sent signal r_respond
> 2009-01-24 18:01:30 [DEBUG] sofia_reg.c:883
> sofia_reg_handle_register()
> Requesting Registration from: [roland at 10.0.4.60]
> nua: nua_handle_destroy: entering
> nua(0xb3402b30): sent signal r_destroy
> nua: nua_handle_magic: entering
> nua: nua_handle_destroy: entering
> nua: nua_stack_set_params: entering
> soa_set_params(static::0xb341ba78, ...) called
> tport_tsend(0x81042c8) tpn = UDP/10.0.2.51:32816
> tport_resolve addrinfo = 10.0.2.51:32816
> tport_by_addrinfo(0x81042c8): not found by name UDP/10.0.2.51:32816
> tport_vsend returned 620
> send 620 bytes to udp/[10.0.2.51]:32816 at 17:01:30.586602:
>
>
------------------------------------------------------------------------
> ? SIP/2.0 401 Unauthorized
> ? Via: SIP/2.0/UDP 10.0.2.51:32816;rport=32816;branch=z9hG4bK33562
> ? From: "roland" ;tag=z9hG4bK84430669
> ? To: "roland" ;tag=aZa7matyy5Uca
> ? Call-ID: 218108472980 at 10.0.2.51
> ? CSeq: 1 REGISTER
> ? User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11480
> ? Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH
> ? Supported: timer, precondition, path, replaces
> ? WWW-Authenticate: Digest realm="10.0.4.60",
> nonce="a5608fcc-ea38-11dd-8437-6d678b851040", algorithm=MD5,
> qop="auth"
> ? Content-Length: 0
>
>
>
------------------------------------------------------------------------
> nta: sent 401 Unauthorized for REGISTER (1)
> nta: timer set to 32000 ms
> nta_leg_destroy((nil))
> soa_destroy(static::0xb341ba78) called
> tport_wakeup_pri(0x81042c8): events IN
> tport_recv_event(0x81042c8)
> tport_recv_iovec(0x81042c8) msg 0xb3444050 from (udp/10.0.4.60:5060)
> has
> 575 bytes, veclen = 1
> recv 575 bytes from udp/[10.0.2.51]:32816 at 17:01:30.614376:
>
>
------------------------------------------------------------------------
> ? REGISTER sip:10.0.4.60:5060 SIP/2.0
> ? Via: SIP/2.0/UDP 10.0.2.51:32816;rport;branch=z9hG4bK33562
> ? Max-Forwards: 70
> ? To: "roland"