[Spce-user] Setting P-Called-Party-ID

Carriba UG - sip:wise sipwise at carriba.org
Thu Oct 17 06:41:18 EDT 2013


Hello Andrew,

I have also tried this, but it is not working.

This are the log for that:

Oct 17 12:1:01 gwtest proxy[1694]: NOTICE: <script>: New request - M=INVITE
R=sip:0123456789 at xx.xx.xx:5060 F=sip:testuser at xx.xx.xx
T=sip:0123456789 at xx.xx.xx:5060 IP=0.0.0.0:5060 (127.0.0.1:5060)
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1694]: NOTICE: <script>: Authentication failed,
no credentials - R=sip:0123456789 at xx.xx.xx:5060
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: New request - M=INVITE
R=sip:0123456789 at xx.xx.xx:5060 F=sip:testuser at xx.xx.xx
T=sip:0123456789 at xx.xx.xx:5060 IP=0.0.0.0:5060 (127.0.0.1:5060)
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: User-Provided CLI
'testuser' taken from From-User - R=sip:0123456789 at xx.xx.xx:5060
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: User-provided CLI
'testuser' rejected, using provisioned user-provided CLI '1555555' -
R=sip:0123456789 at xx.xx.xx:5060 ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting
'1555555 at xx.xx.xx' as initiating user-provided CLI -
R=sip:0123456789 at xx.xx.xx:5060 ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting
'testuser at xx.xx.xx' as initiating network-provided CLI -
R=sip:0123456789 at xx.xx.xx:5060 ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Rewriting called party
'0123456789' to '1123456789' - R=sip:0123456789 at xx.xx.xx:5060
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Callee is not local -
R=sip:1123456789 at xx.xx.xx:5060 ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Call to SIP Peering -
R=sip:1123456789 at xx.xx.xx:5060 ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Load gws matching
calling part 'sip:1555555 at xx.xx.xx' and called user '1123456789' and called
part 'sip:1123456789 at xx.xx.xx:5060' - R=sip:1123456789 at xx.xx.xx:5060
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting acc source-leg
for uuid 'b17290b4-d312-418d-aa98-04f377b3deaf':
'b17290b4-d312-418d-aa98-04f377b3deaf|testuser|xx.xx.xx|1555555|||0|||0|call
|0.0.0.0|1382006581.812452' - R=sip:1123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting acc
destination-leg for uuid '0':
'0|||0|0123456789|0|1123456789|1.1.1.1|1123456789|xx.xx.xx' -
R=sip:1123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting
caller_cli_userprov/caller_domain_userprov '1555555 at xx.xx.xx' for upn -
R=sip:1123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting From to
'<sip:1555555 at xx.xx.xx>' - R=sip:1123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting
caller_cli_netprov/caller_domain_netprov 'testuser at xx.xx.xx' for npn -
R=sip:1123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting PAI to
'<sip:testuser at xx.xx.xx>' - R=sip:1123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Rewriting called party
'1123456789' to '001123456789' - R=sip:1123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting
P-Called-Party-ID '<sip:001123456789 at 1.1.1.1>' -
R=sip:001123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Setting
'sip:1.1.1.1:5060' taken from R-URI as next hop after lb for PSTN call -
R=sip:001123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Appending P-D-URI
'sip:127.0.0.1:5060;received='sip:1.1.1.1:5060;transport=udp'' -
R=sip:001123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Forcing request via
B2BUA 'sip:127.0.0.1:5080' - R=sip:001123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1689]: NOTICE: <script>: Request leaving server,
D-URI='sip:127.0.0.1:5080' - R=sip:001123456789 at 1.1.1.1:5060;transport=udp
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1688]: NOTICE: <script>: NAT-Reply - S=100 -
Connecting M=INVITE IP=0.0.0.0:5060 (127.0.0.1:5080)
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:01 gwtest proxy[1691]: NOTICE: <script>: NAT-Reply - S=183 -
Session progress M=INVITE IP=0.0.0.0:5060 (127.0.0.1:5080)
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx
Oct 17 12:1:02 gwtest proxy[1692]: NOTICE: <script>: New request - M=CANCEL
R=sip:0123456789 at xx.xx.xx:5060 F=sip:testuser at xx.xx.xx
T=sip:0123456789 at xx.xx.xx:5060 IP=0.0.0.0:5060 (127.0.0.1:5060)
ID=408842a347d1ce8c2602d3005befe476 at xx.xx.xx

Thanks, I hope you can help me.

-----Ursprüngliche Nachricht-----
Von: Andrew Pogrebennyk [mailto:apogrebennyk at sipwise.com] 
Gesendet: Donnerstag, 17. Oktober 2013 12:37
An: sipwise at carriba.org; spce-user at lists.sipwise.com
Betreff: Re: AW: [Spce-user] Setting P-Called-Party-ID

Hi,
could you send me the kamailio-proxy log for this call? The e164_to_ruri
should not affect From, it changes only RURI and To, so we need to see
what's going on.. Maybe you need to set outbound_from_user usr/dom
preference to "User-provided Number".

cheers
Andrew

On 10/17/2013 12:18 PM, Carriba UG - sip:wise wrote:
> Hello Andrew,
> 
> I have done this now, but is not correct now.
> 
> I have this From:
> From: "0123456789" <sip:username at xx.xx.xx>;tag=as15e1e16f'
> 
> Now it works a half, the "s" is gone and the number from the From will 
> set by the username. I need to use it from the From in the first part 
> like "0123456789".
> 
> Thanks.






More information about the Spce-user mailing list