Hi all, I am having difficulty getting incoming PSTN calls working.
I have set up an account with a third party provider. In my system, the user
register with SER and use Asterisk for PSTN access, voicemail etc My provider told me to change my sip.conf as follows register =>
username:[EMAIL PROTECTED]/2093 And then in my extensions.conf to have something similar to
the following (or however I wanted to handle my incoming calls) [incomingpstn] exten =>
2093,1,Wait(1) exten =>
2093,n,Background(MainMenu) exten =>
1,1,Goto(InternalExtension,2093,1) //press
1 for internal extensions. This didn’t work and I kept getting a 404 not found
error saying the user didn’t exist. I tried creating the user in sip.conf
and pointing it to the appropriate context but that didn’t work either.
The only way I can get it to work is to copy the code I had in the ‘incomingpstn’ context of my extension.conf
to the ‘default’ context. i.e. [default] exten =>
2093,1,Wait(1) exten =>
2093,n,Background(MainMenu) exten =>
1,1,Goto(InternalExtension,2093,1) Then the file would play. First of all I don’t get why
this is…It doesn’t even seem to refer to the code in my sip.conf…I
don’t get it. Secondly whilst moving this code to the default context
means I can hear my initial welcome menu, when I press ‘1’ to
interrupt the menu and move to menu option 1 (another sound file) it won’t
let me interrupt and I eventually get the error “Timeout but no rule ‘t’
in context ‘default”. Does anyone have any ides where the problem might be? Many thanks, Aisling. |
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users