but I can not get my Sipura ATA to register if I comment out the accept-blind-register in sofia.conf.xml Here is a blind register of my Sipura ATA: http://pastebin.ca/834668 and a regular register with accept-blind-register: http://pastebin.ca/834676 My directory.xml (the user id and password matches the Sipura ATA's user id and password) <user id="100"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="100"/> </variables> </user> <user id="140"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="140"/> </variables> </user> I find it unlikely this is a bug in Freeswitch, as this should be a very common configuration (I cannot be the only one registering my ATA's). But I can post a ticket to Jira if you want. The same happens with my PAP2 amd Cisco 7960 sip phone. Ivan
If that is your full directory.xml then its wrong. It should look somethin like this: <include> <!--the domain or ip (the right hand side of the @ in the addr--> <domain name="$${domain}"> <params> <param name="dial-string" value="{transfer_fallback_extension=$ {dialed_user}}sofia/${dialed_domain}/${dialed_user}"/> </params> <variables> <variable name="record_stereo" value="true"/> </variables> <user id="100"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="100"/> </variables> </user> <user id="140"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="140"/> </variables> </user> </domain> </include> Refer to the default configs again. I suspect your domain or understanding of what it should be might be wrong. The sip traces mean nothing without the console output to go along with it. I suspect you got a few errors about not being able to find 100 or 140 users when it registered on the console. /b On Dec 28, 2007, at 5:34 AM, Ivan C Myrvold wrote:
but I can not get my Sipura ATA to register if I comment out the accept-blind-register in sofia.conf.xml
Here is a blind register of my Sipura ATA: http://pastebin.ca/834668
and a regular register with accept-blind-register: http://pastebin.ca/834676
My directory.xml (the user id and password matches the Sipura ATA's user id and password)
<user id="100"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="100"/> </variables> </user> <user id="140"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="140"/> </variables> </user>
I find it unlikely this is a bug in Freeswitch, as this should be a very common configuration (I cannot be the only one registering my ATA's). But I can post a ticket to Jira if you want. The same happens with my PAP2 amd Cisco 7960 sip phone.
Ivan
_______________________________________________ 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
Den 28. des.. 2007 kl. 14:05 skrev Brian West:
If that is your full directory.xml then its wrong.
I just pasted the part I thought would be interesting. Here is my full directory.xml: http://pastebin.ca/834762 I see that I do not have dial-string parameter. i will try that and report back.
It should look somethin like this:
<include> <!--the domain or ip (the right hand side of the @ in the addr--> <domain name="$${domain}"> <params> <param name="dial-string" value="{transfer_fallback_extension=$ {dialed_user}}sofia/${dialed_domain}/${dialed_user}"/> </params>
<variables> <variable name="record_stereo" value="true"/> </variables> <user id="100"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="100"/> </variables> </user> <user id="140"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="140"/> </variables> </user> </domain> </include>
Refer to the default configs again. I suspect your domain or understanding of what it should be might be wrong.
The sip traces mean nothing without the console output to go along with it. I suspect you got a few errors about not being able to find 100 or 140 users when it registered on the console.
They are there on line 116-118 ------------------------------------------------------------------------ 2007-12-28 12:04:46 [WARNING] sofia_reg.c:832 sofia_reg_parse_auth() can't find user [140@192.168.207.203] 2007-12-28 12:04:46 [DEBUG] sofia_reg.c:453 sofia_reg_handle_register() send challange for [140@192.168.207.203]
/b
On Dec 28, 2007, at 5:34 AM, Ivan C Myrvold wrote:
but I can not get my Sipura ATA to register if I comment out the accept-blind-register in sofia.conf.xml
Here is a blind register of my Sipura ATA: http://pastebin.ca/834668
and a regular register with accept-blind-register: http://pastebin.ca/834676
My directory.xml (the user id and password matches the Sipura ATA's user id and password)
<user id="100"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="100"/> </variables> </user> <user id="140"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="140"/> </variables> </user>
I find it unlikely this is a bug in Freeswitch, as this should be a very common configuration (I cannot be the only one registering my ATA's). But I can post a ticket to Jira if you want. The same happens with my PAP2 amd Cisco 7960 sip phone.
Ivan
_______________________________________________ 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
_______________________________________________ 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
Now my directory.xml looks like this, http://pastebin.ca/834812 but I can't see any difference how my exensions behave. Ivan Den 28. des.. 2007 kl. 14:19 skrev Ivan C Myrvold:
Den 28. des.. 2007 kl. 14:05 skrev Brian West:
If that is your full directory.xml then its wrong.
I just pasted the part I thought would be interesting. Here is my full directory.xml: http://pastebin.ca/834762
I see that I do not have dial-string parameter. i will try that and report back.
It should look somethin like this:
<include> <!--the domain or ip (the right hand side of the @ in the addr--> <domain name="$${domain}"> <params> <param name="dial-string" value="{transfer_fallback_extension=$ {dialed_user}}sofia/${dialed_domain}/${dialed_user}"/> </params>
<variables> <variable name="record_stereo" value="true"/> </variables> <user id="100"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="100"/> </variables> </user> <user id="140"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="140"/> </variables> </user> </domain> </include>
Refer to the default configs again. I suspect your domain or understanding of what it should be might be wrong.
The sip traces mean nothing without the console output to go along with it. I suspect you got a few errors about not being able to find 100 or 140 users when it registered on the console.
They are there on line 116-118
------------------------------------------------------------------------ 2007-12-28 12:04:46 [WARNING] sofia_reg.c:832 sofia_reg_parse_auth() can't find user [140@192.168.207.203] 2007-12-28 12:04:46 [DEBUG] sofia_reg.c:453 sofia_reg_handle_register() send challange for [140@192.168.207.203]
/b
On Dec 28, 2007, at 5:34 AM, Ivan C Myrvold wrote:
but I can not get my Sipura ATA to register if I comment out the accept-blind-register in sofia.conf.xml
Here is a blind register of my Sipura ATA: http://pastebin.ca/834668
and a regular register with accept-blind-register: http://pastebin.ca/834676
My directory.xml (the user id and password matches the Sipura ATA's user id and password)
<user id="100"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="100"/> </variables> </user> <user id="140"> <params> <param name="password" value="pluto"/> </params> <variables> <variable name="tlf" value="140"/> </variables> </user>
I find it unlikely this is a bug in Freeswitch, as this should be a very common configuration (I cannot be the only one registering my ATA's). But I can post a ticket to Jira if you want. The same happens with my PAP2 amd Cisco 7960 sip phone.
Ivan
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
On Dec 28, 2007, at 7:19 AM, Ivan C Myrvold wrote:
Den 28. des.. 2007 kl. 14:05 skrev Brian West:
If that is your full directory.xml then its wrong.
I just pasted the part I thought would be interesting. Here is my full directory.xml: http://pastebin.ca/834762
I see that I do not have dial-string parameter. i will try that and report back.
The dial-string is only used for the user/ pseudo channel. I need to see the freeswitch console output when this takes place. /b
Den 28. des.. 2007 kl. 15:21 skrev Brian West:
On Dec 28, 2007, at 7:19 AM, Ivan C Myrvold wrote:
Den 28. des.. 2007 kl. 14:05 skrev Brian West:
If that is your full directory.xml then its wrong.
I just pasted the part I thought would be interesting. Here is my full directory.xml: http://pastebin.ca/834762
I see that I do not have dial-string parameter. i will try that and report back.
The dial-string is only used for the user/ pseudo channel. I need to see the freeswitch console output when this takes place.
The only thing I get is this: 2007-12-28 15:08:58 [DEBUG] sofia_reg.c:467 sofia_reg_handle_register() Requesting Registration from: [115@192.168.207.203 ] 2007-12-28 15:08:58 [WARNING] sofia_reg.c:832 sofia_reg_parse_auth() can't find user [115@192.168.207.203] 2007-12-28 15:08:58 [DEBUG] sofia_reg.c:453 sofia_reg_handle_register() send challange for [115@192.168.207.203] 2007-12-28 15:09:06 [DEBUG] sofia_reg.c:69 sofia_reg_check_gateway() registered ip24_37048300 2007-12-28 15:09:23 [DEBUG] sofia_reg.c:467 sofia_reg_handle_register() Requesting Registration from: [110@192.168.207.203 ] 2007-12-28 15:09:24 [WARNING] sofia_reg.c:832 sofia_reg_parse_auth() can't find user [110@192.168.207.203] 2007-12-28 15:09:24 [DEBUG] sofia_reg.c:453 sofia_reg_handle_register() send challange for [110@192.168.207.203] 2007-12-28 15:09:27 [DEBUG] sofia_reg.c:467 sofia_reg_handle_register() Requesting Registration from: [120@192.168.207.203 ] 2007-12-28 15:09:27 [DEBUG] sofia_reg.c:69 sofia_reg_check_gateway() registered ip24_37397855 2007-12-28 15:09:27 [WARNING] sofia_reg.c:832 sofia_reg_parse_auth() can't find user [120@192.168.207.203] 2007-12-28 15:09:27 [DEBUG] sofia_reg.c:453 sofia_reg_handle_register() send challange for [120@192.168.207.203] 2007-12-28 15:09:38 [DEBUG] sofia_reg.c:69 sofia_reg_check_gateway() registered ip24_37048867 Ivan
/b
_______________________________________________ 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
This is the clue. Since $${domain} is likely invalid in your config once its parsed and loaded it can't find the user. Look in /usr/local/ freeswitch/log/freeswitch.xml.fsxml to see what yours is getting parsed to because its set in vars.xml to $${local_ip_v4} in that file. Which might not match. The console output clearly states it can't find the user so verification. /b On Dec 28, 2007, at 9:26 AM, Ivan C Myrvold wrote:
can't find user [120@192.168.207.203]
participants (2)
-
Brian West
-
Ivan C Myrvold