SOLVED destination_number in CDR saved in different format

Status
Not open for further replies.

hamagid

Member
Dec 14, 2020
73
6
8
33
I'm sending outgoing calls to the gateway as 1xxxxxx, sometimes the destination_number is saved in the CDR as +1xxxxxxx or just xxxxxxx without the 1.

I understand that this is something in the caller profile that's received from the carrier, how can i make that whatever the carrier is sending does not override the format that I'm sending the call as?
 

hfoster

Active Member
Jan 28, 2019
677
80
28
34
If it's an outbound call, surely it's your clients that sending it like that? Or is it that your carrier is sending a SIP UPDATE with the new destionation number in?
 

hamagid

Member
Dec 14, 2020
73
6
8
33
Client is dialing 2121234567.

My bridge statement is sofia/gateway/xxxxxx/12121234567.

destination_number in the database ends up being +12121234567.

Definitely a carrier update.
 

hamagid

Member
Dec 14, 2020
73
6
8
33
Thank you!

Setting it on the A-Leg is only manipulating the screen on the phone, setting it on the B-Leg might do the trick, I'll monitor it over the next couple of days.

Is there any downside in regards to transfers etc when setting it on outbound routes?
 

hfoster

Active Member
Jan 28, 2019
677
80
28
34
Theoretically, it's only the 'display' part of the number, so it should be fine. You probably just won't see updates when the call is transferred elsewhere on the phone.
 
  • Like
Reactions: hamagid
Status
Not open for further replies.