Closed (works as designed)
Project:
Asterisk integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2007 at 17:01 UTC
Updated:
30 Jul 2007 at 21:23 UTC
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
Comment #1
hunmonk commentedfrom 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.