Nice...
Nicolas, you just introduced me to the world of regexp...
I looked up various tutorials last night, and spent two or
three hours
trying to figure out how to do something else: make a
"guest" button. In
your docs you show how to do [_SIP/.*] to catch any SIP
call. However, I
would like to do something more like [_(SIP|IAX2)/.*] and at
the same time
NOT match any other buttons. Thus, the guest button only
indicates an
"unknown", or guest call.
I tried and tried using things like
[_((SIP|IAX2)/.*)|(^S)IP/delta|(^I)AX2/delta)] in order to
filter out my
defined buttons. Is there a way to accomplish what I am
trying to do?
Second, I noticed that after using the regexp button type,
the various trunk
buttons no longer list their numbers (i.e., IAX Tel 1, IAX
Tel 2, etc). Is
this a known bug, or something I did wrong in the config?
-----Original Message-----
From: Nicolas Gudino [mailto:nicolas house.com.ar]
Sent: Monday, April 17, 2006 7:39 PM
To: operator_panel lists.house.com.ar
Subject: Re: [Flash Operator Panel] How can I make one
button for a
SIP/IAXExtension?
On Mon, 2006-04-17 at 12:41 -0500, Brent Torrenga wrote:
> List:
>
> I know this is sort of odd... But, I have a dual boot
on a machine
> which uses an IAX softphone in Windows, and a SIP
softphone in Linux
> (don't ask why - long stupid story). In each case, the
IAX and SIP
> account is called delta.
>
> How can I make a single button to cover both cases -
something that
> would work for both SIP/delta and IAX/delta, as opposed
to a button for
each?
>
[_(SIP|IAX2)/delta]
Position=3
...
...
...
--
Nicolas Gudino <nicolas house.com.ar>
Flash Operator Panel Mailing List
To unsubscribe send an empty message to:
<operator_panel-unsubscribe lists.house.com.ar>
To get help send an empty message to:
<operator_panel-help lists.house.com.ar>
The archives can be found at:
http:/
/www.asternic.org/archives/maillist.html
|