Unfortunatelly it's almost impossible, it uses featuers, which are in the CVS head (0.10.x) version only, so backporting does not make sense at all.
Michal
On Thu, Jul 20, 2006 at 04:45:41PM -0500, Teran Jesus wrote:
Yes my problem is that i am using a older version version (0.8.12), how can i use this module in an older version?
-----Original Message----- From: Michal Matyska [mailto:michal@iptel.org] Sent: Jueves, 20 de Julio de 2006 02:29 p.m. To: serusers@lists.iptel.org Subject: Re: [Serusers] Number registe red
If you use the FROM header like in the example you will get the originator of the call... the called uri is in the request uri and/or TO header.
Michal
On Thu, Jul 20, 2006 at 01:58:07PM -0500, Teran Jesus wrote:
But the uri have the username or telephone number of the person who i am calling, not the username of the ip phone registered, and i want the
number
of the person who generate the call.
-----Original Message----- From: Michal Matyska [mailto:michal@iptel.org] Sent: Jueves, 20 de Julio de 2006 12:03 p.m. To: serusers@lists.iptel.org Subject: [SPAM header] - Re: [SPAM header] - [Serusers] Number registered - Email found insubject - Email found in subject
Well, with the CVS head version, you can use eval module to do that....
eval_push("x:%@from.uri.user"); # get from uri username and put to stack eval_push("1"); #starting point eval_push{"2"); #length eval_oper("substr");
then you can use the result as @eval.get[0] e.g.
if (@eval.get[0]=="55") {...}
Michal
On Thu, Jul 20, 2006 at 11:46:20AM -0500, Teran Jesus wrote:
Does anybody have an answer to my questions, i really apreciate any
help.
-----Original Message----- From: Teran Jesus [mailto:jteran@mcmtelecom.com.mx] Sent: MiƩrcoles, 19 de Julio de 2006 11:33 a.m. To: serusers@lists.iptel.org Subject: [SPAM header] - [Serusers] Number registered - Email found in subject
Hello I want to validate and get the 2 first digits of the telephone number registered, if i have a ip phone registered with a number like this 5556000000, when i recieve a INVITE from this number, i want to get 55
and
validate the number, are there something to do this?
Can you help me?
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
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 _______________________________________________ Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers