<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'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><include></div><div> <gateway name="<a href="http://ippi.fr">ippi.fr</a>"></div><div> <param name="username" value="username"/></div><div> <param name="password" value="password"/></div>
<div> <param name="proxy" value="<a href="http://ippi.fr">ippi.fr</a>"/></div><div> <param name="realm" value="<a href="http://ippi.fr">ippi.fr</a>"/></div><div> <param name="auth-username" value="username"/><br>
</div><div> <param name="register" value="true"/><br></div><div> </gateway><br></div><div></include></div></div><div><br></div><div>I have the following in the dialplan:<br></div>
<div><br></div><div><div><extension name="ippi-skype"></div><div> <condition field="destination_number" expression="^5000$"></div><div> <action application="set" data="call_timeout=90"/><br>
</div><div> <action application="set" data="hangup_after_bridge=true"/></div><div> <action application="info"/><br></div><div> <action application="bridge" data="sofia/gateway/<a href="http://ippi.fr/my-skype-address@skype.ippi.com">ippi.fr/my-skype-address@skype.ippi.com</a>"/></div>
<div> </condition><br></div><div></extension></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> <action application="set" data="sip_invite_to_uri=<a href="mailto:my-skype-address@skype.ippi.com">my-skype-address@skype.ippi.com</a>"/><br></div><div><div> <action application="export" data="sip_invite_to_uri=<a href="mailto:my-skype-address@skype.ippi.com">my-skype-address@skype.ippi.com</a>"/></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: "username" <<a href="mailto:sip%3Ausername@ippi.fr">sip:username@ippi.fr</a>>;tag=35bcc007</div><div> SIP Display info: "username" </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: <<a href="mailto:sip%3Amy-skype-address@skype.ippi.com">sip:my-skype-address@skype.ippi.com</a>></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: "username" <sip:username@192.168.1.6:62110;transport=tcp;registering_acc=ippi_fr></div><div> Contact Binding: "username" <sip:username@192.168.1.6:62110;transport=tcp;registering_acc=ippi_fr></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>