[Serusers] Adding Aliases for inbound PSTN

Chris St Denis chris at aebc.com
Tue Sep 27 19:36:37 CEST 2005


As an alternative to aliases, you can use AVPs for this. That is how I am
doing it, tho the exact details are implementation specific the basic idea.

Lookup the user to see if it's already valid.
If not, do an avp_pushto("$ruri/username"
Lookup again, now that there is a new username. 


-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
Behalf Of Ashutosh kumar
Sent: Friday, September 23, 2005 5:32 AM
To: serusers at lists.iptel.org
Subject: [Serusers] Adding Aliases for inbound PSTN

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 at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list