Hi,
> 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?
>
Your best bet would be to add a sip entry in sip.conf to
handle all your
guest calls.
>
> 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?
smells like a bug. You can send me your op_buttons.cfg so I
can take a
look at it. Regards,
--
Nicolas Gudino <nicolas house.com.ar>
|