UKVoIPTalk.com

UKVoIPTalk.com

The UK's Number One VoIP Resource

 

Asterisk question

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 =&...


Go Back   UKVoIPTalk.com > Newsgroup Forums > uk.telecom.voip

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2007, 11:51
Steve
Guest
 
Posts: n/a
Default Asterisk question

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
Reply With Quote
  #2 (permalink)  
Old 04-11-2007, 12:14
alexd
Guest
 
Posts: n/a
Default Re: Asterisk question

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

Reply With Quote
  #3 (permalink)  
Old 04-11-2007, 22:19
Cardiff IT Support Ltd
Guest
 
Posts: n/a
Default Re: Asterisk question

>> 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?


Reply With Quote
  #4 (permalink)  
Old 05-11-2007, 07:53
balu
Guest
 
Posts: n/a
Default Re: Asterisk question

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....)



Reply With Quote
  #5 (permalink)  
Old 06-11-2007, 21:06
alexd
Guest
 
Posts: n/a
Default Re: Asterisk question

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

Reply With Quote
  #6 (permalink)  
Old 06-11-2007, 21:08
alexd
Guest
 
Posts: n/a
Default Re: Asterisk question

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

Reply With Quote
  #7 (permalink)  
Old 06-11-2007, 23:05
Cardiff IT Support Ltd
Guest
 
Posts: n/a
Default Re: Asterisk question

"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)


Reply With Quote
  #8 (permalink)  
Old 07-11-2007, 09:29
alexd
Guest
 
Posts: n/a
Default Re: Asterisk question

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

Reply With Quote
  #9 (permalink)  
Old 09-11-2007, 22:00
Steve
Guest
 
Posts: n/a
Default Re: Asterisk question

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

Reply With Quote
  #10 (permalink)  
Old 10-11-2007, 11:09
alexd
Guest
 
Posts: n/a
Default Re: Asterisk question

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

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 00:58.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0