VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
kristjan.ugrin at gmai... Guest
|
Posted: Wed Dec 17, 2008 12:12 pm Post subject: [Freeswitch-users] Call sip phones from gtalk / jabber |
|
|
I have an idea which is takes too many characters for irc.
I'm relatively new to telephony and such stuff, I managed to get
freeswitch running, but I don't fully uderstand
my problem in detail and how to solve it, so I need a bit of directions.
Briefly, my idea is to have a jabber contact, which would gtalk user add
as their buddy. Let's call it callbuddy@somejabbersrv.com.
This would be a bot that would accept commands - I've already made a small
xmpp java bot which just logs into gtalk and send echo
messages to users - like a parrot, nothing serious. Also I've set up
openfire jabber server.
What I would like him to do, is when user would tipe "call 0189432443" it
would initiate a call between contact who tiped in this number (command)
and this number.
Is this possible, and what would be the best implementation (dingaling
acting as client...)?
Thanks.
--
kriko
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
kirk.bateman at gmail.com Guest
|
Posted: Wed Dec 17, 2008 12:17 pm Post subject: [Freeswitch-users] Call sip phones from gtalk / jabber |
|
|
Kriko,
I have been looking at the same sort of thing, but I'm planning to implement an ejabberd bot component (so I can hopefully use the new mod_erlang_event freeswitch interface).
It seems to me that bits of the current dingaling / jingle interface are having problems, like not liking sending messages to other domains, its generally working if they are all .gmail.com users but when you have some on googlemail.com etc it starts breaking, and doesn't use the whole JID in the from attribute for sending messages.
When I get a chance I'll try and narrow down the problem.
Cheers
Kirk
Quote: | Date: Wed, 17 Dec 2008 15:46:16 +0100
From: kriko <kristjan.ugrin@gmail.com (kristjan.ugrin@gmail.com)>
Subject: [Freeswitch-users] Call sip phones from gtalk / jabber
To: "freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)"
<freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)>
Message-ID: <op.uma9zdmxatcbto@linux.site>
Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8
I have an idea which is takes too many characters for irc.
I'm relatively new to telephony and such stuff, I managed to get
freeswitch running, but I don't fully uderstand
my problem in detail and how to solve it, so I need a bit of directions.
Briefly, my idea is to have a jabber contact, which would gtalk user add
as their buddy. Let's call it callbuddy@somejabbersrv.com (callbuddy@somejabbersrv.com).
This would be a bot that would accept commands - I've already made a small
xmpp java bot which just logs into gtalk and send echo
messages to users - like a parrot, nothing serious. Also I've set up
openfire jabber server.
What I would like him to do, is when user would tipe "call 0189432443" it
would initiate a call between contact who tiped in this number (command)
and this number.
Is this possible, and what would be the best implementation (dingaling
acting as client...)?
Thanks.
--
kriko
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Dec 17, 2008 12:30 pm Post subject: [Freeswitch-users] Call sip phones from gtalk / jabber |
|
|
FreeSWITCH already logs into your jabber server as a component if you cant communicate with other domains then your jabber server is not configured correctly.
/b
On Dec 17, 2008, at 11:15 AM, Kirk Bateman wrote:
Quote: | Kriko,
I have been looking at the same sort of thing, but I'm planning to implement an ejabberd bot component (so I can hopefully use the new mod_erlang_event freeswitch interface).
It seems to me that bits of the current dingaling / jingle interface are having problems, like not liking sending messages to other domains, its generally working if they are all .gmail.com users but when you have some ongooglemail.com etc it starts breaking, and doesn't use the whole JID in the from attribute for sending messages.
When I get a chance I'll try and narrow down the problem.
Cheers
Kirk |
|
|
Back to top |
|
|
kristjan.ugrin at gmai... Guest
|
Posted: Thu Dec 18, 2008 3:38 am Post subject: [Freeswitch-users] Call sip phones from gtalk / jabber |
|
|
I'm not sure if we understood each other correctly.
I meant calling from jabber to other sip phones. I'm not sure you can just
add a sip phone as
a buddy into e.g. gtalk or any other jabber service and call it.
So that why a bot (and only one but), which you would have as a buddy and
you would feed him with numbers.
And he would estabilish a call between jabber user and typed in number.
Was I clearer?
I'll take a look how the component mode works, hopefully there is more
documentation than only this:
http://wiki.freeswitch.org/wiki/Dingaling
Also if this functionality is not possible with fs as it is, I could maybe
write a java program which interact with fs
interface and do that as intended?
Cheers
On Wed, 17 Dec 2008 18:21:32 +0100, Brian West <brian@freeswitch.org>
wrote:
Quote: | FreeSWITCH already logs into your jabber server as a component if you
cant communicate with other domains then your jabber server is not
configured correctly.
/b
On Dec 17, 2008, at 11:15 AM, Kirk Bateman wrote:
Quote: | Kriko,
I have been looking at the same sort of thing, but I'm planning to
implement an ejabberd bot component (so I can hopefully use the new
mod_erlang_event freeswitch interface).
It seems to me that bits of the current dingaling / jingle interface
are having problems, like not liking sending messages to other
domains, its generally working if they are all .gmail.com users but
when you have some ongooglemail.com etc it starts breaking, and
doesn't use the whole JID in the from attribute for sending messages.
When I get a chance I'll try and narrow down the problem.
Cheers
Kirk
|
|
--
kriko
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
kirk.bateman at gmail.com Guest
|
Posted: Thu Dec 18, 2008 4:48 am Post subject: [Freeswitch-users] Call sip phones from gtalk / jabber |
|
|
Brian,
That wasn't exactly what I meant
I have had Freeswitch connecting to GTalk directly as a client and that was where I was getting the issues with sending anything to other domains.
I haven't actually tried the server profile with my own ejabberd server. What I was planning to do was have a separate ejabberd bot which is the control interface which then sends bits to the freeswitch connected "bot" / user so I can sanitise anything before it gets to freeswitch, as I have found the freeswitch jabber stuff to segfault every now and then (that said I haven't updated in about a month or so). Just haven't had enough time to actually look into what was causing the segfaults.
I did get the gtalk to sip bits working though, had a few codec issues but gtalk to freeswitch worked fine, unfortunately my slightly more complicated gtalk to freeswitch to asterisk to SPA941 has some codec bits to work out, I think its to do with asterisk PCMU being different ? I know I had something similar when trying to use the same setup with gizmo (which I fixed by forcing G729 from SPA941 -> asterisk -> freeswitch.
Cheers
Kirk
Quote: | Date: Wed, 17 Dec 2008 11:21:32 -0600
From: Brian West <brian@freeswitch.org (brian@freeswitch.org)>
Subject: Re: [Freeswitch-users] Call sip phones from gtalk / jabber
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Message-ID: <876638A9-FBB0-4079-A76F-814E6953D395@freeswitch.org (876638A9-FBB0-4079-A76F-814E6953D395@freeswitch.org)>
Content-Type: text/plain; charset="us-ascii"
FreeSWITCH already logs into your jabber server as a component if you
cant communicate with other domains then your jabber server is not
configured correctly.
/b
On Dec 17, 2008, at 11:15 AM, Kirk Bateman wrote:
Quote: | Kriko,
I have been looking at the same sort of thing, but I'm planning to
implement an ejabberd bot component (so I can hopefully use the new
mod_erlang_event freeswitch interface).
It seems to me that bits of the current dingaling / jingle interface
are having problems, like not liking sending messages to other
domains, its generally working if they are all .gmail.com users but
when you have some ongooglemail.com etc it starts breaking, and
doesn't use the whole JID in the from attribute for sending messages.
When I get a chance I'll try and narrow down the problem.
Cheers
Kirk
|
|
|
|
Back to top |
|
|
kirk.bateman at gmail.com Guest
|
Posted: Thu Dec 18, 2008 5:10 am Post subject: [Freeswitch-users] Call sip phones from gtalk / jabber |
|
|
Kriko,
Have a look at this, I used it to get my gtalk to fs working.
http://chesterton.id.au/blog/2008/01/02/freeswitch-google-talk-dingaling-jingle-all-the-way/
Cheers
Kirk
Quote: | Date: Thu, 18 Dec 2008 09:37:38 +0100
From: kriko <kristjan.ugrin@gmail.com (kristjan.ugrin@gmail.com)>
Subject: Re: [Freeswitch-users] Call sip phones from gtalk / jabber
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Message-ID: <op.umcnkzr2atcbto@linux.site>
Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8
I'm not sure if we understood each other correctly.
I meant calling from jabber to other sip phones. I'm not sure you can just
add a sip phone as
a buddy into e.g. gtalk or any other jabber service and call it.
So that why a bot (and only one but), which you would have as a buddy and
you would feed him with numbers.
And he would estabilish a call between jabber user and typed in number.
Was I clearer?
I'll take a look how the component mode works, hopefully there is more
documentation than only this:
http://wiki.freeswitch.org/wiki/Dingaling
Also if this functionality is not possible with fs as it is, I could maybe
write a java program which interact with fs
interface and do that as intended?
Cheers
|
|
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Thu Dec 18, 2008 8:14 am Post subject: [Freeswitch-users] Call sip phones from gtalk / jabber |
|
|
On Dec 18, 2008, at 4:45 AM, Kirk Bateman wrote:
Quote: | have had Freeswitch connecting to GTalk directly as a client and
that was where I was getting the issues with sending anything to
other domains.
|
I have seen this before specifically with gmail being unable to
federate presense... their stuff can be really flakey, do you see the
same thing if you client login to a jabber.org address?
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|