Hi
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script
iqbal
Hi Iqbal,
not sure how is in php, but i remember that in perl, the env. variables were kept in a sort of array....
regards, bogdan
Iqbal wrote:
Hi
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script
iqbal
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
php is the same, just $_ENV['SIP_USER'] or whatever the variable is, but it displays nothing, I have also used getenv();
Iqbal
Bogdan-Andrei Iancu wrote:
Hi Iqbal,
not sure how is in php, but i remember that in perl, the env. variables were kept in a sort of array....
regards, bogdan
Iqbal wrote:
Hi
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script
iqbal
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
.
Hi all,
I buy some Linksys RT31-NA and I was surprised because I can´t configure the Interdigit timer! So.. every call I do, I have to wait about 10 seconds to the call take place! Is there anyway to reduce this time?
Thanks in advance
Sebastian
Try to press "#" after last digit. In most devices it ends digit collection.
-- Arek,
----- Original Message ----- From: "Sebastian Milioto - INTERCOM" smilioto@itc.com.ar To: serusers@lists.iptel.org Sent: Saturday, November 19, 2005 3:12 PM Subject: [Serusers] Long interdigit time in Linksys RT31-NA
Hi all,
I buy some Linksys RT31-NA and I was surprised because I can´t configure
the
Interdigit timer! So.. every call I do, I have to wait about 10 seconds to the call take place! Is there anyway to reduce this time?
Thanks in advance
Sebastian
This seems like the wrong place to ask questions about the Linksys IAD .. However..
Yes, there is a way to decrease the interdigit timer, but you'll need to write to support@sipura.com (don't worry, it's actually linksys) and ask them how to do it. I'm afraid I can't remember.
Not sure about the "#". But try putting a "SO" at the end of your dial plan string, that ends the dial rule in the Linksys dial plan. (ie. 911 SO .. will always match on 911 and won't wait for the timer to expire)
Regards, Darren Nay
Arek Bekiersz wrote:
Try to press "#" after last digit. In most devices it ends digit collection.
-- Arek,
----- Original Message ----- From: "Sebastian Milioto - INTERCOM" smilioto@itc.com.ar To: serusers@lists.iptel.org Sent: Saturday, November 19, 2005 3:12 PM Subject: [Serusers] Long interdigit time in Linksys RT31-NA
Hi all,
I buy some Linksys RT31-NA and I was surprised because I can´t configure
the
Interdigit timer! So.. every call I do, I have to wait about 10 seconds to the call take place! Is there anyway to reduce this time?
Thanks in advance
Sebastian
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Iqbal wrote:
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script
Maybe getenv()?
Andy
done that :-),
Andreas Granig wrote:
Iqbal wrote:
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script
Maybe getenv()?
Andy
.
I just used $1, etc in a shell script. What language is this?
N.
On Mon, 21 Nov 2005 14:22:35 +0000, Iqbal wrote
done that :-),
Andreas Granig wrote:
Iqbal wrote:
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script
Maybe getenv()?
Andy
.
Serusers mailing list Serusers@iptel.org http://mail.iptel.org/mailman/listinfo/serusers
php, if anyone has a sample php would love it, if I run it from the command line phpinfo() shows all, but from within ser, I just cant pull the variables used $_ENV, getenv(),
Iqbal
sip wrote:
I just used $1, etc in a shell script. What language is this?
N.
On Mon, 21 Nov 2005 14:22:35 +0000, Iqbal wrote
done that :-),
Andreas Granig wrote:
Iqbal wrote:
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script
Maybe getenv()?
Andy
.
Serusers mailing list Serusers@iptel.org http://mail.iptel.org/mailman/listinfo/serusers
.
In PHP use explicit names: preg_match( "/(foo bar)/",$SIP_HF_FROM,$match);
or _SERVER: preg_match( "/(foo bar)/", $_SERVER['argv'][2], $match);
-- Arek
Iqbal wrote:
php, if anyone has a sample php would love it, if I run it from the command line phpinfo() shows all, but from within ser, I just cant pull the variables used $_ENV, getenv(),
Iqbal
sip wrote:
I just used $1, etc in a shell script. What language is this? N.
On Mon, 21 Nov 2005 14:22:35 +0000, Iqbal wrote
done that :-),
Andreas Granig wrote:
Iqbal wrote:
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script
$_ENV["VARIABLE_FROM_ENV"] works for exec_dst(). g-) ----- Original Message ----- From: "Iqbal" iqbal@gigo.co.uk To: "sip" sip@arcdiv.com Cc: serusers@lists.iptel.org; "users openser.org" users@openser.org Sent: Monday, November 21, 2005 4:06 PM Subject: Re: [Serusers] reading passed env variables from within php script
php, if anyone has a sample php would love it, if I run it from the command line phpinfo() shows all, but from within ser, I just cant pull the variables used $_ENV, getenv(),
Iqbal
sip wrote:
I just used $1, etc in a shell script. What language is this? N.
On Mon, 21 Nov 2005 14:22:35 +0000, Iqbal wrote
done that :-),
Andreas Granig wrote:
Iqbal wrote:
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script
Maybe getenv()?
Andy
.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers