[Spce-user] Use subscriber name as contact for incoming calls

Daniel Grotti dgrotti at sipwise.com
Mon Apr 7 07:15:03 EDT 2014


Hi Martin,
so from PSTN to sub call, you should set the outbound_pai_user in
subscriber preferences.

Please share your kamailio-proxy.log to see what happens.

Daniel





On 04/07/2014 12:17 PM, Martin Stix wrote:
> Hi!
> 
> It's just wanted for incoming calls from pstn(peering) to subscribers.
> 
> regards
> 
> 
> mit freundlichen Grüßen
> best regards
> Martin Stix
> CEO
> pluteus communication solutions
> ms at pluteus.at
> www.pluteus.at
> Dampfsägestraße 17
> 3300 Amstetten
> Austria
> tel.: +43 7472 28165 20
> fax.: +43 7472 28165 22
> 
> -----Ursprüngliche Nachricht-----
> Von: Daniel Grotti [mailto:dgrotti at sipwise.com] 
> Gesendet: Montag, 07. April 2014 12:16
> An: Martin Stix
> Cc: spce-user at lists.sipwise.com
> Betreff: Re: AW: AW: AW: AW: AW: [Spce-user] Use subscriber name as contact for incoming calls
> 
> Hi,
> If you need to call another subscriber (A call B), then you should set the subscriber's preference outbound_pai_user on B.
> 
> If you want to call outbound (sip trunk) you have to set that value in sip peering.
> 
> Daniel
> 
> 
> 
> On 04/07/2014 12:10 PM, Martin Stix wrote:
>> Hi!
>>
>>  
>>
>> But here I have set UPRN if available or NPN. Isn't that just for 
>> outgoing calls from subscriber to pstn?
>>
>>  
>>
>>  
>>
>>  
>>
>> mit freundlichen Grüßen
>>
>> best regards
>>
>> Martin Stix
>>
>> CEO
>>
>> pluteus communication solutions
>>
>> ms at pluteus.at
>>
>> www.pluteus.at
>>
>> Dampfsägestraße 17
>>
>> 3300 Amstetten
>>
>> Austria
>>
>> tel.: +43 7472 28165 20
>>
>> fax.: +43 7472 28165 22
>>
>>  
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Daniel Grotti [mailto:dgrotti at sipwise.com]
>> Gesendet: Montag, 07. April 2014 12:10
>> An: Martin Stix
>> Cc: spce-user at lists.sipwise.com
>> Betreff: Re: AW: AW: AW: AW: [Spce-user] Use subscriber name as 
>> contact for incoming calls
>>
>>  
>>
>> Hi,
>>
>> Ah, no, you should set the Peering preferences not subscriber.
>>
>>  
>>
>> Daniel
>>
>>  
>>
>>  
>>
>> On 04/07/2014 12:08 PM, Daniel Grotti wrote:
>>
>>> Hi Martin,
>>
>>> can you provide the kamailio-proxy.log fro this callid ?
>>
>>>
>>
>>> Daniel
>>
>>>
>>
>>>
>>
>>>
>>
>>> On 04/07/2014 12:00 PM, Martin Stix wrote:
>>
>>>> Hi Daniel!
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> I've set the subscriber outbound pai user to authentication user
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> In Wireshark on my PBX I don't see PAI coming.
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> Tried to call from my mobile to my pbx.
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> Regards
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> mit freundlichen Grüßen
>>
>>>>
>>
>>>> best regards
>>
>>>>
>>
>>>> Martin Stix
>>
>>>>
>>
>>>> CEO
>>
>>>>
>>
>>>> pluteus communication solutions
>>
>>>>
>>
>>>> ms at pluteus.at <mailto:ms at pluteus.at>
>>
>>>>
>>
>>>> www.pluteus.at <http://www.pluteus.at>
>>
>>>>
>>
>>>> Dampfsägestraße 17
>>
>>>>
>>
>>>> 3300 Amstetten
>>
>>>>
>>
>>>> Austria
>>
>>>>
>>
>>>> tel.: +43 7472 28165 20
>>
>>>>
>>
>>>> fax.: +43 7472 28165 22
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> -----Ursprüngliche Nachricht-----
>>
>>>> Von: Daniel Grotti [mailto:dgrotti at sipwise.com]
>>
>>>> Gesendet: Montag, 07. April 2014 11:42
>>
>>>> An: Martin Stix
>>
>>>> Cc: spce-user at lists.sipwise.com <mailto:spce-user at lists.sipwise.com>
>>
>>>> Betreff: Re: AW: AW: AW: [Spce-user] Use subscriber name as contact
>>
>>>> for incoming calls
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> Hi Martin,
>>
>>>>
>>
>>>> we currently do not set RPID header for outbound calls, we can just
>>
>>>> read an RPID header for incoming calls setting inbound_upn or
>> inbound_npn.
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> What you can use is the PAI, you can set the "outbound_pai_user"
>>
>>>> value in SIP Peering/Subscriber Preferences.
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> Daniel
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> On 04/07/2014 11:21 AM, Martin Stix wrote:
>>
>>>>
>>
>>>>> Hi!
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Could I use Remote Party ID for that, and if yes, how?
>>
>>>>
>>
>>>>> I don't mind the place where subscriber ID is being sent, except
>>
>>>>> from
>>
>>>> user part.
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Thanks
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> mit freundlichen Grüßen
>>
>>>>
>>
>>>>> best regards
>>
>>>>
>>
>>>>> Martin Stix
>>
>>>>
>>
>>>>> CEO
>>
>>>>
>>
>>>>> pluteus communication solutions
>>
>>>>
>>
>>>>> ms at pluteus.at <mailto:ms at pluteus.at> <mailto:ms at pluteus.at>
>>
>>>>
>>
>>>>> www.pluteus.at <http://www.pluteus.at> <http://www.pluteus.at>
>>
>>>>
>>
>>>>> Dampfsägestraße 17
>>
>>>>
>>
>>>>> 3300 Amstetten
>>
>>>>
>>
>>>>> Austria
>>
>>>>
>>
>>>>> tel.: +43 7472 28165 20
>>
>>>>
>>
>>>>> fax.: +43 7472 28165 22
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> -----Ursprüngliche Nachricht-----
>>
>>>>
>>
>>>>> Von: Daniel Grotti [mailto:dgrotti at sipwise.com]
>>
>>>>
>>
>>>>> Gesendet: Dienstag, 01. April 2014 12:08
>>
>>>>
>>
>>>>> An: Martin Stix
>>
>>>>
>>
>>>>> Cc: spce-user at lists.sipwise.com 
>>>>> <mailto:spce-user at lists.sipwise.com>
>> <mailto:spce-user at lists.sipwise.com>
>>
>>>>
>>
>>>>> Betreff: Re: AW: AW: [Spce-user] Use subscriber name as contact for
>>
>>>>
>>
>>>>> incoming calls
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Hi Martin,
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> this is something you can't achieve.
>>
>>>>
>>
>>>>> It's not the contact the header to use as source identifier, but
>>
>>>>> From
>>
>>>> or P-Asserted-Identity.
>>
>>>>
>>
>>>>> Contact header can't be changed.
>>
>>>>
>>
>>>>> Contact header is used as RURI in ACK and BYE, so if you change 
>>>>> that
>>
>>>> that messeges will be sent to the wrong URI. They must be sent back
>>
>>>> to NGCP LB.
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Daniel
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> On 04/01/2014 12:02 PM, Martin Stix wrote:
>>
>>>>
>>
>>>>>> Hi!
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>> Sorry, other way round, I have a 3CX PBX registered as subscriber
>>
>>>>>> on
>>
>>>> sipwise.
>>
>>>>
>>
>>>>>> When a call is made from PSTN to Sipwise to 3CX PBX it would be
>>
>>>>>> great
>>
>>>> to have the contact of the subscriber in contact field, and not ngcp-lb.
>>
>>>>
>>
>>>>>> So it makes live easier for us writing templates for 3CX and roll
>>
>>>>>> it
>>
>>>> out to customers, because 3CX accepts the call in that case without
>>
>>>> having the customer doing some source identifiers and stuff in the 3CX.
>>
>>>> It is mainly because one customer on one subscriber can have more
>>
>>>> than 1 number. So we use the contact as source identifier.
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>> regards
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>> mit freundlichen Grüßen
>>
>>>>
>>
>>>>>> best regards
>>
>>>>
>>
>>>>>> Martin Stix
>>
>>>>
>>
>>>>>> CEO
>>
>>>>
>>
>>>>>> pluteus communication solutions
>>
>>>>
>>
>>>>>> ms at pluteus.at <mailto:ms at pluteus.at> <mailto:ms at pluteus.at>
>>
>>>>
>>
>>>>>> www.pluteus.at <http://www.pluteus.at> <http://www.pluteus.at>
>>
>>>>
>>
>>>>>> Dampfsägestraße 17
>>
>>>>
>>
>>>>>> 3300 Amstetten
>>
>>>>
>>
>>>>>> Austria
>>
>>>>
>>
>>>>>> tel.: +43 7472 28165 20
>>
>>>>
>>
>>>>>> fax.: +43 7472 28165 22
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>> -----Ursprüngliche Nachricht-----
>>
>>>>
>>
>>>>>> Von: Daniel Grotti [mailto:dgrotti at sipwise.com]
>>
>>>>
>>
>>>>>> Gesendet: Dienstag, 01. April 2014 11:57
>>
>>>>
>>
>>>>>> An: spce-user at lists.sipwise.com 
>>>>>> <mailto:spce-user at lists.sipwise.com>
>>
>>>>>> <mailto:spce-user at lists.sipwise.com>
>>
>>>>
>>
>>>>>> Cc: Martin Stix
>>
>>>>
>>
>>>>>> Betreff: Re: AW: [Spce-user] Use subscriber name as contact for
>>
>>>>
>>
>>>>>> incoming calls
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>> Hi Martin,
>>
>>>>
>>
>>>>>> if you want to authenticate incoming calls from a sip trunk
>>
>>>> (something we don't do) you have to register your siptrunk as
>>
>>>> subscriber on NGCP.
>>
>>>>
>>
>>>>>> We don't authenticate incoming calls from Peering servers.
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>> Daniel
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>>
>>
>>>>
>>
>>>>>> On 03/31/2014 05:54 PM, Martin Stix wrote:
>>
>>>>
>>
>>>>>>> Hi Daniel!
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>> It just would be nice to authenticate incoming calls via this
>>
>>>> contact, in case of siptrunks with more than one main number, 
>>>> instead
>>
>>>> of using IP or domain on pbx's.
>>
>>>>
>>
>>>>>>> Would there be a way?
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>> Regards
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>> mit freundlichen Grüßen
>>
>>>>
>>
>>>>>>> best regards
>>
>>>>
>>
>>>>>>> Martin Stix
>>
>>>>
>>
>>>>>>> CEO
>>
>>>>
>>
>>>>>>> pluteus communication solutions
>>
>>>>
>>
>>>>>>> ms at pluteus.at <mailto:ms at pluteus.at> <mailto:ms at pluteus.at>
>>
>>>>
>>
>>>>>>> www.pluteus.at <http://www.pluteus.at> <http://www.pluteus.at>
>>
>>>>
>>
>>>>>>> Dampfsägestraße 17
>>
>>>>
>>
>>>>>>> 3300 Amstetten
>>
>>>>
>>
>>>>>>> Austria
>>
>>>>
>>
>>>>>>> tel.: +43 7472 28165 20
>>
>>>>
>>
>>>>>>> fax.: +43 7472 28165 22
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>> -----Ursprüngliche Nachricht-----
>>
>>>>
>>
>>>>>>> Von: spce-user-bounces at lists.sipwise.com
>> <mailto:spce-user-bounces at lists.sipwise.com>
>>
>>>> <mailto:spce-user-bounces at lists.sipwise.com>
>>
>>>>
>>
>>>>>>> [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von 
>>>>>>> Daniel
>>
>>>>
>>
>>>>>>> Grotti
>>
>>>>
>>
>>>>>>> Gesendet: Freitag, 07. Februar 2014 13:21
>>
>>>>
>>
>>>>>>> An: spce-user at lists.sipwise.com 
>>>>>>> <mailto:spce-user at lists.sipwise.com>
>>
>>>>>>> <mailto:spce-user at lists.sipwise.com>
>>
>>>>
>>
>>>>>>> Betreff: Re: [Spce-user] Use subscriber name as contact for
>>
>>>>>>> incoming
>>
>>>>
>>
>>>>>>> calls
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>> Hi,
>>
>>>>
>>
>>>>>>> you shouldn't touch that contact, there is no need to change the
>>
>>>> username, cause that's the username/contact of LB.
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>> Daniel
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>> On 02/07/2014 10:19 AM, Martin Stix wrote:
>>
>>>>
>>
>>>>>>>> Hi!
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>> How can I change incoming contact for calls going to subscribers
>>
>>>>>>>> to
>>
>>>>
>>
>>>>>>>> use the subscriber name instead of ngcp-lb?
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>> Thanks
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>> mit freundlichen Grüßen
>>
>>>>
>>
>>>>>>>> best regards
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>> *Martin Stix*
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>> CEO
>>
>>>>
>>
>>>>>>>> pluteus communication solutions
>>
>>>>
>>
>>>>>>>> ms at pluteus.at <mailto:ms at pluteus.at> <mailto:ms at pluteus.at>
>> <mailto:ms at pluteus.at>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>> www.pluteus.at <http://www.pluteus.at> <http://www.pluteus.at>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>> Dampfsägestraße 17
>>
>>>>
>>
>>>>>>>> 3300 Amstetten
>>
>>>>
>>
>>>>>>>> Austria
>>
>>>>
>>
>>>>>>>> tel.: +43 7472 28165 20
>>
>>>>
>>
>>>>>>>> fax.: +43 7472 28165 22
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>> _______________________________________________
>>
>>>>
>>
>>>>>>>> Spce-user mailing list
>>
>>>>
>>
>>>>>>>> Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>> <mailto:Spce-user at lists.sipwise.com>
>>
>>>>
>>
>>>>>>>> http://lists.sipwise.com/listinfo/spce-user
>>
>>>>
>>
>>>>>>>>
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>
>>>>>>> _______________________________________________
>>
>>>>
>>
>>>>>>> Spce-user mailing list
>>
>>>>
>>
>>>>>>> Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>> <mailto:Spce-user at lists.sipwise.com>
>>
>>>>
>>
>>>>>>> http://lists.sipwise.com/listinfo/spce-user
>>
>>>>
>>
>>>>>>>
>>
>>>>
>>




More information about the Spce-user mailing list