Hi Guys,
Simple question, tried asking on IRC but no joy, they’re
too busy slating other systems.
I’m trying to dial out via a remote sip gateway via
the dial plan
<extension name="dial_my_mobile">
<condition
field="destination_number" expression="^0773400000$">
<action
application="bridge" data="sofia/${use_profile}/0773400000@21X.XXX.XXX/XXX"/>
</condition>
</extension>
This works fine, but I’d like to wild card the
extension so it matches on anything starting with a 0 the a number > 0
How do I pass the number dialed using a variable? In
asterisk I would put ${EXTEN}
Finally I also have the sip gateway registered
Mag
gateway sip:xxx@hostname.net
REGED
Is it possible to use the name of this gateway instead of
the IP address as in 21X.XXX.XXX/XXX ?
Regards