Hi Julien,
Thanks you for you fast answer!
We have a Dialogic digital card : D600-JCT 2E1
Our protocol is : Euro ISDN
We checked with our Telecom, he forwards us the number dialed by the
caller.
With %pstn.dnid we get the last four digits of N2. N2 is called by N1,
so %pstn.dnid gives us N2 (last four digits only).
I am sorry! My first email was not very clear, it didn't point out our
problem!
Here it is:
We have two phone numbers (N1 and N2) where caller (C) can call us.
N1 is our premium number and N2 is our black number.
For a normal call session, Callers call N1, then, N1 is redirected to
N2 by our telecom operator. (The number dialed by callers is
forwarded to us).
We obviously don't want callers to call N2.
Thus, we want to get the number dialed by callers and accept the call
if callers call N1, or reject it if callers call N2.
Maybe, there are others solutions to make what I described
above...please tell me! :-)
I hope that it was clear this time !;-)
Thank you for your helps!
Julien Chavanton a écrit :
Hi,
%pstn.dnid should contain the (CLI, CalledId, ANI).
-What is your hardware, protocol?
-Check with the Telecom to see if they are forwarding it.
-----Original Message-----
From: address@hidden
[mailto:address@hidden
g] On Behalf Of Michel
Sent: March 28, 2006 9:22 AM
To: address@hidden
Subject: [Bayonne-devel] Phone number dialed by caller (user, client!)
Hello Bayonne mailing list!
We have two numbers (N1 and N2) where caller can call us.
N1 is redirected to N2 by our telecom operator.
Our goal is to get the number dialed by our callers. We tried the
%pstn.xxxx and %session.xxxx commands of bayonne but we didn't success!
With "%pstn.dnid", we can only have the N2 number even if the caller
dialed N1. We also tried %pstn.redirect.
Do anyone have an idea?
Thank You
_______________________________________________
Bayonne-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bayonne-devel
_______________________________________________
Bayonne-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bayonne-devel