just alias that number to a voip username which is bound to that user, so when 123456789 is dialed nextone sends it to ser, ser looks up in aliases, sees the match and sends it to that user
Iqbal
Ashutosh Kumar wrote:
Hi Andreas, Thanks for the reply, I was thinking of another approach to do this, tell me if I am wrong. May I use the 'phone' field in subscriber table to run an external sql script to map the DID (phone) with a username, and then rewrite the uri, and then forward the call to that user?
Regards, Ashutosh
-----Original Message----- From: Andreas Granig [mailto:andreas.granig@inode.info] Sent: Tuesday, September 20, 2005 6:22 PM To: Ashutosh Kumar Cc: serusers@lists.iptel.org Subject: Re: [Serusers] COnfiguring a PSTN number with SER
Ashutosh Kumar wrote:
I have a DID number to which I want to assign to a user in
SER, the call will come through a NExtone. How / what changes I have to make in ser.cfg to arrange that whenever a call comes on that number on nextone, that call should be forwarded to the sip-user bound to that
number.
How can I use aliases in this scenario.
Check the PSTN chapter of the Getting Started document at http://onsip.org
Andy
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.