Hi, In sofia_reg.c line 190 : nua_handle_bind(gateway_ptr->nh, gateway_ptr->sofia_private); It seems the right handle be gateway_ptr->sub_nh. It causes every SUBSCRIBE message's response print "Gateway information missing" error. -- afshin
No I'm pretty sure its correct. Their are options on gateways to make or take inbound subscriptions and route them its not documented. Also that line is NOT an error level its a Debug level log. If it were dangerous it would be CRIT or ERROR level logging. Look at parse_gateway_subscriptions /b On Jan 23, 2010, at 8:49 AM, afshin afzali wrote:
Hi,
In sofia_reg.c line 190 :
nua_handle_bind(gateway_ptr->nh, gateway_ptr->sofia_private);
It seems the right handle be gateway_ptr->sub_nh. It causes every SUBSCRIBE message's response print "Gateway information missing" error.
-- afshin
Thanks to your reply, I've paid attention to that error because the successful subscription, immediately does unsubscribe by sending another SUBSCRIBE message. By inspection in the function which the error does log (sofia_presence : 2198) it appears that it is a precondition to accept any SUBSCRIBE message response. and finally I did just this modification : nh -> sub_nh and the result is the stable subscription operation. of course you are right :) -- afshin On Sat, Jan 23, 2010 at 7:59 PM, Brian West <brian@freeswitch.org> wrote:
No I'm pretty sure its correct. Their are options on gateways to make or take inbound subscriptions and route them its not documented.
Also that line is NOT an error level its a Debug level log.
If it were dangerous it would be CRIT or ERROR level logging.
Look at parse_gateway_subscriptions
/b
On Jan 23, 2010, at 8:49 AM, afshin afzali wrote:
Hi,
In sofia_reg.c line 190 :
nua_handle_bind(gateway_ptr->nh, gateway_ptr->sofia_private);
It seems the right handle be gateway_ptr->sub_nh. It causes every SUBSCRIBE message's response print "Gateway information missing" error.
-- afshin
_______________________________________________ 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
If its still a bug or you had to change code please post a jira.. its the correct place to debate and talk about issues so we can track them properly. ;) Thanks, Brian On Jan 23, 2010, at 12:23 PM, afshin afzali wrote:
Thanks to your reply,
I've paid attention to that error because the successful subscription, immediately does unsubscribe by sending another SUBSCRIBE message. By inspection in the function which the error does log (sofia_presence : 2198) it appears that it is a precondition to accept any SUBSCRIBE message response. and finally I did just this modification : nh -> sub_nh and the result is the stable subscription operation.
of course you are right :) -- afshin
participants (2)
-
afshin afzali
-
Brian West