The UK's Number One VoIP Resource
This is a discussion on Asterisk question within the uk.telecom.voip forums, part of the Newsgroup Forums category; Hi I am running Asterisk (1.4.x) and have a dial plan like exten => 123456,1,Answer() exten =&...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi
I am running Asterisk (1.4.x) and have a dial plan like exten => 123456,1,Answer() exten => 123456,2,Voicemail(Sip/345......... ................... And I have for a specific number (And I can see the number shows when the person call : 55555 ) I add exten => 123456/55555,1,Answer() exten => 123456/55555,2,dial(Sip/534....) when the person call, he's got NO asnwering machine.... But also doens't make ring the extension ?????? Any idea why ? Is there anybody using this feature ??? Thanks |
|
|||
|
Steve wrote:
[color=blue] > Hi > > I am running Asterisk (1.4.x) and have a dial plan like > > exten => 123456,1,Answer() > exten => 123456,2,Voicemail(Sip/345......... > .................. > And I have for a specific number > (And I can see the number shows when the person call : 55555 ) > > I add > > exten => 123456/55555,1,Answer() > exten => 123456/55555,2,dial(Sip/534....) > > > > when the person call, he's got NO asnwering machine.... > But also doens't make ring the extension ?????? > > Any idea why ?[/color] Open up an Asterisk console and type 'set verbose 5', then make some test calls whilst watching the console output. This should give you an idea why it's failing. [color=blue] > Is there anybody using this feature ???[/color] Probably. -- <http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx) 12:13:00 up 2 days, 4:57, 2 users, load average: 0.22, 0.27, 0.20 50,000 watts of funking power |
|
|||
|
>> Hi[color=blue][color=green]
>> >> I am running Asterisk (1.4.x) and have a dial plan like >> >> exten => 123456,1,Answer() >> exten => 123456,2,Voicemail(Sip/345......... >> .................. >> And I have for a specific number >> (And I can see the number shows when the person call : 55555 ) >> >> I add >> >> exten => 123456/55555,1,Answer() >> exten => 123456/55555,2,dial(Sip/534....) >> >> >> >> when the person call, he's got NO asnwering machine.... >> But also doens't make ring the extension ?????? >> >> Any idea why ?[/color] >[/color] What is it you are trying to achieve? |
|
|||
|
On 4 Nov, 16:51, Steve <u...@mail.com> wrote:[color=blue]
> Hi > > I am running Asterisk (1.4.x) and have a dial plan like > > exten => 123456,1,Answer() > exten => 123456,2,Voicemail(Sip/345......... > .................. > And I have for a specific number > (And I can see the number shows when the person call : 55555 ) > > I add > > exten => 123456/55555,1,Answer() > exten => 123456/55555,2,dial(Sip/534....) > > when the person call, he's got NO asnwering machine.... > But also doens't make ring the extension ?????? > > Any idea why ? > Is there anybody using this feature ??? > > Thanks[/color] exten => 123456/55555,1,Answer() exten => 123456/55555,2,dial(Sip/534....) In the above dial plan, Prority1. You are answering the call Prority2. You are trying to dial XXXXX extn. number the dial plan will execute only when the call lands on the extension "123456/55555" & based on the prority the dial plan will be executed. Hopefully my suggestion is to try with below dialplan exten => _X.,1,Answer() exten => _X.,2,dial(Sip/534....) |
|
|||
|
Cardiff IT Support Ltd wrote:
[color=blue][color=green][color=darkred] >>> exten => 123456/55555,1,Answer() >>> exten => 123456/55555,2,dial(Sip/534....) >>> >>> when the person call, he's got NO asnwering machine.... >>> But also doens't make ring the extension ?????? >>> >>> Any idea why ?[/color] >>[/color] > > What is it you are trying to achieve?[/color] [url]http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.conf[/url] Search that page for 'ex-girlfriend logic'. -- <http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx) 21:05:38 up 4 days, 13:50, 1 user, load average: 0.25, 0.18, 0.14 50,000 watts of funking power |
|
|||
|
balu wrote:
[color=blue] > exten => 123456/55555,1,Answer() > exten => 123456/55555,2,dial(Sip/534....) > > In the above dial plan, > Prority1. You are answering the call > Prority2. You are trying to dial XXXXX extn. number > > the dial plan will execute only when the call lands on the extension > "123456/55555" & based on the prority the dial plan will be executed. > > Hopefully my suggestion is to try with below dialplan > exten => _X.,1,Answer() > exten => _X.,2,dial(Sip/534....)[/color] That will *not* do what the OP is trying to do. -- <http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx) 21:06:48 up 4 days, 13:51, 1 user, load average: 0.29, 0.20, 0.15 50,000 watts of funking power |
|
|||
|
"alexd" <troffasky@hotmail.com> wrote in message
news:1408342.HirN81MW2Q@ale.cx...[color=blue] > balu wrote: >[color=green] >> exten => 123456/55555,1,Answer() >> exten => 123456/55555,2,dial(Sip/534....) >> >> In the above dial plan, >> Prority1. You are answering the call >> Prority2. You are trying to dial XXXXX extn. number >> >> the dial plan will execute only when the call lands on the extension >> "123456/55555" & based on the prority the dial plan will be executed. >> >> Hopefully my suggestion is to try with below dialplan >> exten => _X.,1,Answer() >> exten => _X.,2,dial(Sip/534....)[/color] > > That will *not* do what the OP is trying to do. >[/color] Seriously Alex, out of interest.. what is he trying to do. (In laymans terms) |
|
|||
|
Cardiff IT Support Ltd wrote:
[color=blue] > "alexd" <troffasky@hotmail.com> wrote in message > news:1408342.HirN81MW2Q@ale.cx...[color=green] >> balu wrote: >>[color=darkred] >>> exten => 123456/55555,1,Answer() >>> exten => 123456/55555,2,dial(Sip/534....) >>> >>> In the above dial plan, >>> Prority1. You are answering the call >>> Prority2. You are trying to dial XXXXX extn. number >>> >>> the dial plan will execute only when the call lands on the extension >>> "123456/55555" & based on the prority the dial plan will be executed. >>> >>> Hopefully my suggestion is to try with below dialplan >>> exten => _X.,1,Answer() >>> exten => _X.,2,dial(Sip/534....)[/color] >> >> That will *not* do what the OP is trying to do. >>[/color] > > Seriously Alex, out of interest.. what is he trying to do. (In laymans > terms)[/color] He's trying to route calls immediately to voicemail based on the CallerID [where in his example, 55555 is the CallerID]. It's referred to in various documentation as 'ex-girlfriend logic'. -- <http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx) 09:27:19 up 5 days, 2:12, 1 user, load average: 0.17, 0.09, 0.02 50,000 watts of funking power |
|
|||
|
alexd wrote:[color=blue]
> Cardiff IT Support Ltd wrote: >[color=green] >> "alexd" <troffasky@hotmail.com> wrote in message >> news:1408342.HirN81MW2Q@ale.cx...[color=darkred] >>> balu wrote: >>> >>>> exten => 123456/55555,1,Answer() >>>> exten => 123456/55555,2,dial(Sip/534....) >>>> >>>> In the above dial plan, >>>> Prority1. You are answering the call >>>> Prority2. You are trying to dial XXXXX extn. number >>>> >>>> the dial plan will execute only when the call lands on the extension >>>> "123456/55555" & based on the prority the dial plan will be executed. >>>> >>>> Hopefully my suggestion is to try with below dialplan >>>> exten => _X.,1,Answer() >>>> exten => _X.,2,dial(Sip/534....) >>> That will *not* do what the OP is trying to do. >>>[/color] >> Seriously Alex, out of interest.. what is he trying to do. (In laymans >> terms)[/color] > > He's trying to route calls immediately to voicemail based on the CallerID > [where in his example, 55555 is the CallerID]. It's referred to in various > documentation as 'ex-girlfriend logic'. >[/color] Hi Guys, Thanks for your replies.. I made some tests. If I place a phone with the ID 55555 into the [incoming] context and dial the extension: 123456, I effectively dial the SIP phone 534. I suspect that my VOIPprovider, which is refernced with the extension 123456 (normally) seems NOT to be 123456, which explains why I don't dial the extensions 534 :-( I will try to digg up Thanks anyway |
|
|||
|
Steve wrote:
[color=blue] > If I place a phone with the ID 55555 into the [incoming] context and > dial the extension: 123456, I effectively dial the SIP phone 534. > I suspect that my VOIPprovider, which is refernced with the extension > 123456 (normally) seems NOT to be 123456, which explains why I don't > dial the extensions 534 :-([/color] That's why I suggested running 'set verbose 5', so you can see what number your VoIP provider is sending. If that doesn't work, insert this NoOp(--- ${CALLERID} calling on voip provider (${EXTEN}) ---) somewhere early in the dialplan where you handle incoming calls. -- <http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx) 11:03:36 up 8 days, 3:48, 2 users, load average: 0.05, 0.10, 0.05 50,000 watts of funking power |
![]() |
| Thread Tools | |
| Display Modes | |
|
|