Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Phonerlite - cannot dial non-numeric number (Read 1006 times)
dux
YaBB Newbies
*
Offline


Phoner is great!

Posts: 20
Location: Russia
Joined: 17. Jul 2019
Gender: Male
Phonerlite - cannot dial non-numeric number
22. Apr 2020 at 07:17
Print Post  
Hello, I try to dial a number containing semicolons that devide it into parts (the number itself, account, external crm number). In Phonerlite this does not work, although in other softphone this works. Is semicolon prohibited?
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10047
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Phonerlite - cannot dial non-numeric number
Reply #1 - 22. Apr 2020 at 09:46
Print Post  
PhonerLite does no "cleaning" of phone numbers. The number is used, exactly as the user puts it in. So if you enter a number with semicolon, the semicolon is part of the message to the provider. Only spaces will be removed.
  
Back to top
WWW  
IP Logged
 
dux
YaBB Newbies
*
Offline


Phoner is great!

Posts: 20
Location: Russia
Joined: 17. Jul 2019
Gender: Male
Re: Phonerlite - cannot dial non-numeric number
Reply #2 - 22. Apr 2020 at 10:30
Print Post  
I have taken a dump. The difference between the one with the semicolon and the trace without it is that there is no server part added. In a regular call the address is phone@server, but with the semicolon it is just the dialed string without @server. This is, I think, the reason, why such calls are rejected.
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10047
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Phonerlite - cannot dial non-numeric number
Reply #3 - 22. Apr 2020 at 10:34
Print Post  
But why do you append such semicolon behind the number?
  
Back to top
WWW  
IP Logged
 
dux
YaBB Newbies
*
Offline


Phoner is great!

Posts: 20
Location: Russia
Joined: 17. Jul 2019
Gender: Male
Re: Phonerlite - cannot dial non-numeric number
Reply #4 - 22. Apr 2020 at 10:56
Print Post  
I do not now, how else to pass additional parameters to Asterisk. Besides a number, I need to pass there client account, contact ID etc.
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10047
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Phonerlite - cannot dial non-numeric number
Reply #5 - 22. Apr 2020 at 12:08
Print Post  
I can't help you with Asterisk. Sorry.
  
Back to top
WWW  
IP Logged
 
dux
YaBB Newbies
*
Offline


Phoner is great!

Posts: 20
Location: Russia
Joined: 17. Jul 2019
Gender: Male
Re: Phonerlite - cannot dial non-numeric number
Reply #6 - 22. Apr 2020 at 13:13
Print Post  
This does not concern asterisk. This is the problem with invite message headers. There the server part is omitted, if the number contains semicolon.
In traces it is usually INVITE sip:phone number@server ip SIP/2.0, but in case a number contains semicolons it looks like INVITE sip phone part1;part2;part3.. SIP/2.0
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 10047
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Phonerlite - cannot dial non-numeric number
Reply #7 - 23. Apr 2020 at 11:26
Print Post  
That is completely clear. But why does your number has a semicolon behind?
You can use a complete URI (sip:example@domain.org) as destination number. In your case the user part is empty and "sip:xxx;" is handled as valid URI.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint