okay my understanding was wrong
so its 1234 ---> john
what you need is map of 1234 to john, you can do this in alias if you want so when the call comes in lookup(aliases) and see what it returns
Iqbal
Ashutosh kumar wrote:
Comments inline.
Now when a call comes in 222222222---> 1234--->John correct thats what
you want
Yes, that is what I want
where do you map 222222222----> 1234 ?
1234 is a local DID provided to me by the telco.My query is how will 1234 and john be mapped with each other if john is in subscribers table and 1234 is in aliases table, i.e how do I relate them.
Ashutosh
-----Original Message----- From: Iqbal [mailto:iqbal@gigo.co.uk] Sent: Friday, September 23, 2005 6:04 PM To: Ashutosh kumar Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Adding Aliases for inbound PSTN
your user John, will be in the subscriber table, and alias 1234 in aliases true
Now when a call comes in 222222222---> 1234--->John correct thats what you want
where do you map 222222222----> 1234 ?
Iqbal
Ashutosh kumar wrote:
Hi,
I want to configure my ser.cfg so as to bind a user john to a DID 1234 from my pstn switch. John is a user in my ser DB and i want to assign him the phone number 1234, so that whenever my pstn GW forwards this call for 1234 to SER, SER should forward this call to user john.Which command do i use ni this case. serctl alias add john 1234, OR serctl alias add 1234 john,
beacuse in my case, none of these is working, although i can see the switch forwarding the call to SER. How can i use save("aliases") in this scenario? I have used lookup ("alaises") at appropriate places.
Thanks Ashutosh
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.
.