<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> </DIV>
<DIV><include><BR> <gateway name="voicepulse"><BR> <param name="username" value="3334445555"/><BR> <param name="realm" value="my_sip_provider.com"/><BR> <param name="password" value="3334445555"/><BR> <param name="proxy" value="my_sip_provider.com"/><BR> <param name="expire-seconds" value="600"/><BR> <param name="register" value="true"/><BR> </gateway><BR> <gateway name="voicepulse-backup"><BR> <param name="username" value="3334445555"/><BR> <param name="realm" value="my_sip_provider.com"/><BR> <param name="password" value="3334445555"/><BR> <param name="extension" value="3334445555"/><BR> <param name="proxy"
value="my_sip_provider.com"/><BR> <param name="expire-seconds" value="600"/><BR> <param name="register" value="true"/><BR> </gateway><BR></include></DIV>
<DIV> </DIV>
<DIV>------------</DIV>
<DIV> and in the conf/dialplan/default.xml file I added:</DIV>
<DIV> </DIV>
<DIV><!-- Dial any 10 digit number (2223334444) or 1+10 number (12223334444) here --><BR> <extension name="Long Distance - voicepulse"><BR> <condition field="destination_number" expression="^(1{0,1}\d{10})$"><BR> <action application="set" data="effective_caller_id_number=12223334444"/><BR> <!-- If your provider does not provide ringback (180 or 183) you may simulate<BR> ringback by uncommenting the following line. --><BR> <!-- action application="ringback" /--><BR> <action application="bridge" data="sofia/gateway/voicepulse/$1"/><BR> </condition><BR> </extension><BR></DIV>
<DIV> </DIV>
<DIV>------------------</DIV>
<DIV> </DIV>
<DIV>For inbound, I added</DIV>
<DIV> </DIV>
<DIV><extension name="Voicepulse"> <!-- your provider or any name you'd like to call it --><BR> <condition field="destination_number" expression="3334445555"> <!-- your DID for this gateway--><BR> <action application="transfer" data="1001 XML default"/><BR> </condition><BR> </extension></DIV>
<DIV> </DIV>
<DIV>----------</DIV>
<DIV> </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> </DIV>
<DIV> </DIV>
<DIV>Would someone please give me some help to set this up. I am a bit confused with these.</DIV>
<DIV> </DIV>
<DIV>Thank you</DIV></td></tr></table><br>