[Spce-user] Outgoing Call - Problem

Daniel Grotti dgrotti at sipwise.com
Tue Jul 8 10:05:28 EDT 2014


Hi,
yes what you needed was the fromdomain parameter on Asterisk side.

Daniel




On 07/08/2014 03:53 PM, Jorge Fresneda - Ibersontel wrote:
> Hello Daniel,
>
>     The same configuration on a SPCE 2.4 works correctly. Anyway, I
> added the "fromdomain" parameter in the subscriber siptrunk and now
> works fine.
>
> Thank you very much for your help.
> regards
> Jorge
>
>
> El 08/07/2014 14:18, Daniel Grotti escribió:
>> Hi,
>> as you can see the first INVITE from PBX to SPCE already contains the
>> wrong domain:
>>
>>
>> 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.
>>
>>
>>
>> He's putting his private IP as FROM domain.
>> This is a client issue.
>>
>> Daniel
>>
>>
>>
>>
>> On 07/08/2014 02:10 PM, Jorge Fresneda - Ibersontel wrote:
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140708/3bc21c62/attachment-0001.html>


More information about the Spce-user mailing list