<div dir="ltr">Hi<div><br></div><div>Voip provider Ippi allow calls to/from skype users.  For me, this will work quite well in my home pabx, and I do not want to implement the SipThreeSkype solution.  </div><div><br></div>
<div>I have created the gateway and successfully registered to Ippi&#39;s sip server at <a href="http://ippi.fr">ippi.fr</a>.  Ippi requires that to dial a skype user, the following URI format must be dialed: <a href="mailto:my-skype-address@skype.ippi.com">my-skype-address@skype.ippi.com</a>. (this successfully calls my skype address using a softphone)</div>
<div><br></div><div>I am trying to create a dialplan that will allow me to call a skype user through the Ippi gateway.</div><div><br></div><div>This is my gateway setup (notice ippi uses <a href="http://ippi.fr">ippi.fr</a>):</div>
<div><div>&lt;include&gt;</div><div>  &lt;gateway name=&quot;<a href="http://ippi.fr">ippi.fr</a>&quot;&gt;</div><div>    &lt;param name=&quot;username&quot; value=&quot;username&quot;/&gt;</div><div>    &lt;param name=&quot;password&quot; value=&quot;password&quot;/&gt;</div>
<div>    &lt;param name=&quot;proxy&quot; value=&quot;<a href="http://ippi.fr">ippi.fr</a>&quot;/&gt;</div><div>    &lt;param name=&quot;realm&quot; value=&quot;<a href="http://ippi.fr">ippi.fr</a>&quot;/&gt;</div><div>    &lt;param name=&quot;auth-username&quot; value=&quot;username&quot;/&gt;<br>
</div><div>    &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br></div><div>  &lt;/gateway&gt;<br></div><div>&lt;/include&gt;</div></div><div><br></div><div>I have the following in the dialplan:<br></div>
<div><br></div><div><div>&lt;extension name=&quot;ippi-skype&quot;&gt;</div><div>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^5000$&quot;&gt;</div><div>     &lt;action application=&quot;set&quot; data=&quot;call_timeout=90&quot;/&gt;<br>
</div><div>     &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>    &lt;action application=&quot;info&quot;/&gt;<br></div><div>    &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://ippi.fr/my-skype-address@skype.ippi.com">ippi.fr/my-skype-address@skype.ippi.com</a>&quot;/&gt;</div>
<div>  &lt;/condition&gt;<br></div><div>&lt;/extension&gt;</div></div><div><br></div><div>Now I realize that according to the wiki, I should not put sofia/gateway/<a href="http://ippi.fr/my-skype-address@skype.ippi.com">ippi.fr/my-skype-address@skype.ippi.com</a> (ie the @<a href="http://skype.ippi.com">skype.ippi.com</a>), but I need a way to dial out through the ippi gateway (<a href="http://ippi.fr">ippi.fr</a>), but to a user in domain <a href="http://skype.ippi.com">skype.ippi.com</a>.  I did try the two following options:</div>
<div>    &lt;action application=&quot;set&quot; data=&quot;sip_invite_to_uri=<a href="mailto:my-skype-address@skype.ippi.com">my-skype-address@skype.ippi.com</a>&quot;/&gt;<br></div><div><div>    &lt;action application=&quot;export&quot; data=&quot;sip_invite_to_uri=<a href="mailto:my-skype-address@skype.ippi.com">my-skype-address@skype.ippi.com</a>&quot;/&gt;</div>
</div><div><br></div><div>Wireshark gives me the following for a successful call using Jitsi softphone:</div><div><br></div><div><div>Session Initiation Protocol</div><div>    Request-Line: INVITE <a href="mailto:sip%3Amy-skype-address@skype.ippi.com">sip:my-skype-address@skype.ippi.com</a> SIP/2.0</div>
<div>        Method: INVITE</div><div>        [Resent Packet: False]</div><div>    Message Header</div><div>        Call-ID: 891b23da468c6fdf05434ac89f123cf1@0:0:0:0:0:0:0:0</div><div>        CSeq: 1 INVITE</div><div>            Sequence Number: 1</div>
<div>            Method: INVITE</div><div>        From: &quot;username&quot; &lt;<a href="mailto:sip%3Ausername@ippi.fr">sip:username@ippi.fr</a>&gt;;tag=35bcc007</div><div>            SIP Display info: &quot;username&quot; </div>
<div>            SIP from address: <a href="mailto:sip%3Ausername@ippi.fr">sip:username@ippi.fr</a></div><div>            SIP tag: 35bcc007</div><div>        To: &lt;<a href="mailto:sip%3Amy-skype-address@skype.ippi.com">sip:my-skype-address@skype.ippi.com</a>&gt;</div>
<div>            SIP to address: <a href="mailto:sip%3Amy-skype-address@skype.ippi.com">sip:my-skype-address@skype.ippi.com</a></div><div>        Via: SIP/2.0/TCP 192.168.1.6:62110;branch=z9hG4bK-373232-f15d6a66ae2d195ba99f1d308e43e61d</div>
<div>            Transport: TCP</div><div>            Sent-by Address: 192.168.1.6</div><div>            Sent-by port: 62110</div><div>            Branch: z9hG4bK-373232-f15d6a66ae2d195ba99f1d308e43e61d</div><div>        Max-Forwards: 70</div>
<div>        Contact: &quot;username&quot; &lt;sip:username@192.168.1.6:62110;transport=tcp;registering_acc=ippi_fr&gt;</div><div>            Contact Binding: &quot;username&quot; &lt;sip:username@192.168.1.6:62110;transport=tcp;registering_acc=ippi_fr&gt;</div>
<div>        User-Agent: Jitsi2.5.5137Windows 7</div><div>        Content-Type: application/sdp</div><div>        Content-Length: 910</div></div><div><br></div><div>What do I use in the bridge statement so that it calls <a href="mailto:my-skype-address@skype.ippi.com">my-skype-address@skype.ippi.com</a>, using gateway <a href="http://ippi.fr">ippi.fr</a>?</div>
<div><br></div><div>Suggestions appreciated!</div><div><br></div></div>