[Spce-user] Comma in Caller ID

Christopher Saroli csaroli at isysp.com
Mon Feb 10 10:09:14 EST 2014


Thanks a ton for all your help.  Love the product

---------------------------------
Christopher Saroli
csaroli at isysp.com


-----Original Message-----
From: spce-user-bounces at lists.sipwise.com [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Daniel Grotti
Sent: Monday, February 10, 2014 9:57 AM
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Comma in Caller ID

Hi,
in case you do not want to apply the upcoming new proxy templates, you can change your proxy.cfg.customtt.tt2 here:


...
else
{
   xlog("L_NOTICE", "Setting From to '$var(out_from_display) <$var(caller_uri)>' - R=$ru ID=$ci\n");
   uac_replace_from("\"$var(out_from_display)\"", "$var(caller_uri)"); } ...


adding the quotes in the uac_replace_from() function.

Daniel





On 02/10/2014 03:42 PM, Daniel Grotti wrote:
> Hi Christopher,
> sorry for the wrong reply.
> We reviewed you logs and actually the problem is from our side.
> 
> We fixed this issue and a new packages fixing this problem will be 
> release for v3.1 soon.
> 
> 
> Daniel
> 
> 
> 
> 
> 
> On 02/10/2014 02:40 PM, Daniel Grotti wrote:
>> Hi,
>> the client is sending this wrong display-name, you can't change it in 
>> NGCP (cause it breaks the parser).
>>
>> It looks like you have a broken client, cause usually the Display 
>> Name is set automatically with "my name".
>>
>> Daniel
>>
>>
>>
>>
>>
>>
>> On 02/10/2014 02:29 PM, Christopher Saroli wrote:
>>> Thanks daniel
>>>
>>> Is it possible for you or someone else to direct me on where to set this at?
>>>
>>> Thanks a bunch
>>>
>>>
>>> -------- Original message --------
>>> From: Daniel Grotti
>>> Date:02/10/2014 3:43 AM (GMT-05:00)
>>> To: spce-user at lists.sipwise.com
>>> Subject: Re: [Spce-user] Comma in Caller ID
>>>
>>> Hi,
>>> You have to set *" "* in the display-name:
>>>
>>>
>>> SIP/2.0 200 OK
>>> Via: SIP/2.0/UDP
>>> 10.10.8.40:5091;received=77.xxx.xxx.xxx;rport=5091;branch=z9hG4bKyhd
>>> chjbj
>>> To: "daniel, grotti, GF"
>>> <sip:dgrotti at xxxxxx.com>;tag=1d24a28a0bded6c40d31e6db8aab9ac6.fa6f
>>> From: "daniel, grotti, GF" <sip:dgrotti at xxxxx.com>;tag=juyrk
>>> Call-ID: lmhcauqpwmyullb at majortom
>>> CSeq: 690 REGISTER
>>> Contact:
>>> <sip:dgrotti at 10.15.20.200:5060>;expires=3583;received="sip:77.xxx.xx
>>> x.xxx:5781", 
>>> <sip:dgrotti at 10.0.0.26>;expires=3493;received="sip:77.xxx.xxx.xxx:50
>>> 60", <sip:dgrotti at 77.xxx.xxx.xxx:5060>;expires=3493,
>>> <sip:dgrotti at 10.10.8.40:5091;transport=udp>;expires=3599;received="sip:77.xxx.xxx.xxx:5091"
>>> Server: Sipwise NGCP Proxy 2.X
>>> Content-Length: 0
>>>
>>>
>>> As you can see the From is fully parsed:
>>>
>>> From: "daniel, grotti, GF" <sip:dgrotti at xxxxx.com>;tag=juyrk
>>>
>>>
>>> Even with 2 commas.
>>>
>>> Daniel
>>>
>>>
>>>
>>> On 02/09/2014 05:13 AM, Christopher Saroli wrote:
>>>> No, it doesn't matter.  Same thing with one comma.
>>>>
>>>> TUCHOWSKI,GERAL is another example.  As long as there is a comma in 
>>>> the CLI I'm getting drops
>>>>
>>>> ---------------------------------
>>>> Christopher Saroli
>>>> csaroli at isysp.com
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Jeremie Chism [mailto:jchism2 at gmail.com]
>>>> Sent: Friday, February 7, 2014 4:43 PM
>>>> To: Christopher Saroli
>>>> Cc: Andrew Pogrebennyk; Spce-user
>>>> Subject: Re: [Spce-user] Comma in Caller ID
>>>>
>>>> I wonder if it's the second comma in the name. Do they all have two commas in the name.
>>>>
>>>> Sent from my iPhone
>>>>
>>>>> On Feb 7, 2014, at 3:38 PM, Christopher Saroli <csaroli at isysp.com> wrote:
>>>>>
>>>>> The ngrep-sip log is attached. Thanks for looking into this
>>>>>
>>>>> ---------------------------------
>>>>> Christopher Saroli
>>>>> csaroli at isysp.com
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Andrew Pogrebennyk [mailto:apogrebennyk at sipwise.com]
>>>>> Sent: Wednesday, January 22, 2014 6:39 AM
>>>>> To: Christopher Saroli
>>>>> Cc: Spce-user
>>>>> Subject: Re: [Spce-user] Comma in Caller ID
>>>>>
>>>>> Hello Christopher,
>>>>>
>>>>> Could you please share the ngrep-sip trace for this call?
>>>>>
>>>>> BR,
>>>>> Andrew
>>>>>
>>>>>> On 01/21/2014 08:39 PM, Christopher Saroli wrote:
>>>>>> Anyone have any thoughts on this?  Would be greatly appreciated.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: spce-user-bounces at lists.sipwise.com 
>>>>>> [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of 
>>>>>> Christopher Saroli
>>>>>> Sent: Thursday, December 19, 2013 10:40 AM
>>>>>> To: Daniel Grotti
>>>>>> Cc: spce-user at lists.sipwise.com
>>>>>> Subject: Re: [Spce-user] Comma in Caller ID
>>>>>>
>>>>>> Hi Daniel,
>>>>>>
>>>>>> It's not about whether or not I want it because, unless I'm mistaken, I have no control over the caller-id  for everyone in the world. Example my cell phone uses At&t and they have my caller-id set as "Saroli, Chris."  It worked prior to the 3.0 upgrade so there has to be something.
>>>>>>
>>>>>> For instance
>>>>>> Company-A: my customer with no comma in its CID
>>>>>> Company-B: At&t customer with comma in its CID Company-B calls company-A and call is dropped. 
>>>>>> Change "outbound_from_display" to "Network-Provided-Number" and 
>>>>>> it works fine but no CNAME
>>>>>>
>>>>>>
>>>>>> Is there something I'm missing?  Any help would be appreciated.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> --------------------------------- Christopher Saroli 
>>>>>> csaroli at isysp.com
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Daniel Grotti [mailto:dgrotti at sipwise.com]
>>>>>> Sent: Thursday, December 12, 2013 3:26 PM
>>>>>> To: Christopher Saroli
>>>>>> Cc: spce-user at lists.sipwise.com
>>>>>> Subject: Re: [Spce-user] Comma in Caller ID
>>>>>>
>>>>>> Hi Christopher,
>>>>>> Do you really want to have CID with comma ?
>>>>>>
>>>>>> I´m pretty sure comma "," is not allowed in SIP headers or R-URI.
>>>>>>
>>>>>> Daniel
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On Thursday, December 12, 2013 20:42 CET, Christopher Saroli <csaroli at isysp.com> wrote:
>>>>>>>
>>>>>>> I've recently upgraded to Version 3 and I have a problem with caller ID. Seems to have only started happening after the upgrade so not sure what has changed.  Whenever a DID is dialed from a caller with a  comma(,) in their caller id the called is dropped and logged into the call history with status "other."
>>>>>>>
>>>>>>> Caller                    Callee    Status    Start Time                                    Duration   
>>>>>>> 5555551212    isysp    other    2013-12-09   20:51:34.590    0.000
>>>>>>>
>>>>>>> I get something like this in my kamailio-proxy.log
>>>>>>>
>>>>>>> Dec 10 09:12:27 SCE1 proxy[3942]: NOTICE: <script>: NAT-Reply - 
>>>>>>> S=400
>>>>>>> - Bad Request - 'Malformed/Missing FROM: field' M=INVITE
>>>>>>> IP=216.x.x.x:5060 (127.0.0.1:5080) ID=1368693169d84aea Dec 10 
>>>>>>> 09:12:27
>>>>>>> SCE1 proxy[3942]: NOTICE: <script>: Failure route for local call 
>>>>>>> -
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I can edit the "outbound_from_display" to "Network-Provided-Number" and it works fine but no CNAME obviously.
>>>>>>>
>>>>>>> Any help would be appreciated.. thanks guys
>>>>>>>
>>>>>>> --------------------------------- Christopher Saroli 
>>>>>>> csaroli at isysp.com
>>>>> <ngrep-sip.txt>
>>>>> _______________________________________________
>>>>> 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




More information about the Spce-user mailing list