You could use other headers for signaling from Asterisk to openser, e.g. PAI:
in asterisk: show application SIPAddHeader in openser: read PAI header and eventually use uac module. klaus Iñaki Baz Castillo schrieb: > Hi, I've a PBX (Asterisk) registered in OpenSer as user "[EMAIL PROTECTED]". > When Asterisk receives a call from PSTN it calls to OpenSer users with From: > From: <sip:[EMAIL PROTECTED]> > > But of course, this can't validate "check_from()" since From username > (PSTN_number) and auth username (pbx) are differents. > > As I solution I don't do "check_from()" if From username is "pbx" but of > course, it can create security problems. > > Other solution is to force "From" username in PBX outgoing calls, but with > this the callerid number will be "PBX" (that is not very cool for end users > xD). > > Another solution is using "trusted" ips, but this is not valid for me since > Asterisk is behind a NAT and dynamic IP, and because there can be multiples > PBX for each domain of OpenSer and I don't want they to have privileges. > > > Is there any other approach for this? > > Thanks for any suggestion. > > _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users