[Freeswitch-users] error 403 registering at 1und1.de

Christian Tausch christian.tausch at fh-koeln.de
Tue Jul 24 13:20:10 MSD 2012


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>





Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list