Discussion:
[Freeswitch-users] How to for video call ?
bino oetomo
2011-08-01 07:29:35 UTC
Permalink
Dear All ..
I just learn to setup a FreeSwitch server.
Well .. actualy I set it up using FusionPBX

Now .. I have to extention .. that is 2001 and 2003

2003 is my friends Mac station , using X-Lite software
2001 is my windows station using linphone.

Both station is set to use H263 as Video Codec.

I try to trace the video fail in my Freeswitch server, using :

root at lapp freeswitch/conf# tail -f ../log/freeswitch.log |grep FAIL
|grep video

And here is the result

Dialplan: sofia/internal/2003 at fusionpbx.int Regex (FAIL) [video_record]
destination_number(2001) =~ /^\*9193$/ break=on-false
Dialplan: sofia/internal/2003 at fusionpbx.int Regex (FAIL)
[video_playback] destination_number(2001) =~ /^\*9194$/ break=on-false
=============================================
Dialplan: sofia/internal/2001 at fusinpbx.int Regex (FAIL) [video_record]
destination_number(2003) =~ /^\*9193$/ break=on-false
Dialplan: sofia/internal/2001 at fusinpbx.int Regex (FAIL) [video_playback]
destination_number(2003) =~ /^\*9194$/ break=on-false

The first 2 part is happen when 2003 dial 2001, and the other 2 part is
vice versa.


Here is a snippet of my vars.xml :
root at lapp freeswitch/conf# more vars.xml

<!-- Codecs -->
<X-PRE-PROCESS cmd="set"
data="global_codec_prefs=G722,PCMU,PCMA,GSM,H263,H264,H261,H263-1998,H263-2000"/>
<X-PRE-PROCESS cmd="set"
data="outbound_codec_prefs=G722,PCMU,PCMA,GSM,H263,H264,H261,H263-1998,H263-2000"/>


Kindly please tell me what to check / edit.

Sincerely
-bino-
Nandy Dagondon
2011-08-01 22:10:32 UTC
Permalink
hi bino,

just change your clients' extension numbers to 1xxx e.g. 2001 to 1001 and
2003 to 1003. no need to use video_record and video_playback. the stack
dialplan, using bridge app, will take care of connecting video. the codecs
settings in vars.xml will negotiate h.263.

-nandy
Post by bino oetomo
Dear All ..
I just learn to setup a FreeSwitch server.
Well .. actualy I set it up using FusionPBX
Now .. I have to extention .. that is 2001 and 2003
2003 is my friends Mac station , using X-Lite software
2001 is my windows station using linphone.
Both station is set to use H263 as Video Codec.
root at lapp freeswitch/conf# tail -f ../log/freeswitch.log |grep FAIL
|grep video
And here is the result
Dialplan: sofia/internal/2003 at fusionpbx.int Regex (FAIL) [video_record]
destination_number(2001) =~ /^\*9193$/ break=on-false
Dialplan: sofia/internal/2003 at fusionpbx.int Regex (FAIL)
[video_playback] destination_number(2001) =~ /^\*9194$/ break=on-false
=============================================
Dialplan: sofia/internal/2001 at fusinpbx.int Regex (FAIL) [video_record]
destination_number(2003) =~ /^\*9193$/ break=on-false
Dialplan: sofia/internal/2001 at fusinpbx.int Regex (FAIL) [video_playback]
destination_number(2003) =~ /^\*9194$/ break=on-false
The first 2 part is happen when 2003 dial 2001, and the other 2 part is
vice versa.
root at lapp freeswitch/conf# more vars.xml
<!-- Codecs -->
<X-PRE-PROCESS cmd="set"
data="global_codec_prefs=G722,PCMU,PCMA,GSM,H263,H264,H261,H263-1998,H263-2000"/>
<X-PRE-PROCESS cmd="set"
data="outbound_codec_prefs=G722,PCMU,PCMA,GSM,H263,H264,H261,H263-1998,H263-2000"/>
Kindly please tell me what to check / edit.
Sincerely
-bino-
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110802/750dd993/attachment-0001.html
bino oetomo
2011-08-02 03:10:10 UTC
Permalink
Dear Nandy and All ..
Post by Nandy Dagondon
hi bino,
just change your clients' extension numbers to 1xxx e.g. 2001 to 1001
and 2003 to 1003. no need to use video_record and video_playback. the
stack dialplan, using bridge app, will take care of connecting video.
the codecs settings in vars.xml will negotiate h.263.
-nandy
Thankyou for your fast response

Ok ...
I try to do your sugestion

I create another 10 extension using auto generated .... from 1100 -
1109, and for easy passwords I manualy change each extension's password
to 1234

Next I try to connect linphones to this server.
Note that 2 linphones are :
1. PC, using ubuntu @ 192.168.10.232 for extension : 1104, and
2. Laptop , using windows @ 192.168.3.204 for extension : 1105

Steps :
A. PC Registering : looks fine, with indication in logs file as
2011-08-02 02:42:52.800123 [WARNING] sofia_reg.c:1337 SIP auth challenge
(REGISTER) on sofia profile 'internal' for [1104 at fusionpbx.int] from ip
192.168.10.232

B. Laptop Registering : looks fine, with indication in logs file as
2011-08-02 02:43:37.598379 [WARNING] sofia_reg.c:1337 SIP auth challenge
(REGISTER) on sofia profile 'internal' for [1105 at fusionpbx.int] from ip
192.168.3.204

C. Call : Itried to make a call from PC (1104) to Laptop (1105) .. it's
failed
The Linphone report is as "User is Busy"

Detailed cut of freeswitch.log is posted at
http://pastebin.com/raw.php?i=acGRSWg6

So .. again , Kindly please give me your enlightment

Sincerely
-bino-
Giovanni Maruzzelli
2011-08-02 05:45:57 UTC
Permalink
Use extensions 1001 to 1020 (those are configured in the default dialplan).

-giovanni
Post by bino oetomo
Dear Nandy and All ..
Post by Nandy Dagondon
hi bino,
just change your clients' extension numbers to 1xxx e.g. 2001 to 1001
and 2003 to 1003. no need to use video_record and video_playback. the
stack dialplan, using bridge app, will take care of connecting video.
the codecs settings in vars.xml will negotiate h.263.
-nandy
Thankyou for your fast response
Ok ...
I try to do your sugestion
I create another 10 extension using auto generated .... from 1100 -
1109, and for easy passwords I manualy change each extension's password
to 1234
Next I try to connect linphones to this server.
A. PC Registering : looks fine, with indication in logs file as
2011-08-02 02:42:52.800123 [WARNING] sofia_reg.c:1337 SIP auth challenge
(REGISTER) on sofia profile 'internal' for [1104 at fusionpbx.int] from ip
192.168.10.232
B. Laptop Registering : looks fine, with indication in logs file as
2011-08-02 02:43:37.598379 [WARNING] sofia_reg.c:1337 SIP auth challenge
(REGISTER) on sofia profile 'internal' for [1105 at fusionpbx.int] from ip
192.168.3.204
C. Call : Itried to make a call from PC (1104) to Laptop (1105) .. it's
failed
The Linphone report is as "User is Busy"
Detailed cut of freeswitch.log is posted at
http://pastebin.com/raw.php?i=acGRSWg6
So .. again , Kindly please give me your enlightment
Sincerely
-bino-
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE
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
--
Sent from my mobile device

Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618
bino oetomo
2011-08-03 04:09:45 UTC
Permalink
Post by Giovanni Maruzzelli
Use extensions 1001 to 1020 (those are configured in the default dialplan).
-giovanni
Dear Giovanni, Nandy , and ALL ..

I really appreciate your fast response.
Ok .. I made a clean re-install ... and now it work.
It's a plain freeswitch install .. no management GUI.

Since it work .. I made a complete recursive copy of "conf" directory

Next, I'll try to re install fusionPBX on top of it.
Well .. my target is Freeswitch system with:
- Single but humanizedc domain, i.e : use "mycompany" instead of
"192.168.10.238" as domain name.
- Postgres backend
- simple management GUI

Is there any simpler alternative to FusionPBX ?

I'll give the report as soon as it's installed

Sincerely
-bino-
bino oetomo
2011-08-04 06:30:33 UTC
Permalink
Dear All
C/q Giovani and Nandy

Thx for all your enlightment.
Now it's run using fusionPBX.


I Found there is at least 2 factor that I need to make sure :
1. Domains : it's done
2. Codec : for My FreeSwitch system .. it need that both party used same
v-codec.

Is there some way to :
1. Make freeswitch do transcoding between client ... so that each client
didn't need to set same codec betwen them. Or ..
2. set freeswitch to force clients to use same codec (i.e : H263-1998)

Sincerely
-bino-
Nandy Dagondon
2011-08-04 06:43:40 UTC
Permalink
audio transcoding is possible but not for video.
http://wiki.freeswitch.org/wiki/Codecs#Pass-through_video_codecs
Post by bino oetomo
Dear All
C/q Giovani and Nandy
Thx for all your enlightment.
Now it's run using fusionPBX.
1. Domains : it's done
2. Codec : for My FreeSwitch system .. it need that both party used same
v-codec.
1. Make freeswitch do transcoding between client ... so that each client
didn't need to set same codec betwen them. Or ..
2. set freeswitch to force clients to use same codec (i.e : H263-1998)
Sincerely
-bino-
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110804/a25055ce/attachment.html
Continue reading on narkive:
Loading...