[Freeswitch-users] Gateways without Registration or User/Pass Authentication

Adam Long ajlong at worldlink.net
Mon Jan 19 14:03:27 PST 2009

I am trying to setup a couple of gateways on my external profile that do not
user usernames or passwords .

How can I setup these gateways to match based on originating IP address?

At the moment I have them defined in separate xml files in the
sip_profiles/external directory.


I am using the default external.xml 

I would like to be able to dial via this gateway and receive calls from
these gateways.


For example NYGW1.xml  -------  >



  <gateway name="NYGW1" cidr="" description="Cisco Gateway
Connected to Level3 PRI">

    <param name="register" value="false"/>

    <param name="username" value="none"/>

    <param name="password" value="none"/>

    <param name="realm" value=""/>

    <param name="proxy" value=""/>

    <param name="from-domain" value="oneofmydomains.com"/>

    <param name="extension" value="inbound_oneofmydomains"/>

    <param name="caller-id-in-from" value="true"/>

    <param name="ping" value="25"/>




When I remove the username/password params or set them to "" FreeSWITCH
refuses to load the gateway.

I tried adding the cidr="" to the gateway but no luck.


Really all I want is for calls flowing in from --- > FreeSWITCH
External SIP Profile  ---- > Match to NYGW1  --- >  Dump into a context or
extension from where I can route them as I please.


Kind of how an Asterisk sip "peer" is matched on IP and routed to a context.


Any ideas greatly appreciated!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090119/c8794c2b/attachment-0002.html 

More information about the FreeSWITCH-users mailing list