<html><body><div style="font-family: tahoma,new york,times,serif; font-size: 12pt; color: #000000"><div>The CDR File:</div><div><br data-mce-bogus="1"></div><div>'1852','2015-02-24 20:18:26','4b33fe76-c427-44c9-9f73-c5db065493c1','4','1001','1','1001','6','<strong>4331626xxxx</strong>','sip-test.xxxx.at','<strong>43505xxxx</strong>','0','78.142.184.85','0','3','','','','0','43676778xxxx','<span style="color: #000000; font-family: tahoma, 'new york', times, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;" data-mce-style="color: #000000; font-family: tahoma, 'new york', times, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;">79.</span><span style="color: #000000; font-family: tahoma, 'new york', times, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;" data-mce-style="color: #000000; font-family: tahoma, 'new york', times, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;">xxx.xxx.xxx</span>','43676778xxxx','sip-test.xxxx.at','0676778xxxx','','','call','cancel','487','2015-02-24 20:18:00.917','2015-02-24 20:18:07.000','0.000','1eb77a7554691c8732f4211d732f7e89@sip-test.xxxx.at','ok','2015-02-24 20:18:26','0.00','0.00','onnet','','platform internal','','0','0','0.00','0.00','','','','','0','0','0.00','','','0','0.00','','','0'<br>'1853','2015-02-24 20:19:06','4b33fe76-c427-44c9-9f73-c5db065493c1','4','1001','1','1001','6','<strong>43505xxxx</strong>','sip-test.xxxx.at','<strong>43505xxxx</strong>','0','78.142.184.85','0','3','','','','0','43676778xxxx','79.xxx.xxx.xxx','43676778xxxx','sip-test.xxxx.at','0676778xxxx','','','call','cancel','487','2015-02-24 20:18:48.011','2015-02-24 20:18:54.000','0.000','2ede432e380b118379b06f4c0ab8046f@sip-test.xxxx.at','ok','2015-02-24 20:19:06','0.00','0.00','onnet','','platform internal','','0','0','0.00','0.00','','','','','0','0','0.00','','','0','0.00','','','0'<br></div><div><br></div><div>so what should i do..? Mr. Andreas Granig wrote in a post long time ago, that for billing indentify the "source_user" should be taken, but in this case it would be better to take the "account_id" and map this in the billing software..? or not..?</div><div><br data-mce-bogus="1"></div><div>would be nice if you could give me an advice... thanks.</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>Von: </b>"Matthias Hohl" <matthias.hohl@telematica.at><br><b>An: </b>"Spce-user@lists.sipwise.com" <spce-user@lists.sipwise.com><br><b>Gesendet: </b>Dienstag, 24. Februar 2015 21:15:21<br><b>Betreff: </b>[Spce-user] Setting acc source-leg to subscriber primary number<br></div><br><div data-marker="__QUOTED_TEXT__"><div style="font-family: tahoma,new york,times,serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: tahoma,new york,times,serif; font-size: 12pt; color: #000000;"><div>Hello,<br></div><br><div>how can I force SPCE to everytime set the "acc source-leg" to the "subscriber primary number" and not any alias or other CLIs..?<br></div><br><div>In a Clip no Screening szenario, a pbx could send any "F=sip:" number. </div><div>So if the Invite from the PBX to the SPCE comes with "F=sip:anynumber" the SPCE will set acc source-leg to this number.</div><div>After that, If you look in the CDR file, the <source_user> is the number the pbx sent in the invite to the SPCE.</div><br><div>Otherwise i have a problem with my billingsoftware cause the need the "source_user" to indentify a subscriber customer.</div><br><br><div>LOGFILE:</div><div><strong>subscriber primary number: 4331626xxxx</strong></div><div><strong>subscriber alias number: 435056xxxx</strong></div><div><strong><br></strong></div><div><strong><br></strong></div><div>I called from the pbx to a mobile number and in first log, you can see, that "F=sip:" is the subscriber with his primary number:</div><div>Feb 24 20:17:59 spce proxy[28371]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:0676778xxxx@sip-test.xxxx.at F=sip:4331626xxxx@sip-test.xxxx.at T=sip:0676778xxxx@sip-test.xxxx.at IP=xx.xxx.xxx.xx1:5060 (127.0.0.1:5060) ID=1eb77a7554691c8732f4211d732f7e89@sip-test.xxxx.at</div><div>Feb 24 20:17:59 spce proxy[28366]: NOTICE: <script>: Setting acc source-leg for uuid '4b33fe76-c427-44c9-9f73-c5db065493c1': '4b33fe76-c427-44c9-9f73-c5db065493c1|<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"><em><strong>4331626xxxx</strong></em></span>|sip-test.xxxx.at|<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"><em><strong>43505xxxx</strong></em></span>|1001|1001|6|||0|call|78.xxx.xxx.xx|1424805479.916862|||||||||||' - R=sip:43676778xxxx@79.xxx.xxx.xxx:5060;transport=udp ID=1eb77a7554691c8732f4211d732f7e89@sip-test.xxxx.at<br></div><br><br><div>Now I set the alias number at the pbx, in this case the "43505xxxx" number and place a call:</div><div>but normally the "setting acc source-leg" should be look same as above...? or not..?</div><br><div>Feb 24 20:18:47 spce proxy[28366]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:0676778xxxx@sip-test.xxxx.at F=sip:43505xxxx@sip-test.xxxx.at T=sip:0676778xxxx@sip-test.telematica.at IP=xx.xxx.xxx.xx1:5060 (127.0.0.1:5060) ID=2ede432e380b118379b06f4c0ab8046f@sip-test.xxxx.at<br></div><div>Feb 24 20:18:48 spce proxy[28365]: NOTICE: <script>: Setting acc source-leg for uuid '4b33fe76-c427-44c9-9f73-c5db065493c1': '4b33fe76-c427-44c9-9f73-c5db065493c1|<em><span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"><strong>43505xxxx</strong></span></em>|sip-test.xxx.at|<span style="text-decoration: underline;" data-mce-style="text-decoration: underline;"><em><strong>43505xxxx</strong></em></span>|1001|1001|6|||0|call|<span style="color: #000000; font-family: tahoma, 'new york', times, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;" data-mce-style="color: #000000; font-family: tahoma, 'new york', times, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;">78.xxx.xxx.xx</span>|1424805528.011077|||||||||||' - R=sip:43676778xxxx@79.xxx.xxx.xxx:5060;transport=udp ID=2ede432e380b118379b06f4c0ab8046f@sip-test.xxxx.at<br></div></div><br>_______________________________________________<br>Spce-user mailing list<br>Spce-user@lists.sipwise.com<br>https://lists.sipwise.com/listinfo/spce-user<br></div></div></body></html>