RE: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-25 Thread Rich Adamson
 Just submitted a patch for this on asterisk-dev.  
 
 Quick fix add the following line above line 5022 in chan_sip.c
 
 ast_setstate(c,AST_STATE_DOWN);

Just updated to current cvs a few minutes ago primarily to get the
call pickup to function properly. Using C7960's and Snom 200 on RH9.
All compiled and installed cleanly.

Maybe I'm misunderstanding the call pickup functions; here's a couple
of samples from my sip.conf:
[3000]
type=friend
username=3000
secret=mypassword
host=dynamic
context=from-sip
callgroup=2
pickupgroup=2
mailbox=3000
 
[3001]
type=friend
username=3001
secret=mypassword2
host=dynamic
context=from-sip
callgroup=2
pickupgroup=2
callgroup=2
mailbox=3001

[3002]
type=friend
username=3002
secret=mypassword3
host=dynamic
context=from-sip
callgroup=2
pickupgroup=2
mailbox=3002

If station 3002 calls 3001, I'm expecting the user at 3000 to hear
the rining at 3001, and dial *8# to pick it up. When I try that, *8#
does not pick up the call and only receives a busy.

Are my expectations incorrect, my definitions, or what?

Rich



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-25 Thread Pertti Pikkarainen
Did you try to use *8  only   instead of *8#   ?
Last time when I tried  *8 picked the call with known results
but I haven't tested any patches yet.
I really hope call pickup now works.
-- Pertti

Rich Adamson wrote:

Just submitted a patch for this on asterisk-dev.  

Quick fix add the following line above line 5022 in chan_sip.c

ast_setstate(c,AST_STATE_DOWN);
   

Just updated to current cvs a few minutes ago primarily to get the
call pickup to function properly. Using C7960's and Snom 200 on RH9.
All compiled and installed cleanly.
Maybe I'm misunderstanding the call pickup functions; here's a couple
of samples from my sip.conf:
[3000]
type=friend
username=3000
secret=mypassword
host=dynamic
context=from-sip
callgroup=2
pickupgroup=2
mailbox=3000
[3001]
type=friend
username=3001
secret=mypassword2
host=dynamic
context=from-sip
callgroup=2
pickupgroup=2
callgroup=2
mailbox=3001
[3002]
type=friend
username=3002
secret=mypassword3
host=dynamic
context=from-sip
callgroup=2
pickupgroup=2
mailbox=3002
If station 3002 calls 3001, I'm expecting the user at 3000 to hear
the rining at 3001, and dial *8# to pick it up. When I try that, *8#
does not pick up the call and only receives a busy.
Are my expectations incorrect, my definitions, or what?

Rich



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
 

-



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-24 Thread Bisker, Scott (7805)
Just submitted a patch for this on asterisk-dev.  

Quick fix add the following line above line 5022 in chan_sip.c

ast_setstate(c,AST_STATE_DOWN);


Should look like this when you are done.

} else {
5021ast_mutex_unlock(p-lock);
5022ast_setstate(c,
AST_STATE_DOWN);
5023ast_hangup(c);
5024ast_mutex_lock(p-lock);
c = NULL;

-Scott

-Original Message-
From: James Sizemore [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 2:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Call pickup (*8) on SIP devices.


Yes

Ing. Angel Gomez Garcia wrote:


Hello.

I have this issue, when I pickup a call that is ringing in a SIP 
 Phone,  it keeps ringing.
There is bug #116 that mention something about these, but it does 
 not seem to be resolved , at least, not yet.
Anybody else has seen it behavior ?

Thank's.

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-24 Thread Ing. Angel Gomez
Bisker, Scott (7805) wrote:

Just submitted a patch for this on asterisk-dev

GGrreeaatt!!
Will test ASAP.
Thank's.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-23 Thread WipeOut
Ing. Angel Gomez Garcia wrote:

   Hello.

   I have this issue, when I pickup a call that is ringing in a SIP 
Phone,  it keeps ringing.
   There is bug #116 that mention something about these, but it does 
not seem to be resolved , at least, not yet.
   Anybody else has seen it behavior ?

   Thank's.

Everyone.. :)

Its a known issue..

Later..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-23 Thread Ing. Angel Gomez Garcia
WipeOut wrote:

Ing. Angel Gomez Garcia wrote:

   Hello.

   I have this issue, when I pickup a call that is ringing in a SIP 
Phone,  it keeps ringing.
   There is bug #116 that mention something about these, but it does 
not seem to be resolved , at least, not yet.
   Anybody else has seen it behavior ?

   Thank's.

Everyone.. :)

Its a known issue..

Later..

OOhh  :(

Any known workaround ?



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-23 Thread WipeOut
Ing. Angel Gomez Garcia wrote:

WipeOut wrote:

Ing. Angel Gomez Garcia wrote:

   Hello.

   I have this issue, when I pickup a call that is ringing in a SIP 
Phone,  it keeps ringing.
   There is bug #116 that mention something about these, but it does 
not seem to be resolved , at least, not yet.
   Anybody else has seen it behavior ?

   Thank's.

Everyone.. :)

Its a known issue..

Later..

OOhh  :(

Any known workaround ?


Not that I know of..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-23 Thread Thomas Dingermann
WipeOut wrote:
Ing. Angel Gomez Garcia wrote:

WipeOut wrote:

Ing. Angel Gomez Garcia wrote:

   Hello.

   I have this issue, when I pickup a call that is ringing in a SIP 
Phone,  it keeps ringing.
   There is bug #116 that mention something about these, but it does 
not seem to be resolved , at least, not yet.
   Anybody else has seen it behavior ?

   Thank's.

Everyone.. :)

Its a known issue..

Later..

OOhh  :(

Any known workaround ?


Not that I know of..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Here with a snom200/SIP and ATA-186/MGCP everything works fine
(i dial *8 to pick up a call).
-Thomas

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-23 Thread WipeOut
Thomas Dingermann wrote:

WipeOut wrote:

Ing. Angel Gomez Garcia wrote:

WipeOut wrote:

Ing. Angel Gomez Garcia wrote:

   Hello.

   I have this issue, when I pickup a call that is ringing in a 
SIP Phone,  it keeps ringing.
   There is bug #116 that mention something about these, but it 
does not seem to be resolved , at least, not yet.
   Anybody else has seen it behavior ?

   Thank's.

Everyone.. :)

Its a known issue..

Later..

OOhh  :(

Any known workaround ?


Not that I know of..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Here with a snom200/SIP and ATA-186/MGCP everything works fine
(i dial *8 to pick up a call).
-Thomas

May be becasue you are using SIP and MGCP.. But when using 2 SIP UA's 
the phone definately keeps on ringing.. :)

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-23 Thread Clif Jones
Here are some ideas for anyone with some extra time on there hands.
SIP phones on call pickup either use a special REGISTER or you can
place a call with the magic extension and have the switch hang up
on you and immediately call you back.  With the second option, you
could dial *8, Asterisk could check to see if this was a SIP channel
and if so, hangup on the call and somehow add that channel to the current
list of ringing phones.  From the knowledge I have of Asterisk which basically
is configuration info only I'm not sure if this is a clean approach with
the current architecture.  In the commercial SIP world, a forking proxy would
be used and the pickup phone's contact would be added to the ringing phones
contact list for that call only.  The proxy would fork an additional INVITE
to the pickup phone and both phones would ring.  That way the pickup phone
or the original destination phone could answer the call.  Maybe these ideas
will spark some coding. :)
WipeOut wrote:

Ing. Angel Gomez Garcia wrote:

 

WipeOut wrote:

   

Ing. Angel Gomez Garcia wrote:

 

   Hello.

   I have this issue, when I pickup a call that is ringing in a SIP 
Phone,  it keeps ringing.
   There is bug #116 that mention something about these, but it does 
not seem to be resolved , at least, not yet.
   Anybody else has seen it behavior ?

   Thank's.

   

Everyone.. 

Its a known issue..

Later..

 

OOhh  

Any known workaround ?


   

Not that I know of..



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-23 Thread Mark Spencer
okay someone find me on IRC where I can ssh in and i'll really try to fix
this.

Mark

On Thu, 23 Oct 2003, WipeOut wrote:

 Ing. Angel Gomez Garcia wrote:

 
 Hello.
 
 I have this issue, when I pickup a call that is ringing in a SIP
  Phone,  it keeps ringing.
 There is bug #116 that mention something about these, but it does
  not seem to be resolved , at least, not yet.
 Anybody else has seen it behavior ?
 
 Thank's.
 
 Everyone.. :)

 Its a known issue..

 Later..

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Call pickup (*8) on SIP devices.

2003-10-23 Thread James Sizemore
Yes

Ing. Angel Gomez Garcia wrote:

   Hello.

   I have this issue, when I pickup a call that is ringing in a SIP 
Phone,  it keeps ringing.
   There is bug #116 that mention something about these, but it does 
not seem to be resolved , at least, not yet.
   Anybody else has seen it behavior ?

   Thank's.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users