Re: [Sofia-sip-devel] NUTAG_URL() Causes Segmentation Fault If AORContains Two '*'

2007-10-05 Thread Jerry Richards
Hi,

My phone can use star-codes to activate phone features (e.g. *72number for
call forwarding).  And it is possible for a user to activate a feature, then
dial a star-code, then press re-dial to introduce a double star-code string
(e.g. *73*72number).  I'm wondering if protect against this by writing
software to remove one of the star-codes prior to invoking
nua_handle/nua_invite?  The entire NUTAG_URL() looks like:
sip:[EMAIL PROTECTED]:5060).  I would rather let the user do
whatever the user wants to do, so that I don't pre-empt some future
capability.

My issue with sofia-sip: I think it should protect itself from generating a
segmentation fault.  True?  If you dial the URL above, do you also see the
segmentation fault on your platform?

Best Regards,
Jerry



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 05, 2007 4:10 AM
To: [EMAIL PROTECTED]; sofia-sip-devel@lists.sourceforge.net
Subject: RE: [Sofia-sip-devel] NUTAG_URL() Causes Segmentation Fault If
AORContains Two '*'


Hi,

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of ext Jerry Richards
Sent: Thursday, October 04, 2007 10:11 PM
To: sofia-sip-devel@lists.sourceforge.net
Subject: [Sofia-sip-devel] NUTAG_URL() Causes Segmentation
Fault If AORContains Two '*'

Does anyone know why I get a Segmentation Fault if I call
nua_handle() or
nua_invite() with an NUTAG_URL() containing two '*' in the AOR?

Don't do that, then? :)
Or maybe, I completely misunderstood the problem. What exactly goes into
NUTAG_URL?

Best regards,
  Mikhail
attachment: winmail.dat-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] NUTAG_URL() Causes Segmentation Fault If AORContains Two '*'

2007-10-05 Thread mikhail.zabaluev
Hi, 

-Original Message-
From: ext Jerry Richards [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 05, 2007 5:41 PM
To: Zabaluev Mikhail (Nokia-M/Helsinki); 
sofia-sip-devel@lists.sourceforge.net
Subject: RE: [Sofia-sip-devel] NUTAG_URL() Causes Segmentation 
Fault If AORContains Two '*'

My phone can use star-codes to activate phone features (e.g. 
*72number for call forwarding).  And it is possible for a 
user to activate a feature, then dial a star-code, then press 
re-dial to introduce a double star-code string (e.g. 
*73*72number).  I'm wondering if protect against this by 
writing software to remove one of the star-codes prior to 
invoking nua_handle/nua_invite?  The entire NUTAG_URL() looks 
like: sip:[EMAIL PROTECTED]:5060).  I would rather 
let the user do whatever the user wants to do, so that I don't 
pre-empt some future capability.

My issue with sofia-sip: I think it should protect itself from 
generating a segmentation fault.  True?  If you dial the URL 
above, do you also see the segmentation fault on your platform?

It works for me, but Telepathy-SofiaSIP might do it differently.
Can you look up the location of the crash in a core file or something?

Regards,
  Mikhail
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel