Take a peek in sip_profiles/external for a gateway example.

Brian Foster
Endigo Computer LLC

Sent from a mobile device.

On Jul 24, 2012 9:26 AM, "Christian Tausch" <christian.tausch@fh-koeln.de> wrote:
Hi list,

i ran into a problem configuring the german voip-provider 1und1.de as a
gateway. I have not completed my configuration yet, but in a first test
the registration fails:

The response to the second REGISTER message is "403: Contact User und
Anrufernummer verschieden" (en: 403 Authentication User Name does not
match account name).

The visible difference between the REGISTER of freeswitch and the
(working) SIP-client twinkle is indeed the user-string in the
contact-header.

Freeswitch: (gw + name)
Contact: <sip:gw+1und1.de@<public-ip>:5080;transport=udp;gw=1und1.de>

Twinkle: (extension / login-user)
Contact: <sip:4921XXXXXXXXX@<public-ip>;transport=udp>;expires=3600

If this is the cause of the error message, is this expected behavior of
a provider? And more important is it possible to configure freeswitch to
set a specific contact-user?

Thank you for your time.

Christian Tausch

--

Attachment (conf/directory/default/1und1.de.xml):
<include>
   <user id="1und1.de">
     <gateways>
       <gateway name="1und1.de">
         <param name="realm" value="1und1.de"/>
         <param name="username" value="4921XXXXXXXXX"/>
         <param name="password" value="password"/>
         <param name="auth-username" value="4921XXXXXXXXX"/>
         <param name="proxy" value="1und1.de"/>
         <param name="expire-seconds" value="600"/>
         <param name="register" value="true"/>
         <param name="retry-seconds" value="30"/>
         <param name="context" value="public"/>
       </gateway>
     </gateways>
     <params>
       <param name="password" value="password"/>
     </params>
   </user>
</include>



_________________________________________________________________________
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

Join Us At ClueCon - Aug 7-9, 2012

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