[Home]

Summary:ASTERISK-00998: exten => i does not work
Reporter:Pavel Litvinenko (pavell)Labels:
Date Opened:2004-02-05 12:25:34.000-0600Date Closed:2011-06-07 14:05:25
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:
phongo*CLI> mgcp show endpoints
Gateway 'noc' at 192.168.106.5 (Static)
  -- 'aaln/2@noc in 'tech_o' is idle
  -- 'aaln/1@noc in 'tech_o' is idle

phongo*CLI> show dialplan tech_o
[ Context 'tech_o' created by 'pbx_config' ]
 '6010' =>         1. Dial(MGCP/aaln/2@noc|30|Tt)                [pbx_config]
 '6011' =>         1. Dial(MGCP/aaln/1@noc|30|Tt)                [pbx_config]
 'i' =>            1. Answer()                                   [pbx_config]
                   2. Playback(invalid)                          [pbx_config]

phongo*CLI>

asterisk  4-feb-2004 cvs

when I dial the wrong extention - asterisk does not run 'i' exten.

phongo*CLI> set verbose 100
phongo*CLI>
   -- Endpoint 'aaln/2@noc-1' observed 'hd'
   -- MGCP mgcp_new(MGCP/aaln/2@noc-1) created in state: Down
Feb  5 20:58:32 NOTICE[327701]: rtp.c:264 process_rfc3389: RFC3389 support incomplete.  Turn off on client if possible
   -- Endpoint 'aaln/2@noc-1' observed '0'
   -- Endpoint 'aaln/2@noc-1' observed 'hu'
   -- MGCP handle_request(aaln/2@noc-1) ast_channel already destroyed
   -- MGCP handle_request(aaln/2@noc) set vmwi(-)

Comments:By: Olle Johansson (oej) 2004-02-05 15:05:14.000-0600

Please upload the extension.conf you're using.

By: Brian West (bkw918) 2004-02-05 19:17:00.000-0600

yes please do because I use exten => i daily and it works.  I suspect you have something wrong.

By: Pavel Litvinenko (pavell) 2004-02-06 00:40:34.000-0600

[general]
static=yes
writeprotect=yes

[globals]


[tech_o]

exten => i,1,Answer
exten => i,2,Playback(invalid)

exten => 6010,1,Dial,MGCP/aaln/2@noc|30|Tt
exten => 6012,1,Dial,MGCP/aaln/1@noc|30|Tt

By: Brian West (bkw918) 2004-02-06 00:53:18.000-0600

Seems to be an MGCP only bug.

By: Pavel Litvinenko (pavell) 2004-02-06 01:05:57.000-0600

it does not work with zap channels too (zaphfc is used)
phongo*CLI> set verbose 100
MFE for TEI = 64
   -- Extension '55' in context 'tech_o' from '6113' does not exist.  Rejecting call on channel 2, span 1

By: Brian West (bkw918) 2004-02-07 00:15:33.000-0600

ok a call from exten 6113 to exten 55 iin context tech_o.  I don't see exten 55 and I see the call being rejected by the span and not even making it that far into your dialplan.

By: Brian West (bkw918) 2004-02-07 00:18:33.000-0600

This isn't a bug.