[Spce-user] Outgoing Call - Problem

Jorge Fresneda - Ibersontel j.fresneda at ibersontel.com
Tue Jul 8 08:10:49 EDT 2014


Hello Daniel,


Attached you will find a document. "Txt" with the trace of a call.

The ips correspond to:

192.168.1.130 - pbx
120.22.33.1 - IP public (nat pbx)
130.22.33.1 - SPCE
221.27.89.2 - carrier

Thanks,
Regards
Jorge


El 08/07/2014 14:00, Daniel Grotti escribió:
> Hi,
> SCPE doesn't change from user in peer preferences, just from Display
> name and from user.
>
> I still don't understand what it the scenario.
> Can I see the SIP capure bewteen
>
> Client -> SPCE -> Peer
>
> I'd like  to see the how the FROM looks like in the INVITE between
> Client and SPCE and between SPCE and Peer.
>
> Thanks.
> Daniel
>
>
>
> On 07/07/2014 11:37 AM, Jorge Fresneda - Ibersontel wrote:
>> Hi,
>>
>> If, from the PBX I receive "wrong" from. But if another log PBX
>> sipwise 2.4 (instead of 2.8), it works correctly. I need configure a
>> "fromdomain" parameter on siptrunk PBX --> SPCE ??
>>
>> Regards,
>> Jorge
>>
>> El 07/07/2014 10:51, Daniel Grotti escribió:
>>> Hi,
>>> it's just a guess.
>>> Do you really receive the INVITE from your subscriber with the "wrong"
>>> FROM domain ?
>>> If so, this is something you need to change on subscriber side.
>>> Don't know which parameter you need to set, don't know even the client.
>>>
>>> Daniel
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 07/07/2014 10:44 AM, Jorge Fresneda - Ibersontel wrote:
>>>> Hi Daniel,
>>>>
>>>> What parameter need to look to change this within the subscriber?
>>>>
>>>> Regards
>>>> Jorge
>>>>
>>>> El 07/07/2014 10:27, Daniel Grotti escribió:
>>>>> Hi,
>>>>> looks like your subscriber is setting that From domain.
>>>>> Usually, if you register a client to a domain, the From should look
>>>>> like
>>>>> as you said:
>>>>>
>>>>> from: <sip:91111111 at SCPE_DOMAIN>
>>>>> to: <sip: 922222222@<SPCE_DOMAIN>
>>>>>
>>>>> before going to the PEER:
>>>>>
>>>>> from: <sip:91111111 at SCPE_DOMAIN>
>>>>> to: <sip: 922222222@<PEER_IP>
>>>>>
>>>>>
>>>>> Daniel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 07/07/2014 10:18 AM, Jorge Fresneda - Ibersontel wrote:
>>>>>> Hi Daniel,
>>>>>>
>>>>>> The problem is not with the CLI, it is with the @ your-domain. For
>>>>>> example:
>>>>>>
>>>>>>
>>>>>> Sipwise Address: 120.23.1.1
>>>>>> Address PBX (subscriber): 192.168.1.2
>>>>>>
>>>>>> When I launch a call from the field is as follows:
>>>>>>
>>>>>> from: <sip:91111111 at 192.168.1.2>
>>>>>> to: <sip: 922222222@<carrier_ip>
>>>>>>
>>>>>>
>>>>>> The from should be <sip:91111111 at 120.23.1.1> for the carrier to
>>>>>> accept
>>>>>> calls.
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>> Regards,
>>>>>> Jorge
>>>>>>
>>>>>>
>>>>>>
>>>>>> El 07/07/2014 10:12, Daniel Grotti escribió:
>>>>>>> Hi,
>>>>>>> could this be the issue ?
>>>>>>>
>>>>>>>
>>>>>>>     From the habndbook:
>>>>>>>
>>>>>>>        If you do NOT authenticate against a peer host, then the
>>>>>>> caller
>>>>>>> CLI is
>>>>>>> put into the From and P-Asserted-Identity headers, e.g. "+4312345"
>>>>>>> <sip:+4312345 at your-domain.com>. If you DO authenticate, then the
>>>>>>> From
>>>>>>> header is "+4312345" <sip:your_peer_auth_user at your_peer_auth_realm>
>>>>>>> and
>>>>>>> the P-Asserted-Identity header is as usual like
>>>>>>> <sip:+4312345 at your-domain.com>. So for presenting the correct CLI in
>>>>>>> CLIP no screening scenarios, your peering provider needs to extract
>>>>>>> the
>>>>>>> correct user either from the From Display-Name or from the
>>>>>>> P-Asserted-Identity URI-User.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Otherwise please give us more information about your peer
>>>>>>> configuration
>>>>>>> and the call scenario.
>>>>>>>
>>>>>>> Daniel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 07/07/2014 10:04 AM, Jorge Fresneda - Ibersontel wrote:
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I have a problem in version 2.8 with outgoing calls. In the from
>>>>>>>> field  goes "source@ <pbx_ip>"  instead of  "source@ <sipwise_ip>".
>>>>>>>>
>>>>>>>> What may be because this problem?
>>>>>>>>
>>>>>>>> Thank you very much.
>>>>>>>> Regards
>>>>>>>> Jorge
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Spce-user mailing list
>>>>>>>> Spce-user at lists.sipwise.com
>>>>>>>> http://lists.sipwise.com/listinfo/spce-user
>>>>>>> _______________________________________________
>>>>>>> Spce-user mailing list
>>>>>>> Spce-user at lists.sipwise.com
>>>>>>> http://lists.sipwise.com/listinfo/spce-user
>>>>>> _______________________________________________
>>>>>> Spce-user mailing list
>>>>>> Spce-user at lists.sipwise.com
>>>>>> http://lists.sipwise.com/listinfo/spce-user
>>>>> _______________________________________________
>>>>> Spce-user mailing list
>>>>> Spce-user at lists.sipwise.com
>>>>> http://lists.sipwise.com/listinfo/spce-user
>>>> _______________________________________________
>>>> Spce-user mailing list
>>>> Spce-user at lists.sipwise.com
>>>> http://lists.sipwise.com/listinfo/spce-user
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> http://lists.sipwise.com/listinfo/spce-user
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
U 2014/07/08 14:05:39.167669 120.22.33.1:5060 -> 130.22.33.1:5060
INVITE sip:91991991 at 130.22.33.1 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bK6c17aae0;rport.
Max-Forwards: 70.
From: "918569853" <sip:918569853 at 192.168.1.130>;tag=as2c87f9bb.
To: <sip:91991991 at 130.22.33.1>.
Contact: <sip:918569853 at 192.168.1.130>.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130.
CSeq: 102 INVITE.
User-Agent: Asterisk PBX 1.6.0.26-FONCORE-r78.
Date: Tue, 08 Jul 2014 12:05:39 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO.
Supported: replaces, timer.
Content-Type: application/sdp.
Content-Length: 325.
.
v=0.
o=root 1268561533 1268561533 IN IP4 192.168.1.130.
s=Asterisk PBX 1.6.0.26-FONCORE-r78.
c=IN IP4 192.168.1.130.
t=0 0.
m=audio 17764 RTP/AVP 8 18 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.






U 2014/07/08 14:05:39.168139 130.22.33.1:5060 -> 120.22.33.1:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 192.168.1.130:5060;received=120.22.33.1;branch=z9hG4bK6c17aae0;rport=5060.
From: "918569853" <sip:918569853 at 192.168.1.130>;tag=as2c87f9bb.
To: <sip:91991991 at 130.22.33.1>.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130.
CSeq: 102 INVITE.
Server: Sipwise NGCP Proxy 2.X.
Content-Length: 0.
.


U 2014/07/08 14:05:39.168743 130.22.33.1:5060 -> 120.22.33.1:5060
SIP/2.0 101 Connecting.
Via: SIP/2.0/UDP 192.168.1.130:5060;received=120.22.33.1;branch=z9hG4bK6c17aae0;rport=5060.
From: "918569853" <sip:918569853 at 192.168.1.130>;tag=as2c87f9bb.
To: <sip:91991991 at 130.22.33.1>.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130.
CSeq: 102 INVITE.
Server: Sipwise NGCP Proxy 2.X.
Content-Length: 0.
.


U 2014/07/08 14:05:39.171544 130.22.33.1:5060 -> 221.27.89.2:5060
INVITE sip:+3491991991 at 221.27.89.2:5060;transport=udp SIP/2.0.
Max-Forwards: 60.
Record-Route: <sip:130.22.33.1;lr=on;ftag=0B36931A-53BBDE9300029D42-ECFE8700;ngcplb=yes>.
Via: SIP/2.0/UDP 130.22.33.1;branch=z9hG4bKdbaa.99c1c94a29e04399c741a1fb9b5b7344.0.
Via: SIP/2.0/UDP 130.22.33.1:5080;branch=z9hG4bKL5P7ka4e;rport=5080.
From: <sip:+34918569853 at 192.168.1.130>;tag=0B36931A-53BBDE9300029D42-ECFE8700.
To: <sip:+3491991991 at 221.27.89.2>.
CSeq: 10 INVITE.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130_b2b-1.
User-Agent: Asterisk PBX 1.6.0.26-FONCORE-r78.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO.
Supported: replaces, timer.
P-Asserted-Identity: <sip:+34918569853 at 192.168.1.130>.
Content-Type: application/sdp.
Content-Length: 385.
Contact: <sip:ngcp-lb at 130.22.33.1:5060;ngcpct=c2lwOjE0OS4xMi42OC4zNjo1MDgw>.
.
v=0.
o=root 1268561533 1268561533 IN IP4 130.22.33.1.
s=Asterisk PBX 1.6.0.26-FONCORE-r78.
c=IN IP4 130.22.33.1.
t=0 0.
m=audio 17060 RTP/AVP 8 18 101.
a=rtpmap:8 PCMA/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.
a=direction:active.
a=oldmediaip:192.168.1.130.
a=rtcp:17061.


U 2014/07/08 14:05:39.220279 221.27.89.2:5060 -> 130.22.33.1:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 130.22.33.1;branch=z9hG4bKdbaa.99c1c94a29e04399c741a1fb9b5b7344.0.
Via: SIP/2.0/UDP 130.22.33.1:5080;branch=z9hG4bKL5P7ka4e;rport=5080.
From: <sip:+34918569853 at 192.168.1.130>;tag=0B36931A-53BBDE9300029D42-ECFE8700.
To: <sip:+3491991991 at 221.27.89.2>;tag=gK02b4334d.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130_b2b-1.
CSeq: 10 INVITE.
Content-Length: 0.
.


U 2014/07/08 14:05:42.077434 120.22.33.1:5060 -> 130.22.33.1:5060
CANCEL sip:91991991 at 130.22.33.1 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bK6c17aae0;rport.
Max-Forwards: 70.
From: "918569853" <sip:918569853 at 192.168.1.130>;tag=as2c87f9bb.
To: <sip:91991991 at 130.22.33.1>.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130.
CSeq: 102 CANCEL.
User-Agent: Asterisk PBX 1.6.0.26-FONCORE-r78.
Content-Length: 0.
.


U 2014/07/08 14:05:42.077855 130.22.33.1:5060 -> 120.22.33.1:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 192.168.1.130:5060;received=120.22.33.1;branch=z9hG4bK6c17aae0;rport=5060.
From: "918569853" <sip:918569853 at 192.168.1.130>;tag=as2c87f9bb.
To: <sip:91991991 at 130.22.33.1>.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130.
CSeq: 102 CANCEL.
Server: Sipwise NGCP Proxy 2.X.
Content-Length: 0.
.


U 2014/07/08 14:05:42.078205 130.22.33.1:5060 -> 120.22.33.1:5060
SIP/2.0 200 canceling.
Record-Route: <sip:130.22.33.1;lr=on;ftag=as2c87f9bb;ngcplb=yes;socket=udp:130.22.33.1:5060>.
Via: SIP/2.0/UDP 192.168.1.130:5060;received=120.22.33.1;branch=z9hG4bK6c17aae0;rport=5060.
From: "918569853" <sip:918569853 at 192.168.1.130>;tag=as2c87f9bb.
To: <sip:91991991 at 130.22.33.1>;tag=9e79c41c589e73bc89a400802ae44db4-b770.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130.
CSeq: 102 CANCEL.
Server: Sipwise NGCP Proxy 2.X.
Content-Length: 0.
.


U 2014/07/08 14:05:42.078445 130.22.33.1:5060 -> 221.27.89.2:5060
CANCEL sip:+3491991991 at 221.27.89.2:5060;transport=udp SIP/2.0.
Max-Forwards: 60.
Record-Route: <sip:130.22.33.1;lr=on;ftag=0B36931A-53BBDE9300029D42-ECFE8700;ngcplb=yes>.
Via: SIP/2.0/UDP 130.22.33.1;branch=z9hG4bKdbaa.99c1c94a29e04399c741a1fb9b5b7344.0.
Via: SIP/2.0/UDP 130.22.33.1:5080;branch=z9hG4bKL5P7ka4e;rport=5080.
To: <sip:+3491991991 at 221.27.89.2>.
From: <sip:+34918569853 at 192.168.1.130>;tag=0B36931A-53BBDE9300029D42-ECFE8700.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130_b2b-1.
CSeq: 10 CANCEL.
Contact: <sip:ngcp-lb at 130.22.33.1:5060;ngcpct=c2lwOjE0OS4xMi42OC4zNjo1MDgw>.
.


U 2014/07/08 14:05:42.078756 130.22.33.1:5060 -> 120.22.33.1:5060
SIP/2.0 487 Request terminated.
Record-Route: <sip:130.22.33.1:5062;lr=on;ftag=as2c87f9bb;did=74e.0d1;mpd=ii;ice_caller=strip;ice_callee=strip;rtpprx=yes;vsf=UGk5YlRQSXZsRUhoZUdTcid0MWxGdj50WVBUSFdz>.
Record-Route: <sip:130.22.33.1;lr=on;ftag=as2c87f9bb;nat=yes;ngcplb=yes;socket=udp:130.22.33.1:5060>.
Via: SIP/2.0/UDP 192.168.1.130:5060;received=120.22.33.1;branch=z9hG4bK6c17aae0;rport=5060.
From: "918569853" <sip:918569853 at 192.168.1.130>;tag=as2c87f9bb.
To: <sip:91991991 at 130.22.33.1>;tag=64266F0A-53BBDE9300029CBD-ECAE3700.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130.
CSeq: 102 INVITE.
Server: Sipwise NGCP Application Server.
Content-Length: 0.
.


U 2014/07/08 14:05:42.119417 120.22.33.1:5060 -> 130.22.33.1:5060
ACK sip:91991991 at 130.22.33.1 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bK6c17aae0;rport.
Max-Forwards: 70.
From: "918569853" <sip:918569853 at 192.168.1.130>;tag=as2c87f9bb.
To: <sip:91991991 at 130.22.33.1>;tag=64266F0A-53BBDE9300029CBD-ECAE3700.
Contact: <sip:918569853 at 192.168.1.130>.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130.
CSeq: 102 ACK.
User-Agent: Asterisk PBX 1.6.0.26-FONCORE-r78.
Content-Length: 0.
.


U 2014/07/08 14:05:42.123700 221.27.89.2:5060 -> 130.22.33.1:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 130.22.33.1;branch=z9hG4bKdbaa.99c1c94a29e04399c741a1fb9b5b7344.0.
Via: SIP/2.0/UDP 130.22.33.1:5080;branch=z9hG4bKL5P7ka4e;rport=5080.
From: <sip:+34918569853 at 192.168.1.130>;tag=0B36931A-53BBDE9300029D42-ECFE8700.
To: <sip:+3491991991 at 221.27.89.2>;tag=gK02b4334d.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130_b2b-1.
CSeq: 10 CANCEL.
Record-Route: <sip:130.22.33.1:5060;lr=on;ftag=0B36931A-53BBDE9300029D42-ECFE8700;ngcplb=yes>.
Content-Length: 0.
.


U 2014/07/08 14:05:42.142023 221.27.89.2:5060 -> 130.22.33.1:5060
SIP/2.0 487 Request Terminated.
Via: SIP/2.0/UDP 130.22.33.1;branch=z9hG4bKdbaa.99c1c94a29e04399c741a1fb9b5b7344.0.
Via: SIP/2.0/UDP 130.22.33.1:5080;branch=z9hG4bKL5P7ka4e;rport=5080.
From: <sip:+34918569853 at 192.168.1.130>;tag=0B36931A-53BBDE9300029D42-ECFE8700.
To: <sip:+3491991991 at 221.27.89.2>;tag=gK02b4334d.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130_b2b-1.
CSeq: 10 INVITE.
Content-Length: 0.
.


U 2014/07/08 14:05:42.142277 130.22.33.1:5060 -> 221.27.89.2:5060
ACK sip:+3491991991 at 221.27.89.2:5060;transport=udp SIP/2.0.
Max-Forwards: 60.
Record-Route: <sip:130.22.33.1;lr=on;ftag=0B36931A-53BBDE9300029D42-ECFE8700;ngcplb=yes>.
Via: SIP/2.0/UDP 130.22.33.1;branch=z9hG4bKdbaa.99c1c94a29e04399c741a1fb9b5b7344.0.
Via: SIP/2.0/UDP 130.22.33.1:5080;branch=z9hG4bKL5P7ka4e;rport=5080.
From: <sip:+34918569853 at 192.168.1.130>;tag=0B36931A-53BBDE9300029D42-ECFE8700.
To: <sip:+3491991991 at 221.27.89.2>;tag=gK02b4334d.
Call-ID: 445d1a9e64ab7292230b44ff783896d0 at 192.168.1.130_b2b-1.
CSeq: 10 ACK.


More information about the Spce-user mailing list