linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] Numbers with spaces an slashes


From: sean darcy
Subject: Re: [Linphone-users] Numbers with spaces an slashes
Date: Tue, 4 Oct 2016 16:51:01 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 09/27/2016 07:32 AM, Marcel Weißenbach wrote:
Hi there,



Is there a way to remove them automatically?



For example when someone calls



030 / 123 456 789 0



This will fail as this is an unkown extension to asterisk…



_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users

You're probably better off figuring it out on the asterisk side.


Maybe something like this:

exten => _XXX.,1,Answer()
 same => n,Set(regx="([0-9]+)")
same => n,Set(number=$["${EXTEN}" : ${regx}]) ; strip everything but digits
 same => n,...

sean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]