[Freeswitch-users] FreeSwitch Error: "username param is REQUIRED!"

Paul Cupis paul at cupis.co.uk
Fri Aug 3 01:01:17 MSD 2012


On 02/08/12 21:32, Sazzad wrote:
> This is the exact copy-paste of the relevant output:
>
>     2012-08-03 01:02:19.768103 [NOTICE] sofia.c:2168 Waiting for worker
>     thread
>     2012-08-03 01:02:19.768103 [NOTICE] sofia_glue.c:5574 deleted
>     gateway example.com <http://example.com> from profile external
>     2012-08-03 01:02:19.768103 [NOTICE] sofia.c:4782 Started Profile
>     external [sofia_reg_external]
>     2012-08-03 01:02:19.788155 [ERR] sofia.c:2606 ERROR: username param
>     is REQUIRED!
>     2012-08-03 01:02:19.788155 [NOTICE] sofia_reg.c:2904 Added gateway
>     'example.com <http://example.com>' to profile 'external'

This is odd then. I don't know if the issue is occuring where you think 
it is. Do you have any other gateways setup in profile external? Can you 
post the output of 'sofia status' with minimal changes, please?

For reference, the following definitely works for a provider which does 
not require username/password (i.e. IP authentication only), I've only 
obfuscated the actual IP address from the realm in this example:

   <include>
     <gateway name="provider">
       <param name="username" value="not-used"/>
       <param name="password" value="not-used"/>
       <param name="realm" value="192.0.2.1"/>
       <param name="register" value="false"/>
       <param name="caller-id-in-from" value="true"/>
     </gateway>
   </include>

Regards,




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