<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi,</DIV>
<DIV>I am first time FS user, so it is a bit confused with all the setup. For inbound calls, I tried to add a voicepulse.xml in the sip_profiles/external with the following codes:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;include&gt;<BR>&nbsp; &lt;gateway name="voicepulse"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="username" value="3334445555"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="realm" value="my_sip_provider.com"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="password" value="3334445555"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="proxy" value="my_sip_provider.com"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="expire-seconds" value="600"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="register" value="true"/&gt;<BR>&nbsp; &lt;/gateway&gt;<BR>&nbsp; &lt;gateway name="voicepulse-backup"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="username" value="3334445555"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="realm" value="my_sip_provider.com"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="password" value="3334445555"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="extension" value="3334445555"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="proxy"
 value="my_sip_provider.com"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="expire-seconds" value="600"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="register" value="true"/&gt;<BR>&nbsp; &lt;/gateway&gt;<BR>&lt;/include&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>------------</DIV>
<DIV>&nbsp;and in the conf/dialplan/default.xml file I added:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;!-- Dial any 10 digit number (2223334444) or 1+10 number (12223334444) here --&gt;<BR>&nbsp;&nbsp; &lt;extension name="Long Distance - voicepulse"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(1{0,1}\d{10})$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="effective_caller_id_number=12223334444"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- If your provider does not provide ringback (180 or 183) you may simulate<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ringback by uncommenting the following line. --&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- action application="ringback" /--&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="sofia/gateway/voicepulse/$1"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<BR>&nbsp;&nbsp; &lt;/extension&gt;<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>For inbound, I added</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;extension name="Voicepulse"&gt;&nbsp;&nbsp; &lt;!-- your provider or any name you'd like to call it --&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="3334445555"&gt;&nbsp; &lt;!-- your DID for this gateway--&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="transfer" data="1001 XML default"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<BR>&nbsp;&nbsp; &lt;/extension&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>----------</DIV>
<DIV>&nbsp;</DIV>
<DIV>And, if I dial 3334445555 from a softphone registered with my_sip_provider, I got the message to the voice mail of 1001 - the 1001 extension does not ring. </DIV>
<DIV>And if from 1001, I dial some real number like 18188892345, I got the error: Invalid Gateway ... Cannot create outgoing channel of type [fosia] cause: [Invalid_number_format] ...</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Would someone please give me some help to set this up. I am a bit confused with these.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you</DIV></td></tr></table><br>