username param is REQUIRED!

sazzadbinkamal
Joined: Wed 21 of Sep, 2011

Re: username param is REQUIRED!

Posted:Thu 02 of Aug, 2012 (18:52 UTC)
Hi!

Were you able to solve it? I'm getting this Error message with a slightly different context:

[ERR] sofia.c:2606 ERROR: username param is REQUIRED!

chpalmer
Joined: Mon 18 of Aug, 2008

Re: username param is REQUIRED!

Posted:Mon 26 of Jan, 2009 (00:27 UTC)
Take a look at this example from the wiki page.

<include>
<gateway name="chi-in.voipstreet.com">
<param name="username" value="username"/>
<param name="password" value="password"/>
<param name="from-user" value="username"/>
<param name="proxy" value="chi-in.voipstreet.com"/>
<param name="expire-seconds" value="600"/>
<param name="register" value="true"/>
<param name="retry-seconds" value="30"/>
<param name="context" value="public"/>
</gateway>
</include>
worzeel
Joined: Thu 22 of Jan, 2009

username param is REQUIRED!

Posted:Thu 22 of Jan, 2009 (03:59 UTC)
I must be blind, but for a SIP gateway I created, freeswith thinks that I havn't included the username param:

xml in sip_profiles/external:
<include>
  <gateway name="outbound.name">
    <param name="username" value="usernamehere"/>
    <param name="password" value="password"/>
    <param name="proxy" value="external.ip"/>
    <param name="register" value="false"/>
  </gateway>
</include>

error message on startup of freeswitch:
2009-01-22 16:53:22 [NOTICE] sofia_reg.c:1872 sofia_reg_add_gateway() Added gateway 'outbound.name' to profile 'external'
2009-01-22 16:53:22 [ERR] sofia.c:1073 parse_gateways() ERROR: username param is REQUIRED!



Can someone please advise me on whats wrong?

This is for Freeswitch 1.0.2