Re: [asterisk-users] Calls to sip extensions not defined

2008-03-24 Thread Mojo with Horan Company, LLC
Ricardo B. wrote: Hi all, new to the list and this is probably a basic question and couldn't find anything clear googling around but I don't know how to handle calls to sip extensions not defined on sip.conf while using pattern matching. On my example I have sip extensions 10, 11, 12, and

Re: [asterisk-users] Calls to sip extensions not defined

2008-03-23 Thread Eric Wieling
exten = i is for IVRs. You would need a wildcard catchall extension like the one below. Unfortunately you are doing the classic newbie mistake of thinking you can have a simple dialplan by making the SIP user/account ID be the same as the extension. Eventually you will realize this is a bad

Re: [asterisk-users] Calls to sip extensions not defined

2008-03-23 Thread Ricardo B
. Regards Richard - Original Message - From: Eric Wieling To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Calls to sip extensions not defined Date: Sun, 23 Mar 2008 07:50:21 -0500 exten = i is for IVRs. You would need a wildcard

Re: [asterisk-users] Calls to sip extensions not defined

2008-03-22 Thread R. B.
Richard - Original Message - From: Steve Edwards To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Calls to sip extensions not defined Date: Fri, 21 Mar 2008 15:12:43 -0700 (PDT) On Fri, 21 Mar 2008, Ricardo B. wrote: On my example I

Re: [asterisk-users] Calls to sip extensions not defined

2008-03-22 Thread Steve Edwards
On Sat, 22 Mar 2008, R. B. wrote: [default] exten = _1[1-3],1, dial(sip/${EXTEN},10) exten = _1[1-3],n, voicemail([EMAIL PROTECTED],u) exten = _1[1-3],n, hangup exten = i,1, playback(pbx-invalid) exten = i,n, hangup Thanks Steve, your solution works but I am looking for is something

Re: [asterisk-users] Calls to sip extensions not defined

2008-03-22 Thread Stefan Schmidt
hello, why do you build a realtime configuration loading the sip users and extensions from a database? if you want to use the username as extension it would be quit simple looking like this: exten = _X.,1,Select user from DB which has ${EXTEN} exten = _X.n,GotoIf(Uservar = ?nouser) exten =

[asterisk-users] Calls to sip extensions not defined

2008-03-21 Thread Ricardo B.
Hi all, new to the list and this is probably a basic question and couldn't find anything clear googling around but I don't know how to handle calls to sip extensions not defined on sip.conf while using pattern matching. On my example I have sip extensions 10, 11, 12, and 13 on sip.conf. On a basic

Re: [asterisk-users] Calls to sip extensions not defined

2008-03-21 Thread Steve Edwards
On Fri, 21 Mar 2008, Ricardo B. wrote: On my example I have sip extensions 10, 11, 12, and 13 on sip.conf. On a basic extension.conf I set up a pattern starting with 1 and a second digit should dial the sip extension entered by the user and if the user don't pick up or is unavailable the