Number fixed france doesn't pass

Hello,

I have an astpp v4, and everything works fine, the France mobile numbers go well but the fixed numbers do not go at all 01 02 03 04 05 08 09, I have already put a valid callerid but it still does not work, this gives me the UNALLOCATED_NUMBER cli.

2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:40 sofia/default/00133344042016 Standard INIT
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:48 (sofia/default/00133344042016) State Change CS_INIT → CS_ROUTING
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:627 (sofia/default/00133344042016) State INIT going to sleep
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:584 (sofia/default/00133344042016) Running State Change CS_ROUTING (Cur 2 Tot 385)
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:643 (sofia/default/00133344042016) State ROUTING
2021-04-16 13:57:00.502699 [DEBUG] mod_sofia.c:143 sofia/default/00133344042016 SOFIA ROUTING
2021-04-16 13:57:00.502699 [DEBUG] switch_ivr_originate.c:67 (sofia/default/00133344042016) State Change CS_ROUTING → CS_CONSUME_MEDIA
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:643 (sofia/default/00133344042016) State ROUTING going to sleep
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:584 (sofia/default/00133344042016) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 385)
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:662 (sofia/default/00133344042016) State CONSUME_MEDIA
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:662 (sofia/default/00133344042016) State CONSUME_MEDIA going to sleep
2021-04-16 13:57:00.502699 [DEBUG] sofia.c:7084 Channel sofia/default/00133344042016 entering state [calling][0]
2021-04-16 13:57:00.502699 [DEBUG] sofia.c:7084 Channel sofia/default/00133344042016 entering state [terminated][404]
2021-04-16 13:57:00.502699 [NOTICE] sofia.c:8273 Hangup sofia/default/00133344042016 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:584 (sofia/default/00133344042016) Running State Change CS_HANGUP (Cur 2 Tot 385)
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:850 (sofia/default/00133344042016) Callstate Change DOWN → HANGUP
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:852 (sofia/default/00133344042016) State HANGUP
2021-04-16 13:57:00.502699 [DEBUG] mod_sofia.c:438 Channel sofia/default/00133344042016 hanging up, cause: UNALLOCATED_NUMBER
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:60 sofia/default/00133344042016 Standard HANGUP, cause: UNALLOCATED_NUMBER
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:852 (sofia/default/00133344042016) State HANGUP going to sleep
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:619 (sofia/default/00133344042016) State Change CS_HANGUP → CS_REPORTING
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:584 (sofia/default/00133344042016) Running State Change CS_REPORTING (Cur 2 Tot 385)
2021-04-16 13:57:00.502699 [DEBUG] switch_core_state_machine.c:938 (sofia/default/00133344042016) State REPORTING
2021-04-16 13:57:00.502699 [INFO] mod_json_cdr.c:271 Process [9d9aceb6-9ebb-11eb-a06d-814115b539e0.cdr.json]
2021-04-16 13:57:00.542240 [DEBUG] switch_core_state_machine.c:174 sofia/default/00133344042016 Standard REPORTING, cause: UNALLOCATED_NUMBER
2021-04-16 13:57:00.542240 [DEBUG] switch_core_state_machine.c:938 (sofia/default/00133344042016) State REPORTING going to sleep
2021-04-16 13:57:00.542240 [DEBUG] switch_core_state_machine.c:610 (sofia/default/00133344042016) State Change CS_REPORTING → CS_DESTROY
2021-04-16 13:57:00.542240 [DEBUG] switch_core_session.c:1665 Session 385 (sofia/default/00133344042016) Locked, Waiting on external entities
2021-04-16 13:57:00.542240 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
2021-04-16 13:57:00.542240 [NOTICE] switch_core_session.c:1683 Session 385 (sofia/default/00133344042016) Ended
2021-04-16 13:57:00.542240 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/00133344042016 [CS_DESTROY]
2021-04-16 13:57:00.542240 [DEBUG] switch_core_state_machine.c:741 (sofia/default/00133344042016) Running State Change CS_DESTROY (Cur 1 Tot 385)
2021-04-16 13:57:00.542240 [DEBUG] switch_core_state_machine.c:751 (sofia/default/00133344042016) State DESTROY
2021-04-16 13:57:00.542240 [DEBUG] mod_sofia.c:343 sofia/default/00133344042016 SOFIA DESTROY
2021-04-16 13:57:00.542240 [DEBUG] switch_core_state_machine.c:181 sofia/default/00133344042016 Standard DESTROY
2021-04-16 13:57:00.542240 [DEBUG] switch_core_state_machine.c:751 (sofia/default/00133344042016) State DESTROY going to sleep
2021-04-16 13:57:00.542240 [INFO] mod_dptools.c:3436 Originate Failed. Cause: UNALLOCATED_NUMBER
2021-04-16 13:57:00.542240 [INFO] mod_dptools.c:4718 immediately releasing

thanks a lot

please anyone to see my problem

Hello,

Please try once with Force caller ID or Remove caller name & number from sip device.

For easy readable/understsanding call log kindly share https://pastebin.freeswitch.org/ with language = Lua.

Force caller ID has solved my problem, thank you very much

Great to know that !!

Hi , for info what you put in localisation ?
How add good localisation setup for internaionallize number ?
i want they replace local number to international +336XXXXXXXX.
But localisation don’t accept + on add string …
any idea ?

For that refer on very good recorded tutorial https://www.youtube.com/watch?v=1fZyPu_Autc or https://www.youtube.com/watch?v=c8vfhWauMhc

Thanks for the link .
I see the video, but looks like localisation termination side not working.
I put a cut 0 and add +33 but on FreeSWITCH cli , call still come out astpp
server with 0…
any idea ?

Hope you have assign that localization into your customer & provider as termination part will be comes under provider so.

Have you tried prepend & strip option in termination rate once?

Ok perfect you right !!
Localisation not selected in provider side .
Now is working !! Thanks for advice :wink:

Great, Welcome :slight_smile:

Hi again, I reopen this because now I have issue with international number …
looks like don’t add the + on termination side, so my international call not work.
It’s working if I put prepend + in termination rate, but a BUG don’t want me I import with prepend, and I have 27000 raw of prefix and tarif … If I put in prepend + or 00 I have an error in importation, if I left blank , importation working.
So I want to add the + with localisation in termination side, but not working … any idea?

I think the problem is we can’t just add prefix on termination side if we left cut empty.
If I put by exemple in termination side cut 32 and add +32 it’s working .
if I put just termination side cut empty and add + it’s not working …

Ok this time I think it’s good !
For add at all outgoing number + I succeed on put cut * and add + on termination side .
Now I have one last problem ,
in france we have some special 3 or 4 number, and this one need to dial like this without indicatif or without +
So how who can set localisation for apply add + on only 5 or more 5 digit number, or set add nothing if number is less 5 digit ?
any idea