[asterisk-users] Background / Invalid Extension through cell phone

John Congdon john at cyborgcomputing.com
Wed Mar 7 06:20:56 MST 2007


Hi,

I have had an issue for a long time, and really just can't solve it.

My boss and others seem to have a problem when they call into our 
asterisk phone system.  It often takes 3-4 tries of entering an 
extension before the system gets it right.

Below is my context that the call comes into, and some debugging from 
the asterisk console.

[corporate]
;;exten => fax,1,Macro(faxreceive)
#include "local_ext.conf"

exten => s, 1, answer
exten => s, 2, Wait(2)
exten => s, 3, Background(menu_ty)
exten => s, 4, Background(menu_ext)
exten => s, 5, WaitExten(30)
exten => s, 6, Voicemail(u100)
exten => s, 7, Hangup()

exten => t, 1, Hangup
exten => i, 1, goto(s|4)


Below, you will see the call come into Zap/53.  He is trying to dial 
extension 104.  The first few times, only the 4 is recognized.  Then 
14.  But if you look at the cellphone screen, you see 104104104104104104.

    -- Executing BackGround("Zap/53-1", "menu_ext") in new stack
    -- Playing 'menu_ext' (language 'en')
    -- Invalid extension '4' in context 'corporate' on Zap/53-1
  == CDR updated on Zap/53-1
    -- Executing Goto("Zap/53-1", "s|4") in new stack
    -- Goto (corporate,s,4)
    -- Executing BackGround("Zap/53-1", "menu_ext") in new stack
    -- Playing 'menu_ext' (language 'en')
    -- Invalid extension '4' in context 'corporate' on Zap/53-1
  == CDR updated on Zap/53-1
    -- Executing Goto("Zap/53-1", "s|4") in new stack
    -- Goto (corporate,s,4)
    -- Executing BackGround("Zap/53-1", "menu_ext") in new stack
    -- Playing 'menu_ext' (language 'en')
    -- Playing 'vm-intro' (language 'en')
pbx*CLI>
    -- Invalid extension '4' in context 'corporate' on Zap/53-1
  == CDR updated on Zap/53-1
    -- Executing Goto("Zap/53-1", "s|4") in new stack
    -- Goto (corporate,s,4)
    -- Executing BackGround("Zap/53-1", "menu_ext") in new stack
    -- Playing 'menu_ext' (language 'en')
pbx*CLI>
    -- Invalid extension '14' in context 'corporate' on Zap/53-1
  == CDR updated on Zap/53-1
    -- Executing Goto("Zap/53-1", "s|4") in new stack
    -- Goto (corporate,s,4)
    -- Executing BackGround("Zap/53-1", "menu_ext") in new stack
    -- Playing 'menu_ext' (language 'en')
pbx*CLI>
pbx*CLI>
  == Spawn extension (ebay, s, 2) exited non-zero on 'Zap/56-1'
    -- Hungup 'Zap/56-1'
pbx*CLI>
  == CDR updated on Zap/53-1
    -- Executing Macro("Zap/53-1", "stdexten|104|IAX2/congdonj") in new 
stack
    -- Executing Dial("Zap/53-1", "IAX2/congdonj|20|tw") in new stack



More information about the asterisk-users mailing list