[Asterisk-Users] 1 extension entry for multiple purposes?

Matthew Boehm mboehm at cytelcom.com
Mon Sep 20 15:14:00 MST 2004


I never said it didn't work. I'm saying that if I use callerid= in the
sip.conf in conjunction with the 1-line-voicemailmail that Wiley showed me,
it won't work.

Since Wiley's fix was to use ${CALLERIDNUM} in the voicemailmain exten, if I
have callerid=999-999-9999 in sip.conf then VoicemailMain will use
9999999999 instead of the extension the person is calling from.

OK. So I removed all the callerid= from the sip.conf and Wiley's fix works
perefectly. But I am back to where if I call out, the caller id shows up as
my extension only.

My fix, that didn't work:

[global-outgoing]
 exten => s,1,SetCIDNum(212-433-3344)
 exten => _9212XXXXXXX,2,Dial(SIP/${EXTEN}@<router IP>,15,tr)
 exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN}@<router IP>,15,tr))

I figured that if I tacked an 's' extension before the pattern matching,
every outgoing pattern below the 's' would get that CID. But that didn't
work.

Matthew
----- Original Message ----- 
From: "Marc Storck" <mstorck at luxadmin.org>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Monday, September 20, 2004 4:57 PM
Subject: Re: [Asterisk-Users] 1 extension entry for multiple purposes?


> this works great for me, i use callerid= like this:
>
> callerid="Marc Storck" <35227273033>
>
> Matthew Boehm wrote:
>
> > OK. Here is the caveat I've found. The phones, in sip.conf, all have a
> > callerid= line because if they don't when they call someone the caller
id
> > shows up ONLY as their extension.
> >
> > For instance, my extension is 3044. When I call my cell, all it says is
> > "Missed call from 3044".
> >
> > The only way I found to fix this was to add that callerid= into the
sip.conf
> >
> > But since I have done that, what you have suggested below won't work.
> >
> > Should I have the callerid set somewhere else?
> >
> > Matthew
> > ----- Original Message ----- 
> > From: "Wiley E. Siler" <wsiler at e2020inc.com>
> > To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> > <asterisk-users at lists.digium.com>
> > Sent: Monday, September 20, 2004 4:14 PM
> > Subject: RE: [Asterisk-Users] 1 extension entry for multiple purposes?
> >
> >
> > Here you go...  No extension required....
> >
> >>From extensions.conf....
> >
> > ;----------------------------------------------
> > ; VOICEMAIL ENTRY INTO SYSTEM
> > ;----------------------------------------------
> > exten => 8,1,Answer
> > exten => 8,2,Wait(1)
> > exten => 8,3,VoicemailMain(${CALLERIDNUM})
> > exten => 8,4,Hangup
> >
> > Still want the old way of enter your number then PIN...
> >
> > exten => 81,1,VoicemailMain2()
> > exten => 81,2,Hangup
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Matthew Boehm [mailto:mboehm at cytelcom.com]
> > Sent: Monday, September 20, 2004 2:07 PM
> > To: asterisk-users at lists.digium.com
> > Subject: [Asterisk-Users] 1 extension entry for multiple purposes?
> >
> > Hey gang,
> >  There must be any easy solution for this but my mind is frazzled on
> > compiling 2.4 with RTC as module. Bleh.
> >
> > Currently extension 9000 is our VoicemailMain(@company) line.  Some
> > employee's are complaining that the old system was better because you
> > didn't have to enter your mailbox number and that instead the old system
> > took you right to it.
> >
> > I figured there was something similar so that I don't have to have 200
> > extra extensions.conf lines just for VoicemailMain(<exten>@company).
> >
> > Basically I want something like this:  exten =>
> > 9000,1,VoicemailMain(${DIALERS_EXTENSION}@company)
> > so that way all it asks for is their password.
> >
> > Any ideas..?
> >
> > Thanks,
> > Matthew
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> > The information transmitted is intended only for the person or entity to
> > which it is addressed and may contain confidential and/or privileged
> > material. Any review, retransmission, dissemination or other use of, or
> > taking of any action in reliance upon, this information by persons or
> > entities other than the intended recipient is prohibited. If you
received
> > this in error, please contact the sender and delete the material from
any
> > computer
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
>
> -- 
> CTO                            Marc Storck
> MS Networks SA                 mstorck at luxadmin.org
> Internet Service Provider      http://www.luxadmin.org
> 15, route d'Esch               Phone: +352 2727 3030
> L-4544 Belvaux                 Fax:   +352 2727 3060
>
> -------------- LuxAdmin powered service ---------------
> http://www.Gateway.lu          Your gateway to the net
>
>       Advantages of ADSL solutions by LuxAdmin:
>               - price: cheap and clear
>               - products: proven quality
>               - support: friendly and helpful
> -------------------------------------------------------
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list