Re: [Asterisk-Users] dialplan defenition (goooooooal)

2005-08-11 Thread Eric Wieling aka ManxPower
Joao Pereira wrote: I got it The siemens PBX is cutting the 74XXX in XXX, and thats why it wasnt working. Now, to implement my dialplan in witch all the SIP phones are 74XXX, I must put the 74 manually, and the line is: exten => _XXX,1,Dial(SIP/[EMAIL PROTECTED],5,r) Don't use "r". r:

Re: [Asterisk-Users] dialplan defenition (goooooooal)

2005-08-11 Thread Joao Pereira
I got it The siemens PBX is cutting the 74XXX in XXX, and thats why it wasnt working. Now, to implement my dialplan in witch all the SIP phones are 74XXX, I must put the 74 manually, and the line is: exten => _XXX,1,Dial(SIP/[EMAIL PROTECTED],5,r) Thank you to everyone that helped me. Che

Re: [Asterisk-Users] dialplan defenition (closer)

2005-08-11 Thread Joao Pereira
The "IP -> pbx extension" calls are already workin fine. Now Im just configuring the "pbx extension -> IP" calls this way: [pbx extensions] --- [SIEMENS PBX] [ASTERISK] --- [SER] --- [sip clients] Thats why the Dial is for SIP only. Now Im going to try to get the 118 in Asterisk, because

Re: [Asterisk-Users] dialplan defenition (closer)

2005-08-10 Thread Daniel Varella de Oliveira
Joao, I don't think that number 81 is part of the dialed digits. Maybe this is an ID of this or something like this. I think that asterisk is not recognizing the first 2 digits, and passing just the others maybe is something related about ignorepat (like a "don't ignore pattern ?"). An

Re: [Asterisk-Users] dialplan defenition (closer)

2005-08-10 Thread Armin Schindler
On Wed, 10 Aug 2005, Joao Pereira wrote: > Ok, I m getting to the point, > This route: > exten => _74XXX,1,Dial(SIP/[EMAIL PROTECTED],30,r) > Isn't working because the dialed number isnt maching _74XXX > > I putted Asterisk in "capi debug" mode and when I dial 74118 he says: > > > gnugk*CLI> cap

Re: [Asterisk-Users] dialplan defenition (closer)

2005-08-10 Thread Joao Pereira
Ok, I m getting to the point, This route: exten => _74XXX,1,Dial(SIP/[EMAIL PROTECTED],30,r) Isn't working because the dialed number isnt maching _74XXX I putted Asterisk in "capi debug" mode and when I dial 74118 he says: gnugk*CLI> capi debug CAPI Debugging Enabled -- CONNECT_IND ID=001 #0

RE: [Asterisk-Users] dialplan defenition

2005-08-10 Thread Jason Walker
gt; i, s, t, etc.). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joao Pereira Sent: Wednesday, August 10, 2005 7:59 AM To: Asterisk Users Mailing List - Non-Commercial Discussion; [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] dialplan defenitio

Re: [Asterisk-Users] dialplan defenition

2005-08-10 Thread Joao Pereira
yes, I know, in my extensions.conf is writen correctly. Thanks Joao Bryce Chidester wrote: On Wed, 2005-08-10 at 15:51 +0100, Joao Pereira wrote: exten => _74XXX,1,Dial(SIP/[EMAIL PROTECTED],30,r) Just an observation that you have an invalid address there; you have 1193 instead of 1

Re: [Asterisk-Users] dialplan defenition

2005-08-10 Thread Joao Pereira
But to have a transparent integration with VoIP and legacy, I cant make users dial twice... or having to whait for Asterisks dialtone, and dial the number. I whant to dial the 74XXX from a PBX extension (74118 for example) and the IP phone rings. Asterisk just need to forward the 74XXX calls, th

Re: [Asterisk-Users] dialplan defenition

2005-08-10 Thread Bryce Chidester
On Wed, 2005-08-10 at 15:51 +0100, Joao Pereira wrote: > exten => _74XXX,1,Dial(SIP/[EMAIL PROTECTED],30,r) Just an observation that you have an invalid address there; you have 1193 instead of 193 I believe. Fix this and I see no reason for your problem to remain. -- -Bryce [EMAIL PROTECTED] N

Re: [Asterisk-Users] dialplan defenition

2005-08-10 Thread Joao Pereira
Ok, but thats static routing. My architecture is this: [pbx extensions] --- [SIEMENS PBX] [ASTERISK] --- [SER] --- [sip clients] I can't put in Asterisks sip.conf the hundreds of pbx extensions (and they are always changing), I must do a dinamic forward for all 74XXX calls. I think thi

Re: [Asterisk-Users] dialplan defenition

2005-08-01 Thread Matt Riddell
Joao Pereira wrote: Hello list, Im writing my dial plan, in witch every SIP phone begins with 74 and has more 3 numbers (like 74XXX). So, I want to route all 74XXX calls to my sip channel. For this I wrote this line: exten => s,1,Dial(SIP/[EMAIL PROTECTED],30,r) What is happening is that cap

Re: [Asterisk-Users] dialplan defenition

2005-07-29 Thread Moises Silva
the problem is how are you getting there? i mean, what do you have in sip.conf and please post all the relevant text in extensions.conf, not just the 'exten => blah' part, we need to know context names to see if its matching the sip.conf configuration regards On 7/28/05, Joao Pereira <[EMAIL PROT

Re: [Asterisk-Users] dialplan defenition

2005-07-28 Thread David Koski
On Thu, 28 Jul 2005 10:30:15 +0100 Joao Pereira <[EMAIL PROTECTED]> wrote: > Then I tried: > exten => s,1,Dial(SIP/[EMAIL PROTECTED],30,r) I like to do this: ** extensions.conf ** [globals] MYSIP=SIP/mysipphone [mycontext] exten => _74XXX,1,Dial(${MYSIP}/${EXTEN}) ;exten => _74XXX,1,Dial(${

Re: [Asterisk-Users] dialplan defenition

2005-07-28 Thread Christian Victor
So just don't send them to extension s but extension _74XXX Christian Joao Pereira schrieb: I had tried that also, but it didnt work. In that case, if I dial 74118 (for example) Asterisk answers this: pbx.c:1877 ast_pbx_run: Channel 'CAPI[contr1/118]/0' sent into invalid extension 's' in con

Re: [Asterisk-Users] dialplan defenition

2005-07-28 Thread Moises Silva
the problem is that you are using the 's' extension. If you want to match, as you said, the numbers like 74XX, then you should put something like this: [sipextens] exten => _74XX,1,Dial(SIP/[EMAIL PROTECTED],30,r) in this way, all the numbers starting with 74 followed by 2 more numbers, will be c

Re: [Asterisk-Users] dialplan defenition

2005-07-28 Thread Joao Pereira
I had tried that also, but it didnt work. In that case, if I dial 74118 (for example) Asterisk answers this: pbx.c:1877 ast_pbx_run: Channel 'CAPI[contr1/118]/0' sent into invalid extension 's' in context 'default', but no invalid handler I think it needs the "s"... but how do I put the "s" a

Re: [Asterisk-Users] dialplan defenition

2005-07-28 Thread Christian Victor
Joao Pereira schrieb: Im writing my dial plan, in witch every SIP phone begins with 74 and has more 3 numbers (like 74XXX). So, I want to route all 74XXX calls to my sip channel. For this I wrote this line: exten => s,1,Dial(SIP/[EMAIL PROTECTED],30,r) but this way all calls go to [EMAIL PROTE

[Asterisk-Users] dialplan defenition

2005-07-28 Thread Joao Pereira
Hello list, Im writing my dial plan, in witch every SIP phone begins with 74 and has more 3 numbers (like 74XXX). So, I want to route all 74XXX calls to my sip channel. For this I wrote this line: exten => s,1,Dial(SIP/[EMAIL PROTECTED],30,r) but this way all calls go to [EMAIL PROTECTED] ...