[Spce-user] Alias DID show main CID
Sergey Kharlamov
mentax at bk.ru
Thu Nov 12 13:32:35 EST 2015
Nov 12 13:14:16 panel proxy[5020]: NOTICE: <script>: New request on proxy - M=REGISTER R=sip:sip.provider.com F=sip:beneffy007 at sip.provider.com T=sip:beneffy007 at sip.provider.com IP=24.193.61.32:56750 (127.0.0.1:5060) ID=52a23b1b5e8a4c915f9e29b642dda599 at 127.0.1.1
Nov 12 13:14:16 panel proxy[5020]: NOTICE: <script>: Contacts successfully updated, expires in 120s - R=sip:sip.provider.com ID=52a23b1b5e8a4c915f9e29b642dda599 at 127.0.1.1
Nov 12 13:14:26 panel proxy[5029]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:19160707077 at 64.20.61.242:5060 F=sip:16665920000 at 64.136.173.31 T=sip:19160707077 at 64.20.61.242 IP=64.136.173.31:5060 (127.0.0.1:5060) ID=710708675-0-1682438844 at 64.136.173.226
Nov 12 13:14:26 panel proxy[5029]: NOTICE: <script>: Authentication failed, no credentials - R=sip:19160707077 at 64.20.61.242:5060 ID=710708675-0-1682438844 at 64.136.173.226
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:19160707077 at 64.20.61.242:5060 F=sip:16665920000 at 64.136.XXX.XXX T=sip:19160707077 at 64.20.61.242 IP=64.136.XXX.XXX:5060 (127.0.0.1:5060) ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Call from PSTN - R=sip:19160707077 at 64.20.61.242:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: User-Provided CLI '16665920000' taken from From-User - R=sip:19160707077 at 64.20.61.242:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Network-Provided CLI '16665920000' taken from From-User - R=sip:19160707077 at 64.20.61.242:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting '16665920000 at 64.136.XXX.XXX' as initiating user-provided CLI - R=sip:19160707077 at 64.20.61.242:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting '16665920000 at 64.136.XXX.XXX' as initiating network-provided CLI - R=sip:19160707077 at 64.20.61.242:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Callee was aliased with base '19160707077' - R=sip:beneffy007 at sip.provider.com:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Callee is local, uuid='239f262e-ae4a-47c5-b910-385a6ee688d4' - R=sip:beneffy007 at sip.provider.com:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting acc source-leg for uuid '0': '0|16665920000|64.136.XXX.XXX|16665920000|||0|||0|call|64.136.XXX.XXX|1447352066.734863|||||||||||' - R=sip:beneffy007 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting acc destination-leg for uuid '239f262e-ae4a-47c5-b910-385a6ee688d4': '0|||2|19160707077|239f262e-ae4a-47c5-b910-385a6ee688d4|beneffy007|sip.provider.com|19160707077|64.20.61.242|1|||||||||||' - R=sip:beneffy007 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Local user online, using alias as user - R=sip:19160707077 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting caller_cli_userprov/caller_domain_userprov '16665920000 at sip.provider.com' for upn - R=sip:19160707077 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting From to '<sip:16665920000 at sip.provider.com>' - R=sip:19160707077 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting caller_cli_netprov/caller_domain_netprov '16665920000 at sip.provider.com' for npn - R=sip:19160707077 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting PAI to '<sip:16665920000 at sip.provider.com>' - R=sip:19160707077 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting P-Called-Party-ID '<sip:19160707077 at sip.provider.com>' - R=sip:19160707077 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Appending P-D-URI 'sip:lb at 127.0.0.1;lr;received=sip:24.193.61.32:56751;socket=sip:64.20.61.242:5060' - R=sip:19160707077 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Forcing request via B2BUA 'sip:127.0.0.1:5080' - R=sip:19160707077 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Request leaving server, D-URI='sip:127.0.0.1:5080' - R=sip:19160707077 at 192.10.1.10:5061 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Local user online, using alias as user - R=sip:19160707077 at 192.10.1.10:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting caller_cli_userprov/caller_domain_userprov '16665920000 at sip.provider.com' for upn - R=sip:19160707077 at 192.10.1.10:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting From to '<sip:16665920000 at sip.provider.com>' - R=sip:19160707077 at 192.10.1.10:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting caller_cli_netprov/caller_domain_netprov '16665920000 at sip.provider.com' for npn - R=sip:19160707077 at 192.10.1.10:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting PAI to '<sip:16665920000 at sip.provider.com>' - R=sip:19160707077 at 192.10.1.10:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Setting P-Called-Party-ID '<sip:19160707077 at sip.provider.com>' - R=sip:19160707077 at 192.10.1.10:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Appending P-D-URI 'sip:lb at 127.0.0.1;lr;received=sip:24.193.61.32:56750;socket=sip:64.20.61.242:5060' - R=sip:19160707077 at 192.10.1.10:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Forcing request via B2BUA 'sip:127.0.0.1:5080' - R=sip:19160707077 at 192.10.1.10:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5016]: NOTICE: <script>: Request leaving server, D-URI='sip:127.0.0.1:5080' - R=sip:19160707077 at 192.10.1.10:5060 ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5032]: NOTICE: <script>: NAT-Reply - S=100 - Connecting M=INVITE IP=64.136.XXX.XXX:5060 (127.0.0.1:5080) ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5023]: NOTICE: <script>: NAT-Reply - S=100 - Connecting M=INVITE IP=64.136.XXX.XXX:5060 (127.0.0.1:5080) ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5020]: NOTICE: <script>: NAT-Reply - S=403 - Forbidden M=INVITE IP=64.136.XXX.XXX:5060 (127.0.0.1:5080) ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5017]: NOTICE: <script>: NAT-Reply - S=180 - Ringing M=INVITE IP=64.136.XXX.XXX:5060 (127.0.0.1:5080) ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:26 panel proxy[5035]: NOTICE: <script>: NAT-Reply - S=180 - Ringing M=INVITE IP=64.136.XXX.XXX:5060 (127.0.0.1:5080) ID=442831019-0-2279322530 at 64.136.174.230
Nov 12 13:14:31 panel proxy[5026]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:16665559000 at sip.provider.com:5060 F=sip:16665920000 at sip.provider.com T=sip:16665559000 at sip.provider.com IP=24.193.61.32:56751 (127.0.0.1:5060) ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5026]: NOTICE: <script>: Authentication failed, no credentials - R=sip:16665559000 at sip.provider.com:5060 ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:16665559000 at sip.provider.com:5060 F=sip:16665920000 at sip.provider.com T=sip:16665559000 at sip.provider.com IP=24.193.61.32:56751 (127.0.0.1:5060) ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: User-Provided CLI '16665920000' taken from From-User - R=sip:16665559000 at sip.provider.com:5060 ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: User-provided CLI '16665920000' rejected, using network-provided CLI '12127776666' - R=sip:16665559000 at sip.provider.com:5060 ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting '12127776666 at sip.provider.com' as initiating user-provided CLI - R=sip:16665559000 at sip.provider.com:5060 ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting '12127776666 at sip.provider.com' as initiating network-provided CLI - R=sip:16665559000 at sip.provider.com:5060 ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Callee is not local - R=sip:16665559000 at sip.provider.com:5060 ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Call to SIP Peering - R=sip:16665559000 at sip.provider.com:5060 ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Load gws matching calling part 'sip:12127776666 at sip.provider.com' and called user '16665559000' and called part 'sip:16665559000 at sip.provider.com:5060' - R=sip:16665559000 at sip.provider.com:5060 ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting acc source-leg for uuid '239f262e-ae4a-47c5-b910-385a6ee688d4': '239f262e-ae4a-47c5-b910-385a6ee688d4|16665920000|sip.provider.com|12127776666|||2|||0|call|24.193.61.32|1447352071.949287|||||||||||' - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting acc destination-leg for uuid '0': '0|||0|16665559000|0|16665559000|64.136.XXX.XXX|16665559000|sip.provider.com|1|||||||||||' - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting caller_cli_userprov/caller_domain_userprov '12127776666 at sip.provider.com' for upn - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting From to '<sip:12127776666 at sip.provider.com>' - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting caller_cli_netprov/caller_domain_netprov '12127776666 at sip.provider.com' for npn - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting PAI to '<sip:12127776666 at sip.provider.com>' - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting P-Called-Party-ID '<sip:16665559000 at 64.136.XXX.XXX>' - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Setting 'sip:64.136.XXX.XXX:5060' taken from R-URI as next hop after lb for PSTN call - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Appending P-D-URI 'sip:127.0.0.1:5060;received='sip:64.136.XXX.XXX:5060;lr;transport=udp'' - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Forcing request via B2BUA 'sip:127.0.0.1:5080' - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5032]: NOTICE: <script>: Request leaving server, D-URI='sip:127.0.0.1:5080' - R=sip:16665559000 at 64.136.XXX.XXX:5060;transport=udp ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:31 panel proxy[5023]: NOTICE: <script>: NAT-Reply - S=100 - Connecting M=INVITE IP=24.193.61.32:56751 (127.0.0.1:5080) ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
Nov 12 13:14:33 panel proxy[5020]: NOTICE: <script>: NAT-Reply - S=183 - Session Progress M=INVITE IP=24.193.61.32:56751 (127.0.0.1:5080) ID=a7764e5a-fce6-4b0f-a8dd-e87a3a70cf69
>Четверг, 12 ноября 2015, 10:29 +01:00 от Daniel Grotti <dgrotti at sipwise.com>:
>
>Hi,
>could you provide kamailio-proxy.log ?
>
>--
>Daniel Grotti
>VoIP Engineer
>
>
>Sipwise GmbH
>Europaring F15 | 2345 Brunn am Gebirge, Austria | www.sipwise.com
>
>On 11/11/2015 06:29 PM, Sergey Kharlamov wrote:
>> Hi Daniel,
>>
>> allowed_clis has record for both numbers.
>> Here is an asterisk log when I try to make a call
>> where
>> 16665559000 - remote cell phone number
>> 19160707077 - Local CID number which should be showed on cell phone
>> 1005 - Asterisk internal extension
>>
>>
>> == Using SIP RTP TOS bits 184
>>
>> == Using SIP RTP CoS mark 5
>>
>> -- Executing [16665559000 at from-internal:1]
>> Macro("SIP/1005-00000001", "user-callerid,LIMIT,EXTERNAL,") in new stack
>>
>> -- Executing [s at macro-user-callerid:1] Set("SIP/1005-00000001",
>> "TOUCH_MONITOR=1447250237.2") in new stack
>>
>> -- Executing [s at macro-user-callerid:2] Set("SIP/1005-00000001",
>> "AMPUSER=1005") in new stack
>>
>> -- Executing [s at macro-user-callerid:3] GotoIf("SIP/1005-00000001",
>> "0?report") in new stack
>>
>> -- Executing [s at macro-user-callerid:4] ExecIf("SIP/1005-00000001",
>> "1?Set(REALCALLERIDNUM=1005)") in new stack
>>
>> -- Executing [s at macro-user-callerid:5] Set("SIP/1005-00000001",
>> "AMPUSER=1005") in new stack
>>
>> -- Executing [s at macro-user-callerid:6] GotoIf("SIP/1005-00000001",
>> "0?limit") in new stack
>>
>> -- Executing [s at macro-user-callerid:7] Set("SIP/1005-00000001",
>> "AMPUSERCIDNAME=Sergey old cell") in new stack
>>
>> -- Executing [s at macro-user-callerid:8] GotoIf("SIP/1005-00000001",
>> "0?report") in new stack
>>
>> -- Executing [s at macro-user-callerid:9] Set("SIP/1005-00000001",
>> "AMPUSERCID=1005") in new stack
>>
>> -- Executing [s at macro-user-callerid:10] Set("SIP/1005-00000001",
>> "__DIAL_OPTIONS=Ttr") in new stack
>>
>> -- Executing [s at macro-user-callerid:11] Set("SIP/1005-00000001",
>> "CALLERID(all)="Sergey old cell" <1005>") in new stack
>>
>> -- Executing [s at macro-user-callerid:12] GotoIf("SIP/1005-00000001",
>> "0?limit") in new stack
>>
>> -- Executing [s at macro-user-callerid:13] ExecIf("SIP/1005-00000001",
>> "1?Set(GROUP(concurrency_limit)=1005)") in new stack
>>
>> -- Executing [s at macro-user-callerid:14] GotoIf("SIP/1005-00000001",
>> "1?continue") in new stack
>>
>> -- Goto (macro-user-callerid,s,27)
>>
>> -- Executing [s at macro-user-callerid:27] Set("SIP/1005-00000001",
>> "CALLERID(number)=1005") in new stack
>>
>> -- Executing [s at macro-user-callerid:28] Set("SIP/1005-00000001",
>> "CALLERID(name)=Sergey old cell") in new stack
>>
>> -- Executing [s at macro-user-callerid:29] Set("SIP/1005-00000001",
>> "CDR(cnum)=1005") in new stack
>>
>> -- Executing [s at macro-user-callerid:30] Set("SIP/1005-00000001",
>> "CDR(cnam)=Sergey old cell") in new stack
>>
>> -- Executing [s at macro-user-callerid:31] Set("SIP/1005-00000001",
>> "CHANNEL(language)=en") in new stack
>>
>> -- Executing [16665559000 at from-internal:2]
>> Gosub("SIP/1005-00000001",
>> "sub-record-check,s,1(out,16665559000,dontcare)") in new stack
>>
>> -- Executing [s at sub-record-check:1] GotoIf("SIP/1005-00000001",
>> "0?initialized") in new stack
>>
>> -- Executing [s at sub-record-check:2] Set("SIP/1005-00000001",
>> "__REC_STATUS=INITIALIZED") in new stack
>>
>> -- Executing [s at sub-record-check:3] Set("SIP/1005-00000001",
>> "NOW=1447250237") in new stack
>>
>> -- Executing [s at sub-record-check:4] Set("SIP/1005-00000001",
>> "__DAY=11") in new stack
>>
>> -- Executing [s at sub-record-check:5] Set("SIP/1005-00000001",
>> "__MONTH=11") in new stack
>>
>> -- Executing [s at sub-record-check:6] Set("SIP/1005-00000001",
>> "__YEAR=2015") in new stack
>>
>> -- Executing [s at sub-record-check:7] Set("SIP/1005-00000001",
>> "__TIMESTR=20151111-085717") in new stack
>>
>> -- Executing [s at sub-record-check:8] Set("SIP/1005-00000001",
>> "__FROMEXTEN=1005") in new stack
>>
>> -- Executing [s at sub-record-check:9] Set("SIP/1005-00000001",
>> "__MON_FMT=wav") in new stack
>>
>> -- Executing [s at sub-record-check:10] NoOp("SIP/1005-00000001",
>> "Recordings initialized") in new stack
>>
>> -- Executing [s at sub-record-check:11] ExecIf("SIP/1005-00000001",
>> "0?Set(ARG3=dontcare)") in new stack
>>
>> -- Executing [s at sub-record-check:12] Set("SIP/1005-00000001",
>> "REC_POLICY_MODE_SAVE=") in new stack
>>
>> -- Executing [s at sub-record-check:13] ExecIf("SIP/1005-00000001",
>> "0?Set(REC_STATUS=NO)") in new stack
>>
>> -- Executing [s at sub-record-check:14] GotoIf("SIP/1005-00000001",
>> "3?checkaction") in new stack
>>
>> -- Goto (sub-record-check,s,17)
>>
>> -- Executing [s at sub-record-check:17] GotoIf("SIP/1005-00000001",
>> "1?sub-record-check,out,1") in new stack
>>
>> -- Goto (sub-record-check,out,1)
>>
>> -- Executing [out at sub-record-check:1] NoOp("SIP/1005-00000001",
>> "Outbound Recording Check from 1005 to 16665559000") in new stack
>>
>> -- Executing [out at sub-record-check:2] Set("SIP/1005-00000001",
>> "RECMODE=dontcare") in new stack
>>
>> -- Executing [out at sub-record-check:3] ExecIf("SIP/1005-00000001",
>> "1?Goto(routewins)") in new stack
>>
>> -- Goto (sub-record-check,out,7)
>>
>> -- Executing [out at sub-record-check:7] Gosub("SIP/1005-00000001",
>> "recordcheck,1(dontcare,out,16665559000)") in new stack
>>
>> -- Executing [recordcheck at sub-record-check:1]
>> NoOp("SIP/1005-00000001", "Starting recording check against dontcare")
>> in new stack
>>
>> -- Executing [recordcheck at sub-record-check:2]
>> Goto("SIP/1005-00000001", "dontcare") in new stack
>>
>> -- Goto (sub-record-check,recordcheck,3)
>>
>> -- Executing [recordcheck at sub-record-check:3]
>> Return("SIP/1005-00000001", "") in new stack
>>
>> -- Executing [out at sub-record-check:8] Return("SIP/1005-00000001",
>> "") in new stack
>>
>> -- Executing [16665559000 at from-internal:3] Set("SIP/1005-00000001",
>> "MOHCLASS=default") in new stack
>>
>> -- Executing [16665559000 at from-internal:4] Set("SIP/1005-00000001",
>> "_NODEST=") in new stack
>>
>> -- Executing [16665559000 at from-internal:5]
>> Macro("SIP/1005-00000001", "dialout-trunk,2,16665559000,,off") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:1] Set("SIP/1005-00000001",
>> "DIAL_TRUNK=2") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:2] GosubIf("SIP/1005-00000001",
>> "0?sub-pincheck,s,1()") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:3] GotoIf("SIP/1005-00000001",
>> "0?disabletrunk,1") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:4] Set("SIP/1005-00000001",
>> "DIAL_NUMBER=16665559000") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:5] Set("SIP/1005-00000001",
>> "DIAL_TRUNK_OPTIONS=Ttr") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:6] Set("SIP/1005-00000001",
>> "OUTBOUND_GROUP=OUT_2") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:7] GotoIf("SIP/1005-00000001",
>> "0?nomax") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:8] GotoIf("SIP/1005-00000001",
>> "0?chanfull") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:9] GotoIf("SIP/1005-00000001",
>> "0?skipoutcid") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:10] Set("SIP/1005-00000001",
>> "DIAL_TRUNK_OPTIONS=Tt") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:11] Macro("SIP/1005-00000001",
>> "outbound-callerid,2") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:1]
>> ExecIf("SIP/1005-00000001", "0?Set(CALLERPRES(name-pres)=)") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:2]
>> ExecIf("SIP/1005-00000001", "0?Set(CALLERPRES(num-pres)=)") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:3]
>> ExecIf("SIP/1005-00000001", "0?Set(REALCALLERIDNUM=1005)") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:4]
>> GotoIf("SIP/1005-00000001", "1?normcid") in new stack
>>
>> -- Goto (macro-outbound-callerid,s,7)
>>
>> -- Executing [s at macro-outbound-callerid:7] Set("SIP/1005-00000001",
>> "USEROUTCID=19160707077") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:8] Set("SIP/1005-00000001",
>> "EMERGENCYCID=") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:9] Set("SIP/1005-00000001",
>> "TRUNKOUTCID=") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:10]
>> GotoIf("SIP/1005-00000001", "1?trunkcid") in new stack
>>
>> -- Goto (macro-outbound-callerid,s,15)
>>
>> -- Executing [s at macro-outbound-callerid:15]
>> ExecIf("SIP/1005-00000001", "0?Set(CALLERID(all)=)") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:16]
>> ExecIf("SIP/1005-00000001", "1?Set(CALLERID(all)=19160707077)") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:17]
>> ExecIf("SIP/1005-00000001", "0?Set(CALLERID(all)=)") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:18]
>> ExecIf("SIP/1005-00000001",
>> "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:19]
>> ExecIf("SIP/1005-00000001",
>> "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:20] Set("SIP/1005-00000001",
>> "CDR(outbound_cnum)=19160707077") in new stack
>>
>> -- Executing [s at macro-outbound-callerid:21] Set("SIP/1005-00000001",
>> "CDR(outbound_cnam)=") in new stack
>>
>> [2015-11-11 08:57:17] WARNING[1424]: func_cdr.c:352 cdr_write_callback:
>> CDR requires a value (CDR(variable)=value)
>>
>> -- Executing [s at macro-dialout-trunk:12] GosubIf("SIP/1005-00000001",
>> "0?sub-flp-2,s,1()") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:13] Set("SIP/1005-00000001",
>> "OUTNUM=16665559000") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:14] Set("SIP/1005-00000001",
>> "custom=PJSIP") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:15] ExecIf("SIP/1005-00000001",
>> "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:16] ExecIf("SIP/1005-00000001",
>> "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:17] Macro("SIP/1005-00000001",
>> "dialout-trunk-predial-hook,") in new stack
>>
>> -- Executing [s at macro-dialout-trunk-predial-hook:1]
>> MacroExit("SIP/1005-00000001", "") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:18] GotoIf("SIP/1005-00000001",
>> "0?bypass,1") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:19] ExecIf("SIP/1005-00000001",
>> "1?Set(CONNECTEDLINE(num,i)=16665559000)") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:20] ExecIf("SIP/1005-00000001",
>> "1?Set(CONNECTEDLINE(name,i)=CID:19160707077)") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:21] ExecIf("SIP/1005-00000001",
>> "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)19160707077)") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:22] GotoIf("SIP/1005-00000001",
>> "0?customtrunk") in new stack
>>
>> -- Executing [s at macro-dialout-trunk:23] Dial("SIP/1005-00000001",
>> "PJSIP/16665559000 at Beneffy_242_PJSIP,300,Tt") in new stack
>>
>> -- Called PJSIP/16665559000 at Beneffy_242_PJSIP
>>
>> -- PJSIP/Beneffy_242_PJSIP-00000001 is making progress passing it to
>> SIP/1005-00000001
>>
>> -- PJSIP/Beneffy_242_PJSIP-00000001 answered SIP/1005-00000001
>>
>> -- Channel PJSIP/Beneffy_242_PJSIP-00000001 joined 'simple_bridge'
>> basic-bridge <fb42163f-8634-48b5-905e-c55045d21a1b>
>>
>> -- Channel SIP/1005-00000001 joined 'simple_bridge' basic-bridge
>> <fb42163f-8634-48b5-905e-c55045d21a1b>
>>
>> -- Channel SIP/1005-00000001 left 'simple_bridge' basic-bridge
>> <fb42163f-8634-48b5-905e-c55045d21a1b>
>>
>> == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on
>> 'SIP/1005-00000001' in macro 'dialout-trunk'
>>
>> == Spawn extension (from-internal, 16665559000, 5) exited non-zero on
>> 'SIP/1005-00000001'
>>
>> -- Channel PJSIP/Beneffy_242_PJSIP-00000001 left 'simple_bridge'
>> basic-bridge <fb42163f-8634-48b5-905e-c55045d21a1b>
>>
>> -- Executing [h at from-internal:1] Hangup("SIP/1005-00000001", "") in
>> new stack
>>
>> == Spawn extension (from-internal, h, 1) exited non-zero on
>> 'SIP/1005-00000001'
>>
>>
>>
>>
>> Среда, 11 ноября 2015, 15:43 +01:00 от Daniel Grotti
>> < dgrotti at sipwise.com >:
>>
>> Hi,
>> did you add the Alias number in the subscriber's preferences
>> allowed_clis list ?
>>
>> Also, are you sure that asterisk is setting in From header the alias
>> number you have configured in the system ?
>>
>>
>> --
>> Daniel Grotti
>> VoIP Engineer
>>
>>
>> Sipwise GmbH
>> Europaring F15 | 2345 Brunn am Gebirge, Austria | www.sipwise.com
>> < http://www.sipwise.com >
>>
>> On 11/11/2015 03:37 PM, Sergey Kharlamov wrote:
>> > Hi,
>> >
>> > I have a subscriber and I add alias to subscriber. Client side PBX is
>> > asterisk 13. I have add 2 extension on asterisk, one is for main
>> number,
>> > one is for alias number.
>> > On each extension I setup proper Outbound CID, but when I call from
>> > alias number it show Outbound CID of main subscriber. Same thing if I
>> > call from main number - I see only CID for main number. Is it any
>> > special settings for it?
>> >
>> >
>> >
>> > --
>> > Sergey Kharlamov
>> >
>> >
>> > _______________________________________________
>> > Spce-user mailing list
>> > Spce-user at lists.sipwise.com
>> < /compose?To=Spce%2duser at lists.sipwise.com >
>> > https://lists.sipwise.com/listinfo/spce-user
>> >
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com < /compose?To=Spce%2duser at lists.sipwise.com >
>> https://lists.sipwise.com/listinfo/spce-user
>>
>>
>>
>> --
>> Sergey Kharlamov
--
Sergey Kharlamov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20151112/918e011f/attachment-0001.html>
More information about the Spce-user
mailing list