Project:Asterisk integration
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

Hi,

I have a problem. I use sip:user@host syntax according to SIP address standard. Is this supported?

This code:
" if (strpos($number, '://') !== FALSE) {
$badchars = array(' ', '(', ')', '+', '/', '@');
}
else {
$badchars = array(' ', '(', ')', '+', '-', ':', '/', '@');
}"

removed the : in the sip-address. Is this ok?

Best regards,

Dan Ekström

Comments

#1

Status:active» closed (works as designed)

from the doxygen for the asterisk_call() function:


* Number formats are as follows:
* IAX: iax://username user is registered to your asterisk server
* SIP: sip://username
* FWD: fwd://fwd_number

so at this moment, the format you posted isn't compatible with the module.

marking as by design. i would consider committing a feature request to add this format if somebody will roll a patch and post it.

nobody click here