[Spce-user] Setting acc source-leg to subscriber primary number
Matthias Hohl
matthias.hohl at telematica.at
Tue Feb 24 17:20:08 EST 2015
Btw: to prevent any confusion... my primary number is also my subscriber user name!!
> Am 24.02.2015 um 21:38 schrieb Matthias Hohl <matthias.hohl at telematica.at>:
>
> The CDR File:
>
> '1852','2015-02-24 20:18:26','4b33fe76-c427-44c9-9f73-c5db065493c1','4','1001','1','1001','6','4331626xxxx','sip-test.xxxx.at','43505xxxx','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:00.917','2015-02-24 20:18:07.000','0.000','1eb77a7554691c8732f4211d732f7e89 at 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'
> '1853','2015-02-24 20:19:06','4b33fe76-c427-44c9-9f73-c5db065493c1','4','1001','1','1001','6','43505xxxx','sip-test.xxxx.at','43505xxxx','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 at 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'
>
> 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..?
>
> would be nice if you could give me an advice... thanks.
>
>
> Von: "Matthias Hohl" <matthias.hohl at telematica.at>
> An: "Spce-user at lists.sipwise.com" <spce-user at lists.sipwise.com>
> Gesendet: Dienstag, 24. Februar 2015 21:15:21
> Betreff: [Spce-user] Setting acc source-leg to subscriber primary number
>
> 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
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150224/1e9e64cd/attachment-0001.html>
More information about the Spce-user
mailing list