core: set number of incoming call
This commit is contained in:

committed by
Aleksander Morgado

parent
ae72922031
commit
65a64c9248
@@ -6309,7 +6309,7 @@ clip_received (MMPortSerialAt *port,
|
|||||||
/* The match info gives us in which storage the index applies */
|
/* The match info gives us in which storage the index applies */
|
||||||
gchar *str = mm_get_string_unquoted_from_match_info (info, 1);
|
gchar *str = mm_get_string_unquoted_from_match_info (info, 1);
|
||||||
|
|
||||||
if( !str ) {
|
if( str ) {
|
||||||
guint validity = 0;
|
guint validity = 0;
|
||||||
guint type = 0;
|
guint type = 0;
|
||||||
|
|
||||||
|
@@ -355,8 +355,7 @@ mm_voice_clip_regex_get (void)
|
|||||||
* <CR><LF>+CLIP: "+393351391306",145,,,,0<CR><LF>
|
* <CR><LF>+CLIP: "+393351391306",145,,,,0<CR><LF>
|
||||||
* \_ Number \_ Type \_ Validity
|
* \_ Number \_ Type \_ Validity
|
||||||
*/
|
*/
|
||||||
|
return g_regex_new ("\\r\\n\\+CLIP:\\s*(\\S+),\\s*(\\d+),\\s*,\\s*,\\s*,\\s*(\\d+)\\r\\n",
|
||||||
return g_regex_new ("\\r\\n\\+CLIP:\\s*\"(\\S+)\",\\s*(\\d+),\\s*,\\s*,\\s*,\\s*(\\d+)\\r\\n",
|
|
||||||
G_REGEX_RAW | G_REGEX_OPTIMIZE,
|
G_REGEX_RAW | G_REGEX_OPTIMIZE,
|
||||||
0,
|
0,
|
||||||
NULL);
|
NULL);
|
||||||
|
Reference in New Issue
Block a user