Set it up as a gateway like so

<include>
  <gateway name="office">
    <param name="apply-inbound-acl" value="asterisk_box"/>
    <param name="username" value="mykillerusername" />
    <param name="realm" value="asterisk" />
        <param name="proxy" value="<iptohost>" />
    <param name="password" value="mybadasspassword" />
  </gateway>
</include>


Stuff that in your public sip profiles reload sofia and you should be able to access everything from asterisk thats on freeswitch. 

You will need to add the following to asterisk:

; Enable dialing to Moose directly
exten => 10002,1,Verbose(2,Dialing Moose at ${EXTEN})
exten => 10002,n,Playback(silence/1&transfer)
exten => 10002,n,Dial(SIP/MOOSE/5000,20,rt)
exten => 10002,n,Hangup()


-- 
Thanks,

Richard Genthner
System Administrator
Symplicity
tel 703.351.0200 x 8051
web www.symplicity.com

On Sep 19, 2013, at 1:04 PM, "Murthy Gandikota" <mgandikota@nts.net> wrote:

Hi All
 
I want Freeswitch to register with Asterisk as a user agent.
 
To illustrate with Yealink phone I have the following configs:
 
a) username: cs3
b) SIP server: fs-murthy.nts.net
c) port: 5060
d) the ip of YeaLink phone itself (xx.xx.85.130)
 
Now I want Freeswitch to register with Asterisk with similar data. Since I don't know as much
about Asterisk as I know about Freeswitch, my goal is to bounce a call from Asterisk to
Freeswitch and let it play an IVR.
 
Here are some links I already checked:
 
 
 
Any help gratefully appreciated.
Murthy
 
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org