mondain / red5phone

Automatically exported from code.google.com/p/red5phone
1 stars 1 forks source link

Click to Call - can't register same sip account to register from multiple remote locations #165

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Here's what I did
What steps will reproduce the problem?
1. Modify the openlaszlo webphone template, and changed it to clicktocall.
   So now, I only have one button, which changes 
   from one state to another (Using the label):
     * First disabled the button - label "Connecting". It will 
       automatically try to connect (phone.login)
     * When its connected, I enabled it and changed the label to "Call",
       but if it was not able to connect I will enable the button and
       changed the label to "Reconnect".  When you press the 
       "Reconnect" button it will try to connect again.  (phone.login)
     * Once the "Call" button is pressed, I register the sip account, call a
       number, and changed the label to "[Ringing]". 
       (phone.register and phone.call)
     * There are two instance in the "[Ringing]" Phase:
       1. When the caller click the "[Ringing]" button, it stop
          calling and go back to the "Call" stage
       2. When the callee accepts the call the button changes from
          "Ringing" to "HangUp".
     * Finally, when the "HangUp" button is pressed or when the 
       callee hangup the phone, It will go back to "Call"     
       state. (phone.hangup)

2. The problem is that I can't register same sip account to register from 
multiple remote locations.  

3.

What is the expected output? What do you see instead?
    What I want to happened to be able to connect same account to multiple 
remote locations.  
    What is happening instead is that when I make a call in computer A and hangup, I
cannot make a call to computer B (unless I exit the webpage from computer A). 

What version of the product are you using? On what operating system?
* Red5 0.8
* Red5Phone sip_r553
* Windows 7

Please provide any additional information below.

   See the attached zip file

   A BIG Thanks to you guys for developing
   this awesome yet free Software.

Original issue reported on code.google.com by glenson....@gmail.com on 26 Aug 2011 at 12:10

Attachments:

GoogleCodeExporter commented 9 years ago
Heres the zip file

Original comment by glenson....@gmail.com on 26 Aug 2011 at 12:26

Attachments:

GoogleCodeExporter commented 9 years ago
Never worked with openlazlo before, but are you unregistering the sip user from 
the server after the call? My guess is the sip user would still be logged in 
even after the call is closed. Check the asterisk console to see if your SIP 
user is unregistered successfully after the call. 

-Hari

Original comment by harikuma...@gmail.com on 31 Aug 2011 at 2:49