[Spce-user] Setting acc source-leg to subscriber primary number

Matthias Hohl matthias.hohl at telematica.at
Tue Feb 24 15:15:21 EST 2015


Hello, 

how can I force SPCE to everytime set the "acc source-leg" to the "subscriber primary number" and not any alias or other CLIs..? 

In a Clip no Screening szenario, a pbx could send any "F=sip:" number. 
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. 
After that, If you look in the CDR file, the <source_user> is the number the pbx sent in the invite to the SPCE. 

Otherwise i have a problem with my billingsoftware cause the need the "source_user" to indentify a subscriber customer. 


LOGFILE: 
subscriber primary number: 4331626xxxx 
subscriber alias number: 435056xxxx 


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: 
Feb 24 20:17:59 spce proxy[28371]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:0676778xxxx at sip-test.xxxx.at F=sip:4331626xxxx at sip-test.xxxx.at T=sip:0676778xxxx at sip-test.xxxx.at IP=xx.xxx.xxx.xx1:5060 (127.0.0.1:5060) ID=1eb77a7554691c8732f4211d732f7e89 at sip-test.xxxx.at 
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| 4331626xxxx |sip-test.xxxx.at| 43505xxxx |1001|1001|6|||0|call|78.xxx.xxx.xx|1424805479.916862|||||||||||' - R=sip:43676778xxxx at 79.xxx.xxx.xxx:5060;transport=udp ID=1eb77a7554691c8732f4211d732f7e89 at sip-test.xxxx.at 


Now I set the alias number at the pbx, in this case the "43505xxxx" number and place a call: 
but normally the "setting acc source-leg" should be look same as above...? or not..? 

Feb 24 20:18:47 spce proxy[28366]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:0676778xxxx at sip-test.xxxx.at F=sip:43505xxxx at sip-test.xxxx.at T=sip:0676778xxxx at sip-test.telematica.at IP=xx.xxx.xxx.xx1:5060 (127.0.0.1:5060) ID=2ede432e380b118379b06f4c0ab8046f at sip-test.xxxx.at 
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| 43505xxxx |sip-test.xxx.at| 43505xxxx |1001|1001|6|||0|call| 78.xxx.xxx.xx |1424805528.011077|||||||||||' - R=sip:43676778xxxx at 79.xxx.xxx.xxx:5060;transport=udp ID=2ede432e380b118379b06f4c0ab8046f at sip-test.xxxx.at 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20150224/ff7081dc/attachment.html>


More information about the Spce-user mailing list