Re: [Freeswitch-users] FS Documentation Idea (was RE: FS and DIDs)

2008-09-10 Thread Brian West
Various behaviors can already be changed using variables on the same profile. Along with ip auth per user.. and many more. /b On Sep 11, 2008, at 1:32 AM, UV wrote: I might be all wrong and FS does facilitate for such functionality in a way I wasn’t aware of. Brian West sip:[EMAIL PROTEC

Re: [Freeswitch-users] FS Documentation Idea (was RE: FS and DIDs)

2008-09-10 Thread UV
According to my understanding, in FS, a gateway is a mechanism for the FS to authenticate when making outgoing calls. If you wish to receive a mixture of SIP calls on the same IP/port on FS you are pretty bound to the same SIP Profile settings for all those inbound entities. On other softswitch

Re: [Freeswitch-users] FS and DIDs

2008-09-10 Thread Rehan Allah Wala
can we announce the didx partnership for freeswitch ? > > Shouldn't be a problem. /b > > On Sep 10, 2008, at 8:34 PM, Jair Santos wrote: > > If the provider send me, say 100 DIDs, can I point each of them to a > different extension ? > > Rehan Ahmed AllahWala Msn/Yahoo/GoogleTalk/E

Re: [Freeswitch-users] mod_python post-processing after hangup

2008-09-10 Thread Michael Collins
IIRC, Anthony mentioned an elegant way of handling this not too long ago, although it was with a different language. The gist of it was this: While (session.is.active) { Do stuff } Do stuff after hangup Obviously you'll need to use Python-ish syntax but you get the idea. Alternatively you can

[Freeswitch-users] FS Documentation Idea (was RE: FS and DIDs)

2008-09-10 Thread Michael Collins
You don't setup gateways to receive calls. You can just have your provider send as many did's at you as they feel free to send. Just don't auth-calls on that profile that all the did's hit. A gateway has nothing to do with DID's it just registers to the far side and is used when they challeng

[Freeswitch-users] mod_python post-processing after hangup

2008-09-10 Thread Novak Joe
Hi, I'd like to run some process after a hangup, in the background. I'm using mod_python and would like to run something after a call ends. In the snippet below I'd like the call to hangup at 'session.hangup(1)' then the consoleLog to print the 'Testing' message 15 seconds later. At pr

Re: [Freeswitch-users] Tracemonkey engine

2008-09-10 Thread Ruchir Brahmbhatt
Yeah its still in development. Its good to know that work is going on to integrate tracemonkey in FS. Thanks, Ruchir Brahmbhatt Director Ecosmob Technologies Pvt. Ltd. -Original Message- From: Michael Jerris <[EMAIL PROTECTED]> Reply-To: freeswitch-users@lists.freeswitch.org To: freeswit

Re: [Freeswitch-users] transfer an extablished call

2008-09-10 Thread Michael Collins
Maybe, But, I achieved it this way: [EMAIL PROTECTED]> originate A B [EMAIL PROTECTED]> show channels (find out corresponding UUIDs) [EMAIL PROTECTED]> uuid_transfer C If you haven't already figured it out then remember this axiom: In FreeSWITCH, if you know the UUID of a call you c

Re: [Freeswitch-users] Re-Recording

2008-09-10 Thread Brian West
You can't record.. rewind and append the recording. That isn't a function that you can do just yet. /b On Sep 10, 2008, at 11:21 PM, Robert Clayton wrote: > All, > > I understand how to use the inputcallback to seek to a new position > during playback. > But how can I mix playback and recor

[Freeswitch-users] Re-Recording

2008-09-10 Thread Robert Clayton
All, I understand how to use the inputcallback to seek to a new position during playback. But how can I mix playback and recording. For example: But how would I playback a recording (say 8 seconds) allow a user to pause (say 6 seconds) then cease playing and allow the user to begin recording from

Re: [Freeswitch-users] Passing variable argument in a dial plan

2008-09-10 Thread Brian West
Nope. This should be handled inside mod_java to parse and pass the args into the java env. /b On Sep 10, 2008, at 10:41 PM, Gayatri Kulkarni wrote: Can you add to ?? something like: Regards, Gayat

Re: [Freeswitch-users] Passing variable argument in a dial plan

2008-09-10 Thread Gayatri Kulkarni
Can you add to ?? something like: Regards, Gayatri Kulkarni - Whenever you find yourself on the side of the majority, it is time to pause and reflect. From: Adeel Ansari Sent: Wednesday, Septemb

Re: [Freeswitch-users] transfer an extablished call

2008-09-10 Thread Gayatri Kulkarni
Maybe, But, I achieved it this way: [EMAIL PROTECTED]> originate A B [EMAIL PROTECTED]> show channels (find out corresponding UUIDs) [EMAIL PROTECTED]> uuid_transfer C Thanks a lot for your help, your answer is right; but if we don't want to be dependent on phones we can do it the way I did. R

Re: [Freeswitch-users] FS and DIDs

2008-09-10 Thread Shawn Lewis
How would that look? Michael Jerris wrote: > you could also have a single dial-plan extension that did a condition > based on host. > > Mike > > On Sep 10, 2008, at 9:34 PM, Jair Santos wrote: > >> If the provider send me, say 100 DIDs, can I point each of them to a >> different extension ? >>

Re: [Freeswitch-users] FS and DIDs

2008-09-10 Thread Michael Jerris
you could also have a single dial-plan extension that did a condition based on host. Mike On Sep 10, 2008, at 9:34 PM, Jair Santos wrote: If the provider send me, say 100 DIDs, can I point each of them to a different extension ? So I'll have 100 DIDs each of them ringing on a different

Re: [Freeswitch-users] FS and DIDs

2008-09-10 Thread Brian West
Shouldn't be a problem. /b On Sep 10, 2008, at 8:34 PM, Jair Santos wrote: If the provider send me, say 100 DIDs, can I point each of them to a different extension ? ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://l

Re: [Freeswitch-users] FS and DIDs

2008-09-10 Thread Jair Santos
If the provider send me, say 100 DIDs, can I point each of them to a different extension ? So I'll have 100 DIDs each of them ringing on a different extension? Is this the correct config ? Jair Santos -Original Messa

Re: [Freeswitch-users] FS and DIDs

2008-09-10 Thread Brian West
You don't setup gateways to receive calls. You can just have your provider send as many did's at you as they feel free to send. Just don't auth-calls on that profile that all the did's hit. A gateway has nothing to do with DID's it just registers to the far side and is used when they cha

[Freeswitch-users] FS and DIDs

2008-09-10 Thread Jair Santos
Hi all, the wiki provides information about how to receive an inbound call http://wiki.freeswitch.org/wiki/Getting_Started_Guide#Receiving_an_inbound_c all_from_a_Gateway The problem is that I can have only one DID per gateway. I would like to use one gateway that will allow several F

Re: [Freeswitch-users] DTMF Reading and Playing

2008-09-10 Thread Michael Collins
> Folks, > > I got two questions: > > 1) How do i configure Freeswitch to detect inband DTMF? Start here: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf > 2) How do i play DTMF to the remote caller? Check this out: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_send_dtmf

[Freeswitch-users] DTMF Reading and Playing

2008-09-10 Thread Klaus Teller
Folks, I got two questions: 1) How do i configure Freeswitch to detect inband DTMF? 2) How do i play DTMF to the remote caller? Appreciate your answers. Klaus. -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

Re: [Freeswitch-users] Tracemonkey engine

2008-09-10 Thread Michael Jerris
There is work ongoing to get this merged in. I have a few concerns that this code is still quite new so the timing and stability of a merge is still in question, but I would expect it to happen probably before the release of the next firefox once we are able to confirm stability and integr

[Freeswitch-users] Tracemonkey engine

2008-09-10 Thread Ruchir Brahmbhatt
Hi All, FreeSwitch uses SpiderMonkey javascript engine which is very good. Now how about using TraceMonkey engine which is next version offering very high performance. Its fastest javascript engine according to this post: http://developer.mozilla.org/devnews/index.php/2008/09/09/aboutmozilla-firef

Re: [Freeswitch-users] Scheduled hangup from javascript

2008-09-10 Thread Brian West
Please take the time to document or update the wiki to ensure others don't run into the same problem. /b On Sep 10, 2008, at 12:09 AM, vidhya sagar dixit wrote: > > Hi Brian , > > I got it working by removing a leading + sign.The correct syntax is > > new_session.execute("sched_hangup", "+"+ca

Re: [Freeswitch-users] Recording and Playing Audio

2008-09-10 Thread Brian West
See previous email same method applies to the streamfile and recordfile methods. /b On Sep 10, 2008, at 8:53 AM, Robert Clayton wrote: > All, > > What command denotes the end of audio recording with recordFile so > that the recorded file can be played back to the user by streamFile? > > Bob

Re: [Freeswitch-users] Seeking in recordFIle

2008-09-10 Thread Brian West
You can use the inputCallback for this. Example values you can return during that event callback to influence the playback: pause stop speed:[-|+]1 (example speed:+2) restart seek:[-|+]samples (example seek:+4000) Here is an example in lua: function all_done(s, how) --os.exit(); --e

[Freeswitch-users] Recording and Playing Audio

2008-09-10 Thread Robert Clayton
All, What command denotes the end of audio recording with recordFile so that the recorded file can be played back to the user by streamFile? Bob ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/

[Freeswitch-users] Seeking in recordFIle

2008-09-10 Thread Robert Clayton
All, Where streamFile allows you to seek forward and backward by samples. Is there anyway to seek backward and play a file to a user allowing the user to pause and continue recording (I assume with recordFile) a file at an intermediate point (not insert). Bob _

Re: [Freeswitch-users] transfer an extablished call

2008-09-10 Thread Anthony Minessale
once the call is up use sip phones features to xfer. On Tue, Sep 9, 2008 at 10:48 PM, Gayatri Kulkarni <[EMAIL PROTECTED]>wrote: > doesnt work! > it simply originates 2 diff calls - 1st on line1 the other on line 2 > is there a way to merge these calls? > > The scene I want is: > > A---calls--->

Re: [Freeswitch-users] listing gateways

2008-09-10 Thread Anthony Minessale
no there is not any way to do that. I'm sure you could post a bounty to get it added. On Wed, Sep 10, 2008 at 1:32 AM, Gayatri Kulkarni <[EMAIL PROTECTED]>wrote: > > Guys, > > Is there any way to list only gateways registered to freeswitch? > What database table has the registered devices info?

Re: [Freeswitch-users] Passing variable argument in a dial plan

2008-09-10 Thread Anthony Minessale
${variable_name} On Wed, Sep 10, 2008 at 4:55 AM, Adeel Ansari <[EMAIL PROTECTED]> wrote: > Hi all, > > I am hitting a dial plan using a command. And the application defined in > the dial plan is running successfully with the argument passed. Below is the > illustration. > > *Command* > originate

Re: [Freeswitch-users] Command working on console but not using RPC

2008-09-10 Thread Anthony Minessale
your uuid variable must have some extra or missing characters in it. On Wed, Sep 10, 2008 at 5:00 AM, Adeel Ansari <[EMAIL PROTECTED]> wrote: > -ERR No Such Channel! > > But when I immediately switch to console and issue the same command with > the same session uuid, it works. > Thanks > > On Fri

Re: [Freeswitch-users] registration problem

2008-09-10 Thread Diego Viola
I don't have much experience with FS behind NAT, but check this out, maybe it will help: http://wiki.freeswitch.org/wiki/NAT http://wiki.freeswitch.org/wiki/NAT_Traversal http://wiki.freeswitch.org/wiki/External_profile http://wiki.freeswitch.org/wiki/NAT_Traversal Diego On Wed, Sep 10, 2008 at

Re: [Freeswitch-users] registration problem

2008-09-10 Thread Gayatri Kulkarni
i think so On Wed, Sep 10, 2008 at 3:09 PM, Diego Viola <[EMAIL PROTECTED]> wrote: > Is NAT involved in your network? > > Diego > > On Wed, Sep 10, 2008 at 3:42 AM, Gayatri Kulkarni > <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > > > I have FS installed on 58.86.117.43 > > I have the X-lite on 68.8

Re: [Freeswitch-users] Command working on console but not using RPC

2008-09-10 Thread Adeel Ansari
-ERR No Such Channel! But when I immediately switch to console and issue the same command with the same session uuid, it works. Thanks On Fri, Aug 29, 2008 at 9:04 PM, Anthony Minessale < [EMAIL PROTECTED]> wrote: > what's the error you get? > > On Fri, Aug 29, 2008 at 4:51 AM, Adeel Ansari <[EM

[Freeswitch-users] Passing variable argument in a dial plan

2008-09-10 Thread Adeel Ansari
Hi all, I am hitting a dial plan using a command. And the application defined in the dial plan is running successfully with the argument passed. Below is the illustration. *Command* originate sofia/gateway/gizmo1/848458448557 121 *Dial Plan* My

Re: [Freeswitch-users] registration problem

2008-09-10 Thread Diego Viola
Is NAT involved in your network? Diego On Wed, Sep 10, 2008 at 3:42 AM, Gayatri Kulkarni <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I have FS installed on 58.86.117.43 > I have the X-lite on 68.86.117.44 > The X-Lite cannot register to the FS - can you guess why? > SIP account settings for Xlite:

Re: [Freeswitch-users] How to divert a virtual PSTN line to another server ?

2008-09-10 Thread henkoegema
To see what's happening with the voip packets from my router I want to do following: I have Wireshark installed on pc 192.168.1.101. Can (if so, how?) I monitor traffic from my router (192.168.1.1) and flowing into the LAN network (f.e. to 192.168.1.100) ? Or can I only monitor traffic from a

[Freeswitch-users] registration problem

2008-09-10 Thread Gayatri Kulkarni
Hi Guys, I have FS installed on 58.86.117.43 I have the X-lite on 68.86.117.44 The X-Lite cannot register to the FS - can you guess why? SIP account settings for Xlite: Username: 1002 Password: 1234 Auth user name: 1002 domain: 58.86.117.43 Topology: IP address: Discover at runtime STUN server: