<div dir="ltr">you don't have to use the pin in the conference<br>you can use a small script or some dialplan logic to ask for an arbitrary pin then<br>comp it to the one from the header.<br><br><br><div class="gmail_quote">
On Tue, Oct 14, 2008 at 4:11 PM, Joe Attardi <span dir="ltr"><<a href="mailto:joe.attardi@nortel.com">joe.attardi@nortel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Kristian,<br>
<br>
Kristian Kielhofner wrote:<br>
> I'm still pretty new at this (and I'm sure there are better ways to do<br>
> it) but I *think* this should ask for ping 1234 unless you are coming<br>
> from SIP host <a href="http://192.168.0.5" target="_blank">192.168.0.5</a> (at least according to the $sip_from_host,<br>
> presumably parsing the host portion of the From: header). Obviously<br>
> replace sip_from_host with a relevant SIP variable and expression with<br>
> whatever you want to match...<br>
<br>
I tried something similar (here is the relevant snippet from my<br>
default_context.xml):<br>
<br>
<context name="default"><br>
<extension name="4444"><br>
<condition field="destination_number" expression="^conf1$"<br>
break="on-true"><br>
<action application="conference" data="conf1@4444+12345"/><br>
</condition><br>
<condition field="destination_number" expression="^conf1-nopin$"<br>
break="on-true"><br>
<action application="conference" data="conf1@4444" /><br>
</condition><br>
</extension><br>
</context><br>
<br>
The intent was to skip the PIN if the destination number was<br>
'conf1-nopin' and require it if it was 'conf1'. This works great for the<br>
first person to call the conference. After that, the setting "sticks".<br>
<br>
i.e. if I call conf1-nopin, I get in without a PIN, but then others get<br>
in without a PIN even if they call conf1;<br>
and if I call conf1; I am prompted for a PIN, but then others get<br>
prompted for a PIN even if they call conf1-nopin.<br>
<br>
I looked through the mod_conference docs and found this as the explanation:<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_conference#Syntax" target="_blank">http://wiki.freeswitch.org/wiki/Mod_conference#Syntax</a><br>
"The first time a conference name (confname) is used, it will be created<br>
on demand, and the pin will be set to what ever is specified at that<br>
time: the pin in the data string if specified, or if not, the "pin"<br>
setting in the conference profile, and if that is also unspecified, then<br>
there is no pin protection. Any later attempt to join the conference<br>
must specify the same pin number, if one existed when it was created. "<br>
<br>
So, though your suggestion was good (and I got excited when it initially<br>
worked!), it looks like this won't work. Does anyone else have any other<br>
ideas?<br>
<br>
Thanks...<br>
<br>
-- Joe<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>