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?
Hello,
try
append_rpid_hf("", ";party=calling;id-type=subscriber;privacy=off;screen=yes");
Does the callee have CLI enabled from telco?
Cheers, Daniel
On 05/09/2006 10:53 PM, Paul Cupis wrote:
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?
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Daniel-Constantin Mierla wrote:
try
append_rpid_hf("", ";party=calling;id-type=subscriber;privacy=off;screen=yes");
Okay, I've tried that but I still get no CLI at the PSTN end and asterisk reports:
"","username","0123456789","context","""John Doe"" <username>",....
where 0123465789 is the PSTN number I am dialling.
Any ideas? Do you have an example subscriber.rpid setting I can try, please?
Does the callee have CLI enabled from telco?
Yes.
On 05/10/2006 01:43 AM, Paul Cupis wrote:
Daniel-Constantin Mierla wrote:
try
append_rpid_hf("", ";party=calling;id-type=subscriber;privacy=off;screen=yes");
Okay, I've tried that but I still get no CLI at the PSTN end and asterisk reports:
"","username","0123456789","context","""John Doe"" <username>",....
where 0123465789 is the PSTN number I am dialling.
Any ideas? Do you have an example subscriber.rpid setting I can try, please?
rpid can be any sequence of digits, but I do not know how asterisk deals with it.
Daniel
Does the callee have CLI enabled from telco?
Yes.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users