Destination parameter actually specifies the extension on which this Skype user is reachable within FreeSWITCH dialplan for incoming calls.<br><br>If this parameter is specified in per_interface_settings xml tag then it will override the value of this parameter in global_settings xml tag, otherwise value of this parameter from global_settings xml tag will be used.<br>
<br>Here is an example (see below), the user test.01 is reachable on dialplan extension 2000 (since it has its own destination defined in per_interface_settings xml tag), whereas test.02 is reachable on dialplan extension 5000 (since it does not have destination parameter defined and thus it will use value for this parameter in global_settings xml tag).<br>
<br>  &lt;global_settings&gt;<br>    &lt;param name=&quot;debug&quot; value=&quot;8&quot;/&gt;<br>    &lt;param name=&quot;codec-master&quot; value=&quot;us&quot;/&gt;<br>    &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
    &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>    &lt;param name=&quot;codec-prefs&quot; value=&quot;gsm,ulaw&quot;/&gt;<br>    &lt;param name=&quot;codec-rates&quot; value=&quot;8000,16000&quot;/&gt;<br>
    &lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;<br>    &lt;param name=&quot;destination&quot; value=&quot;5000&quot;/&gt;<br>  &lt;/global_settings&gt;<br><br>  &lt;per_interface_settings&gt;<br>
    &lt;interface id=&quot;1&quot; name=&quot;test.01&quot;&gt;<br>        &lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;<br>        &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
        &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>        &lt;param name=&quot;X11-display&quot; value=&quot;:101&quot;/&gt;<br>        &lt;param name=&quot;tcp_cli_port&quot; value=&quot;15556&quot;/&gt;<br>
        &lt;param name=&quot;tcp_srv_port&quot; value=&quot;15557&quot;/&gt;<br>        &lt;param name=&quot;skype_user&quot; value=&quot;test.01&quot;/&gt;<br>        &lt;param name=&quot;destination&quot; value=&quot;2000&quot;/&gt;<br>
    &lt;/interface&gt;<br>    &lt;interface id=&quot;2&quot; name=&quot;test.02&quot;&gt;<br>        &lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;<br>        &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
        &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>        &lt;param name=&quot;X11-display&quot; value=&quot;:102&quot;/&gt;<br>        &lt;param name=&quot;tcp_cli_port&quot; value=&quot;15558&quot;/&gt;<br>
        &lt;param name=&quot;tcp_srv_port&quot; value=&quot;15559&quot;/&gt;<br>        &lt;param name=&quot;skype_user&quot; value=&quot;test.02&quot;/&gt;<br>    &lt;/interface&gt;<br>  &lt;/per_interface_settings&gt;<br>

<br><br>Now the codec, Skype has its own proprietory code for Skype to Skype calls. The codec we specify in Skypiax configuration file is actually used for Skype to/from non-Skype calls. Consider following dial plan example (with skypiax configuration given above),<br>
<br>    &lt;extension name=&quot;skype_incoming-01&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^2000$&quot;&gt;<br>        &lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/1000&quot;/&gt;<br>
      &lt;/condition&gt;<br>    &lt;/extension&gt;<br><br>If a remote Skype user dials test.01 from his/her Skype client, then FreeSWITCH will route this call to SIP user 1000 and codecs specified in Skypiax configuration will be offered to destination SIP endpoint (SIP user 1000 in this case).<br>
<br>Thank you.<br><br><br><div class="gmail_quote">On Fri, Jul 10, 2009 at 5:58 AM, Meftah Tayeb <span dir="ltr">&lt;<a href="mailto:tayeb.meftah@gmail.com">tayeb.meftah@gmail.com</a>&gt;</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;">
hello,<br>
i have the folowing parameter in Skypiax.conf.xml:<br>
&lt;configuration name=&quot;skypiax.conf&quot; description=&quot;Skypiax Configuration&quot;&gt;<br>
  &lt;global_settings&gt;<br>
    &lt;param name=&quot;destination&quot; value=&quot;1000&quot;/&gt;<br>
each call that will to by routed to this destination??<br>
<br>
  &lt;per_interface_settings&gt;<br>
    &lt;interface id=&quot;1&quot; name=&quot;skypiax1&quot;&gt;<br>
        &lt;param name=&quot;destination&quot; value=&quot;1000&quot;/&gt;<br>
<br>
Each Call will to by routed to this destination?<br>
<br>
each codecs that is pocible to use it with Skypiax? all? speex?<br>
this codecs is used beetwan skypiax and the remote peer?<br>
thanks<br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4229 (20090709) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
<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>Muhammad Shahzad<br>-----------------------------------<br>CISCO Rich Media Communication Specialist (CRMCS)<br>CISCO Certified Network Associate (CCNA)<br>Cell: +92 334 422 40 88<br>
MSN: <a href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</a><br>Email: <a href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a><br>