Hi, Which type of G.729 codec does freeswitch uses in passthrough mode ? Is it g729a or g729b or g729ab . Regards Sam
G729 only. No A's or AB. If you want to pass through other variants of G.729, you can simply modify mod_g729.c to include additional variants of G729 Which by the way, I've pasted the area of the code you might want to modify. I've done this on mine and it worked fine as pass through. 00217 SWITCH_ADD_CODEC(codec_interface, "G.729A"); 00218 for (count = 12; count > 0; count--) { 00219 switch_core_codec_add_implementation(pool, codec_interface, 00220 SWITCH_CODEC_TYPE_AUDIO, 18, "G729A", NULL, 8000, 8000, 8000, 00221 mpf * count, spf * count, bpf * count, ebpf * count, 1, count * 10, 00222 switch_g729_init, switch_g729_encode, switch_g729_decode, switch_g729_destroy); 00223 } On Tue, Feb 8, 2011 at 7:02 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Which type of G.729 codec does freeswitch uses in passthrough mode ? Is it g729a or g729b or g729ab .
Regards Sam
_______________________________________________ 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
Ah so, I just replied him the opposite :) Are you sure about that ? David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 08/02/2011 à 16:31, curriegrad2004 a écrit :
G729 only. No A's or AB.
If you want to pass through other variants of G.729, you can simply modify mod_g729.c to include additional variants of G729
Which by the way, I've pasted the area of the code you might want to modify. I've done this on mine and it worked fine as pass through.
00217 SWITCH_ADD_CODEC(codec_interface, "G.729A"); 00218 for (count = 12; count > 0; count--) { 00219 switch_core_codec_add_implementation(pool, codec_interface, 00220 SWITCH_CODEC_TYPE_AUDIO, 18, "G729A", NULL, 8000, 8000, 8000, 00221 mpf * count, spf * count, bpf * count, ebpf * count, 1, count * 10, 00222 switch_g729_init, switch_g729_encode, switch_g729_decode, switch_g729_destroy); 00223 }
On Tue, Feb 8, 2011 at 7:02 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Which type of G.729 codec does freeswitch uses in passthrough mode ? Is it g729a or g729b or g729ab .
Regards Sam
_______________________________________________ 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
_______________________________________________ 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
Hi, i like to configure skype for FS. i have a ubuntu rootserver in a datacenter. the server has no X installed. is a text only system. Can i use skype with no X? Thank you. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Wiki.freeswitch.org/mod_skypopen On 2/8/11, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi, i like to configure skype for FS. i have a ubuntu rootserver in a datacenter. the server has no X installed. is a text only system. Can i use skype with no X? Thank you.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Hi Giovanni,
Wiki.freeswitch.org/mod_skypopen I can.t find a textbaseinstallation. in the wiki: On Linux the Skype client can use a lot of CPU if you don't customize your setup. To lower its CPU consumption, you use the Xvfb "fake" X server and (more importantly) the snd-dummy ALSA "fake" sound driver.
I can.t use X!!! --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Why you don't read it ? Xvfb is a fake X server, and is exactly what you want. Read all the wiki page. ;) On 2/8/11, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi Giovanni,
Wiki.freeswitch.org/mod_skypopen I can.t find a textbaseinstallation. in the wiki: On Linux the Skype client can use a lot of CPU if you don't customize your setup. To lower its CPU consumption, you use the Xvfb "fake" X server and (more importantly) the snd-dummy ALSA "fake" sound driver.
I can.t use X!!! --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Hi Giovanni i have read the wike thankx. the wiki described i must install the skypeclient. The client need a X fake server ok. i have found in the wike a secoundway. The way is vnc. The problem is: a vncclient is not working in a text only system. No framebuffer is defined. Do you have skype running on a console like system? --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Skypeclient needs X. You can't use skypeclient without X. Mod_skypopen needs skypeclient. Xvfb is a fake X for console only systems. Xvnc is another fake X for console only systems. Mod_skypopen runs and has been installed only on "console only" systems. Eg: rack sysyems in datacenters far away from you, where you connect via ssh. Is all very extensively documented on the wiki page. If something is not clear in that wiki page, please let me know exactly which issue in which part of the wiki page so I can amend it. On 2/9/11, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi Giovanni
i have read the wike thankx. the wiki described i must install the skypeclient. The client need a X fake server ok. i have found in the wike a secoundway. The way is vnc. The problem is: a vncclient is not working in a text only system. No framebuffer is defined.
Do you have skype running on a console like system?
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Hi Giovanni, thankx for you replay. I using ubuntu lucid. The alsa-driver make a problem. Alsa is compiled correcly from sources. when i execute the following command: root@freeswitch:/# modprobe snd_dummy WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.32-27-generic-pae/kern el/sound/acore/snd-page-alloc.ko): Unknown symbol in module, or unknown paramete r (see dmesg) WARNING: Error inserting snd_timer (/lib/modules/2.6.32-27-generic-pae/kernel/so und/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dme sg) WARNING: Error inserting snd_pcm (/lib/modules/2.6.32-27-generic-pae/kernel/soun d/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting snd_dummy (/lib/modules/2.6.32-27-generic-pae/kernel/soun d/drivers/snd-dummy.ko): Unknown symbol in module, or unknown parameter (see dme sg) i make: depmod -a i reboot the system, the problem is the same. can you looking please? tahkx. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
please do not use a thread for another topic. It will be less useful to other readers. I'll answer opening a new topic -giovanni On Wed, Feb 9, 2011 at 12:22 PM, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi Giovanni, thankx for you replay. I using ubuntu lucid. The alsa-driver make a problem. Alsa is compiled correcly from sources. when i execute the following command: root@freeswitch:/# modprobe snd_dummy WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.32-27-generic-pae/kern el/sound/acore/snd-page-alloc.ko): Unknown symbol in module, or unknown paramete r (see dmesg) WARNING: Error inserting snd_timer (/lib/modules/2.6.32-27-generic-pae/kernel/so und/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dme sg) WARNING: Error inserting snd_pcm (/lib/modules/2.6.32-27-generic-pae/kernel/soun d/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting snd_dummy (/lib/modules/2.6.32-27-generic-pae/kernel/soun d/drivers/snd-dummy.ko): Unknown symbol in module, or unknown parameter (see dme sg)
i make: depmod -a i reboot the system, the problem is the same. can you looking please? tahkx.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Annex A is just an alternative way of encoding the data, using less processing power but at poorer quality. They generate compatible data - decoders both with and without annex a support decode both G729 and G729A encoded data. The difference is purely in the implementation of the encoder/decoder. If your device uses G729A in the SDP, it's broken. Annex B uses the same PT & name. It does work in passthrough mode, as does plain G729. -Steve On 8 February 2011 15:31, curriegrad2004 <curriegrad2004@gmail.com> wrote:
G729 only. No A's or AB.
If you want to pass through other variants of G.729, you can simply modify mod_g729.c to include additional variants of G729
Which by the way, I've pasted the area of the code you might want to modify. I've done this on mine and it worked fine as pass through.
00217 SWITCH_ADD_CODEC(codec_interface, "G.729A"); 00218 for (count = 12; count > 0; count--) { 00219 switch_core_codec_add_implementation(pool, codec_interface, 00220 SWITCH_CODEC_TYPE_AUDIO, 18, "G729A", NULL, 8000, 8000, 8000, 00221 mpf * count, spf * count, bpf * count, ebpf * count, 1, count * 10, 00222 switch_g729_init, switch_g729_encode, switch_g729_decode, switch_g729_destroy); 00223 }
On Tue, Feb 8, 2011 at 7:02 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Which type of G.729 codec does freeswitch uses in passthrough mode ? Is it g729a or g729b or g729ab .
Regards Sam
_______________________________________________ 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
_______________________________________________ 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
On 02/09/2011 12:09 AM, Steven Ayre wrote:
Annex A is just an alternative way of encoding the data, using less processing power but at poorer quality. They generate compatible data - decoders both with and without annex a support decode both G729 and G729A encoded data. The difference is purely in the implementation of the encoder/decoder. If your device uses G729A in the SDP, it's broken. This is correct, but there are still quite a few things around that have broken SDP that says g729a. The last time I looked, Freeswitch had a fudge in the source code to tolerate that.
Annex B uses the same PT & name. It does work in passthrough mode, as does plain G729. There is supplementary info in the SDP to say whether AnnexB is enabled, like so:
a=fmtp:18 annexb=yes
-Steve
On 8 February 2011 15:31, curriegrad2004 <curriegrad2004@gmail.com <mailto:curriegrad2004@gmail.com>> wrote:
G729 only. No A's or AB.
If you want to pass through other variants of G.729, you can simply modify mod_g729.c to include additional variants of G729
Which by the way, I've pasted the area of the code you might want to modify. I've done this on mine and it worked fine as pass through.
00217 SWITCH_ADD_CODEC(codec_interface, "G.729A"); 00218 for (count = 12; count > 0; count--) { 00219 switch_core_codec_add_implementation(pool, codec_interface, 00220 SWITCH_CODEC_TYPE_AUDIO, 18, "G729A", NULL, 8000, 8000, 8000, 00221 mpf * count, spf * count, bpf * count, ebpf * count, 1, count * 10, 00222 switch_g729_init, switch_g729_encode, switch_g729_decode, switch_g729_destroy); 00223 }
On Tue, Feb 8, 2011 at 7:02 AM, Sam <u2nsam@gmail.com <mailto:u2nsam@gmail.com>> wrote: > Hi, > > Which type of G.729 codec does freeswitch uses in passthrough mode ? > Is it g729a or g729b or g729ab . > > Regards > Sam
Steve
On 8 February 2011 17:23, Steve Underwood <steveu@coppice.org> wrote:
On 02/09/2011 12:09 AM, Steven Ayre wrote:
Annex A is just an alternative way of encoding the data, using less processing power but at poorer quality. They generate compatible data - decoders both with and without annex a support decode both G729 and G729A encoded data. The difference is purely in the implementation of the encoder/decoder. If your device uses G729A in the SDP, it's broken. This is correct, but there are still quite a few things around that have broken SDP that says g729a. The last time I looked, Freeswitch had a fudge in the source code to tolerate that.
Cool, didn't realise that. So no modifications should be needed then.
Annex B uses the same PT & name. It does work in passthrough mode, as does plain G729.
There is supplementary info in the SDP to say whether AnnexB is enabled, like so:
a=fmtp:18 annexb=yes
Which is I believe passed to the other leg. Is that correct?
-Steve
On 8 February 2011 15:31, curriegrad2004 <curriegrad2004@gmail.com <mailto:curriegrad2004@gmail.com>> wrote:
G729 only. No A's or AB.
If you want to pass through other variants of G.729, you can simply modify mod_g729.c to include additional variants of G729
Which by the way, I've pasted the area of the code you might want to modify. I've done this on mine and it worked fine as pass through.
00217 SWITCH_ADD_CODEC(codec_interface, "G.729A"); 00218 for (count = 12; count > 0; count--) { 00219 switch_core_codec_add_implementation(pool, codec_interface, 00220 SWITCH_CODEC_TYPE_AUDIO, 18, "G729A", NULL, 8000, 8000, 8000, 00221 mpf * count, spf * count, bpf * count, ebpf * count, 1, count * 10, 00222 switch_g729_init, switch_g729_encode, switch_g729_decode, switch_g729_destroy); 00223 }
On Tue, Feb 8, 2011 at 7:02 AM, Sam <u2nsam@gmail.com <mailto:u2nsam@gmail.com>> wrote: > Hi, > > Which type of G.729 codec does freeswitch uses in passthrough mode ? > Is it g729a or g729b or g729ab . > > Regards > Sam
Steve
_______________________________________________ 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
Is g729 a free codec? --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
the headaches are free but the codec is patented. On Tue, Feb 8, 2011 at 3:27 PM, Thomas Hoellriegel <admin@blindi.net> wrote:
Is g729 a free codec?
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
No :( On 8 February 2011 21:27, Thomas Hoellriegel <admin@blindi.net> wrote:
Is g729 a free codec?
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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
Hi, What changes did you made to accommodate all the variations of G729. Regards Sam On Tue, Feb 8, 2011 at 9:01 PM, curriegrad2004 <curriegrad2004@gmail.com>wrote:
G729 only. No A's or AB.
If you want to pass through other variants of G.729, you can simply modify mod_g729.c to include additional variants of G729
Which by the way, I've pasted the area of the code you might want to modify. I've done this on mine and it worked fine as pass through.
00217 SWITCH_ADD_CODEC(codec_interface, "G.729A"); 00218 for (count = 12; count > 0; count--) { 00219 switch_core_codec_add_implementation(pool, codec_interface, 00220 SWITCH_CODEC_TYPE_AUDIO, 18, "G729A", NULL, 8000, 8000, 8000, 00221 mpf * count, spf * count, bpf * count, ebpf * count, 1, count * 10, 00222 switch_g729_init, switch_g729_encode, switch_g729_decode, switch_g729_destroy); 00223 }
On Tue, Feb 8, 2011 at 7:02 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Which type of G.729 codec does freeswitch uses in passthrough mode ? Is it g729a or g729b or g729ab .
Regards Sam
_______________________________________________ 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
_______________________________________________ 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
Ah, so any devices that use a SDP of G729A is considered to be broken in implementation, right? Most of the cisco-linksys SPA adapters actually default to a SDP of G729A for some reason. On Tue, Feb 8, 2011 at 7:56 PM, Sam <u2nsam@gmail.com> wrote:
Hi,
What changes did you made to accommodate all the variations of G729.
Regards Sam
On Tue, Feb 8, 2011 at 9:01 PM, curriegrad2004 <curriegrad2004@gmail.com> wrote:
G729 only. No A's or AB.
If you want to pass through other variants of G.729, you can simply modify mod_g729.c to include additional variants of G729
Which by the way, I've pasted the area of the code you might want to modify. I've done this on mine and it worked fine as pass through.
00217 SWITCH_ADD_CODEC(codec_interface, "G.729A"); 00218 for (count = 12; count > 0; count--) { 00219 switch_core_codec_add_implementation(pool, codec_interface, 00220 SWITCH_CODEC_TYPE_AUDIO, 18, "G729A", NULL, 8000, 8000, 8000, 00221 mpf * count, spf * count, bpf * count, ebpf * count, 1, count * 10, 00222 switch_g729_init, switch_g729_encode, switch_g729_decode, switch_g729_destroy); 00223 }
On Tue, Feb 8, 2011 at 7:02 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Which type of G.729 codec does freeswitch uses in passthrough mode ? Is it g729a or g729b or g729ab .
Regards Sam
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Hi All I defined a simple dialplan shown below to speak out the current date & time. Now on dialing 555 followed by any digit / digits, freeswitch starts speaking the date & time. I want to define the duplicate access code of 555 say 444 means on dialing 444 followed by digits also should perform the same action. Will be greatfull, if someone can help. Thanks & regards Sharad <!-- Check Current Date & Time from here --> <extension name="speak_date_time"> <condition field="destination_number" expression="^555(.*)$"> <action application="answer"/> <action application="sleep" data="500"/> <action application="playback" data="ivr/today_date_is.wav"/> <action application="sleep" data="100"/> <action application="phrase" data="saydate"/> <action application="sleep" data="500"/> <action application="playback" data="ivr/and_time_is.wav"/> <action application="sleep" data="200"/> <action application="phrase" data="saytime"/> </condition> </extension>
Hi I just realized the mistake I was doing. issue solved. Sorry for taking your time. Thanks ----- Original Message ----- From: "sharad" <sharad@coraltele.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, February 09, 2011 12:56 PM Subject: [Freeswitch-users] Dial Plan Query
Hi All
I defined a simple dialplan shown below to speak out the current date & time.
Now on dialing 555 followed by any digit / digits, freeswitch starts speaking the date & time.
I want to define the duplicate access code of 555 say 444 means on dialing 444 followed by digits also should perform the same action.
Will be greatfull, if someone can help.
Thanks & regards Sharad <!-- Check Current Date & Time from here -->
<extension name="speak_date_time">
<condition field="destination_number" expression="^555(.*)$">
<action application="answer"/>
<action application="sleep" data="500"/>
<action application="playback" data="ivr/today_date_is.wav"/>
<action application="sleep" data="100"/>
<action application="phrase" data="saydate"/>
<action application="sleep" data="500"/>
<action application="playback" data="ivr/and_time_is.wav"/>
<action application="sleep" data="200"/>
<action application="phrase" data="saytime"/>
</condition>
</extension>
I remember that in the Linksys SPA-crap, you can actually change the string they will use in the SDP. A such feature means a lot :) David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 09/02/2011 à 05:36, curriegrad2004 a écrit :
Ah, so any devices that use a SDP of G729A is considered to be broken in implementation, right?
Most of the cisco-linksys SPA adapters actually default to a SDP of G729A for some reason.
On Tue, Feb 8, 2011 at 7:56 PM, Sam <u2nsam@gmail.com> wrote:
Hi,
What changes did you made to accommodate all the variations of G729.
Regards Sam
On Tue, Feb 8, 2011 at 9:01 PM, curriegrad2004 <curriegrad2004@gmail.com> wrote:
G729 only. No A's or AB.
If you want to pass through other variants of G.729, you can simply modify mod_g729.c to include additional variants of G729
Which by the way, I've pasted the area of the code you might want to modify. I've done this on mine and it worked fine as pass through.
00217 SWITCH_ADD_CODEC(codec_interface, "G.729A"); 00218 for (count = 12; count > 0; count--) { 00219 switch_core_codec_add_implementation(pool, codec_interface, 00220 SWITCH_CODEC_TYPE_AUDIO, 18, "G729A", NULL, 8000, 8000, 8000, 00221 mpf * count, spf * count, bpf * count, ebpf * count, 1, count * 10, 00222 switch_g729_init, switch_g729_encode, switch_g729_decode, switch_g729_destroy); 00223 }
On Tue, Feb 8, 2011 at 7:02 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Which type of G.729 codec does freeswitch uses in passthrough mode ? Is it g729a or g729b or g729ab .
Regards Sam
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
Yes. They'll only be able to talk to each other nicely. As Steve Underwood said though, FS apparently has a fudge in it that'll allow it to work in this case since there's so many of the wild. -Steve On 9 February 2011 04:36, curriegrad2004 <curriegrad2004@gmail.com> wrote:
Ah, so any devices that use a SDP of G729A is considered to be broken in implementation, right?
Most of the cisco-linksys SPA adapters actually default to a SDP of G729A for some reason.
On Tue, Feb 8, 2011 at 7:56 PM, Sam <u2nsam@gmail.com> wrote:
Hi,
What changes did you made to accommodate all the variations of G729.
Regards Sam
On Tue, Feb 8, 2011 at 9:01 PM, curriegrad2004 <curriegrad2004@gmail.com
wrote:
G729 only. No A's or AB.
If you want to pass through other variants of G.729, you can simply modify mod_g729.c to include additional variants of G729
Which by the way, I've pasted the area of the code you might want to modify. I've done this on mine and it worked fine as pass through.
00217 SWITCH_ADD_CODEC(codec_interface, "G.729A"); 00218 for (count = 12; count > 0; count--) { 00219 switch_core_codec_add_implementation(pool, codec_interface, 00220 SWITCH_CODEC_TYPE_AUDIO, 18, "G729A", NULL, 8000, 8000, 8000, 00221 mpf * count, spf * count, bpf * count, ebpf * count, 1, count * 10, 00222 switch_g729_init, switch_g729_encode, switch_g729_decode, switch_g729_destroy); 00223 }
On Tue, Feb 8, 2011 at 7:02 AM, Sam <u2nsam@gmail.com> wrote:
Hi,
Which type of G.729 codec does freeswitch uses in passthrough mode ? Is it g729a or g729b or g729ab .
Regards Sam
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
On 02/09/2011 12:36 PM, curriegrad2004 wrote:
Ah, so any devices that use a SDP of G729A is considered to be broken in implementation, right?
Most of the cisco-linksys SPA adapters actually default to a SDP of G729A for some reason. Depends how you view the term broken. They don't comply with the standards, that's for sure. A lot of older Cisco kit is far more broken, as they have the G.729 bits packed in a different order from the rest of humanity.
Most recent versions of Cisco/Linksys software have corrected these issues. They allow you to use the wrong packing or the SDP tag "g729a" for backwards compatibility with their own kit, and standards compliant SDP and/or RTP for compatibility with other kit. Steve
Sam, Passthrough, as its name clearly states, is passthrough. G729 A/B/AB share the same SDP PT (18). Also, G729 and G729A are compatible. And B is just the VAD support. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 08/02/2011 à 16:02, Sam a écrit :
Hi,
Which type of G.729 codec does freeswitch uses in passthrough mode ? Is it g729a or g729b or g729ab .
Regards Sam
_______________________________________________ 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
participants (9)
-
Anthony Minessale
-
curriegrad2004
-
David Ponzone
-
Giovanni Maruzzelli
-
Sam
-
sharad
-
Steve Underwood
-
Steven Ayre
-
Thomas Hoellriegel