Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-18 Thread Tim Panton
On 15 Feb 2007, at 09:55, Yuan LIU wrote: From: Il Neofita [EMAIL PROTECTED] Date: Thu, 15 Feb 2007 03:37:14 -0500 But I tought that hangup was suppose to close the call, however, is not the case and a really did not catch why. Now I see where the confusion comes from. Asterisk doesn't

Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-18 Thread C F
Asterisk supports this directly by issuing the hangup command before the answer command. However, when using an analog interface like FXO the line has no way of knowing you just hung up and will continue to ring, which asterisk will see as a new call. in my experience even when using a PRI if i

Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-18 Thread Eric \ManxPower\ Wieling
C F wrote: Asterisk supports this directly by issuing the hangup command before the answer command. However, when using an analog interface like FXO the line has no way of knowing you just hung up and will continue to ring, which asterisk will see as a new call. in my experience even when using

Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-18 Thread Il Neofita
Yes, but I would like to try a number and after to try a second one. Any Idea how to avoid this. On 2/18/07, Eric ManxPower Wieling [EMAIL PROTECTED] wrote: C F wrote: Asterisk supports this directly by issuing the hangup command before the answer command. However, when using an analog

Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-18 Thread Eric \ManxPower\ Wieling
Check the value of DIALSTATUS then decide of you want to dial the 2nd number. See [macro-std-exten] in extensions.conf for an example of checking the value of DIALSTATUS. The only time you might want two Dial lines in a row is if you always, not matter what, want to dial the 2nd number. Il

Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-15 Thread Il Neofita
On 2/14/07, Yuan LIU [EMAIL PROTECTED] wrote: Well, you'll have to decide how you want to hang up the caller: Do you want him/her to be ignored, or to be told that you are not available (like an answering machine)? You also need to tell Asterisk how to determine if the next invite comes from

Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-15 Thread Yuan LIU
From: Il Neofita [EMAIL PROTECTED] Date: Thu, 15 Feb 2007 03:37:14 -0500 But I tought that hangup was suppose to close the call, however, is not the case and a really did not catch why. Now I see where the confusion comes from. Asterisk doesn't really speak English - or Chinese for that

Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-15 Thread Il Neofita
Ok thank you a lot!!! On 2/15/07, Yuan LIU [EMAIL PROTECTED] wrote: From: Il Neofita [EMAIL PROTECTED] Date: Thu, 15 Feb 2007 03:37:14 -0500 But I tought that hangup was suppose to close the call, however, is not the case and a really did not catch why. Now I see where the confusion comes

[asterisk-users] Strange behaviour with Dial cmd

2007-02-14 Thread Il Neofita
I have this simple context I am register to an external provider and when I am not home I would like to transfer the phone outside The problem that the call goes in loop I cannot understand why. Can you figure out my error? Thank you sip.conf register = user:[EMAIL PROTECTED]/400 [inside]

RE: [asterisk-users] Strange behaviour with Dial cmd

2007-02-14 Thread Yuan LIU
From: Il Neofita [EMAIL PROTECTED] Date: Wed, 14 Feb 2007 19:30:51 -0500 I have this simple context I am register to an external provider and when I am not home I would like to transfer the phone outside The problem that the call goes in loop I don't see any loop in records below? What

Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-14 Thread Il Neofita
This is the situation A call me at my provider 1 I am not home and I would like to transfer the call I do not pickup the call for some reason I would like to hangup the caller, however, my asterisk try again to call on my mobile over and over I would like to stop it. Any idea? Thank you a lot.

Re: [asterisk-users] Strange behaviour with Dial cmd

2007-02-14 Thread Yuan LIU
From: Il Neofita [EMAIL PROTECTED] Date: Wed, 14 Feb 2007 20:37:52 -0500 This is the situation A call me at my provider 1 I am not home and I would like to transfer the call I do not pickup the call for some reason I would like to hangup the caller, however, my asterisk try again to call on my