Also, some SUA will insert the rpid field into the SIP header - Cisco. For SER to insert the one it gets from the auth stage you will first have to remove the existing one. This is what I've found at least.
Alan
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org]On Behalf Of Bogdan-Andrei IANCU Sent: 12 July 2004 12:58 To: Charles Galea Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Remote Party ID
rpid is fetched from db during an authentication check. so, if you don't have any authentication before append_rpid_hf(), we will not have any rpid.
bogdan
Charles Galea wrote:
We have downloaded the latest ser software from cvs in order to support appending of remote party id while using mysql as the ser database. After compiling and installing the ser software we included the auth and auth_db parameters and also the append_rpid_hf() function in our ser.cfg file as shown below.
SER server starts and registration is successfull however when forwarding to the pstn gateway, ser will not append the remote party id header, even if the rpid and uri columns in mysql database are populated accordingly using the serctl add rpid command. Calls are also successfull however the gateway will not include the calling party number in the setup message because the rpid header is missing.
Any ideas please?
Thanks
Charles and Andrew
------------------------------------------------------------------------------------------------------- This email, and any files transmitted with it, is copyright and may contain confidential information. The contents are intended for the use of the addressee(s) only. Unauthorized use may be unlawful. If you receive this email by mistake, please advise sender immediately. The views of the author may not necessarily constitute the views of Telco Electronics Limited. Nothing in this mail shall bind Telco Electronics Limited in any contract or obligation.
Telco Electronics Limited 6-8 Oxford Court Brackley Northants NN13 7XY
Tel 07000 701999 Fax 07000 701777