Author Topic: Playing with 2 x-lite clients and video calls under LMCE  (Read 1072 times)

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 890
  • Living with LMCE
    • View Profile
Playing with 2 x-lite clients and video calls under LMCE
« on: January 14, 2008, 04:00:11 pm »
Hi,

I'm working on telephony features in new house that is based on LMCE... I have 3 entry points in telephony : doorphone, GSM incoming line, and IP telephony. I will probably describe how to do such setup soon, but currently I'm trying to get/test video capabilities of current system.

I use 2 x-lite clients (thanks for recomendation from Andrew). Since video telephony is not supported on Orbiter phones, I'm trying to do it with windows clients (it would be nice to be able to make video call from work to home office with x-lite clients on both sides)...

In near future, I also sincerely hope, that we will be able to get video telephony going on embedded Orbiter phones (they are based on linphone already, and newer version of LinPhone supports Video !!!!)...

But in the mean time, I play with window clients, and I spot that video is transferred only in one direction - only from calling party to end point and not vice versa...

I have also posted to asterisk mailing list, but maybe there are also some experienced Asterisk guys in here....

Any advice, hint ?

Thanks in advance,

regards,

Bulek.

I have done following :
2 x-lite clients :
[201]
username=201
type=friend
secret=LMCE!201
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=never
mailbox=201@device
host=dynamic
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
callerid=device <201>
allow=ulaw
allow=alaw
allow=gsm
allow=h263
allow=h263p

[204]
username=204
type=friend
secret=LMCE!204
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=never
mailbox=204@device
host=dynamic
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
callerid=device <204>
allow=ulaw
allow=alaw
allow=gsm
allow=h263
allow=h263p


sip.conf :

; Note: If your SIP devices are behind a NAT and your Asterisk
;  server isn't, try adding "nat=1" to each peer definition to
;  solve translation problems.

[general]

port = 5060           ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
videosupport=yes ; enable Asterisk video support

#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf
Thanks in advance,

regards,

Bulek.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4462
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Playing with 2 x-lite clients and video calls under LMCE
« Reply #1 on: January 14, 2008, 04:03:43 pm »
Hi,

I'm working on telephony features in new house that is based on LMCE... I have 3 entry points in telephony : doorphone, GSM incoming line, and IP telephony. I will probably describe how to do such setup soon, but currently I'm trying to get/test video capabilities of current system.

I use 2 x-lite clients (thanks for recomendation from Andrew). Since video telephony is not supported on Orbiter phones, I'm trying to do it with windows clients (it would be nice to be able to make video call from work to home office with x-lite clients on both sides)...

In near future, I also sincerely hope, that we will be able to get video telephony going on embedded Orbiter phones (they are based on linphone already, and newer version of LinPhone supports Video !!!!)...

But in the mean time, I play with window clients, and I spot that video is transferred only in one direction - only from calling party to end point and not vice versa...

I have also posted to asterisk mailing list, but maybe there are also some experienced Asterisk guys in here....

Any advice, hint ?

Thanks in advance,

regards,

Bulek.

I have done following :
2 x-lite clients :
[201]
username=201
type=friend
secret=LMCE!201
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=never
mailbox=201@device
host=dynamic
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
callerid=device <201>
allow=ulaw
allow=alaw
allow=gsm
allow=h263
allow=h263p

[204]
username=204
type=friend
secret=LMCE!204
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=never
mailbox=204@device
host=dynamic
dtmfmode=rfc2833
disallow=all
context=from-internal
canreinvite=no
callerid=device <204>
allow=ulaw
allow=alaw
allow=gsm
allow=h263
allow=h263p


sip.conf :

; Note: If your SIP devices are behind a NAT and your Asterisk
;  server isn't, try adding "nat=1" to each peer definition to
;  solve translation problems.

[general]

port = 5060           ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
videosupport=yes ; enable Asterisk video support

#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf


Hi Bulek,

Hey nice idea! I agree it would be great to get video calls working inside the Orbiter ;-)
Andy Herron,
Convergent Home Technologies Ltd

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, inquiries@ellipticalcurve.com via email or PM me here.

Get a Dianemo License: http://forum.linuxmce.org/index.php?topic=8880.msg100221#msg100221
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 890
  • Living with LMCE
    • View Profile
Re: Playing with 2 x-lite clients and video calls under LMCE
« Reply #2 on: January 15, 2008, 01:21:52 pm »


Hi Bulek,

Hey nice idea! I agree it would be great to get video calls working inside the Orbiter ;-)

I agree - that would be killer app - currently I'm not aware of similar system having video telephony as well. Asterisk also has library to interface with UMTS video calls...

And I guess it wouldn't be too hard, since we already have wrapper for audio linPhone...

Regards,

Bulek.
Thanks in advance,

regards,

Bulek.