[Users] asterisk and openser - CallerID

Paul Cupis paulcupis at hotmail.com
Tue May 9 21:53:58 CEST 2006


Hi all,

I'm having some trouble integrating openser with asterisk. I am able to
make/receive calls PSTN<>asterisk<>OpenSER<>SIP-client fine, and the SIP
client received the PSTN callers CallerID, but I cannot get the
SIP-originated call to present a useful CLI to the PSTN recipient.

FWIW, I have been able to set the CallerID manually from AGI scripts and
the like, and it works from IAX<>asterisk<>PSTN.

In openser.cfg I have:

  # Append Remote-Party-ID header field
  xlog( "L_INFO", "appending rpid" );
  append_rpid_hf("", ";party=calling;id-type=subscriber;screen=no");

and I can see the RPID header in the SIP traffic.

In sip.conf I have:

[openser]
type=friend
context=from-openser
host=<hidden>
insecure=very
trustrpid=yes
amaflags=billing

We are using asterisk 1.0.7 atm and openser 1.0.1 with MySQL backend.
I've tried setting the rpid field in openser.subscriber to various
settings but it is not making it to the PSTN recipient.

Any ideas/gotchas with this sort of setup, or any further information
required?





More information about the sr-users mailing list