Unable to redirect outgoing calls to mobile

Hi,

I have been taking care of the Asterisk server for a few weeks.
Before my arrival my predecessor had installed Asterisk.
The server uses SIP and E1 communication
Today, with the COVID-19, our users need to forward their call from their landline to a mobile phone.
This function does not work. When the user makes a return to his mobile from the Landline phone, this does not work.
However, when you indicate hard on the Asterisk server, it works.
My manager does not want to indicate in hard on the server, she absolutely wants to let the users to indicate their number freely. I looked but I couldn’t find the problem. Could you help me please.
below the error message.
“== Using SIP RTP CoS mark 5
[Jul 1 12:01:46] WARNING[8395][C-0000001f]: app_dial.c:2432 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)”

Thanks a lot for your help.
Rozi

I don’t believe the error you posted is going to help much here

Indicating hard or not isn’t anything I’m familiar with related to call flows

If you need business class support please contact our sales team … otherwise I think we need more info

I’m going to take a stab at it and say you are trying to let the caller ID flow freely through the follow me … but noticed it doesn’t work with that configuration however it does when you force the caller ID … if that’s correct it’s not an asterisk issue it’s a limitation of your e1 provider

Add a sip trunk to the system and you can bypass that if the carrier permits you to originate with a caller ID that’s not a number you own … sipstation for instance allows this

Hope I was close in understanding

image.png

I also couldn’t work out the meaning of “indicating hard”.

The message basically means you are trying to connect to a peer that should register but hasn’t, or is not responding to the OPTIONS requests sent as the result of using qualify. There just might be some remote reasons, in which case you would need to provide sip set debug on output.

Hi,

Thanks for your feedback. Indeed, I agree with without the slightest information, it is quite difficult to debug.
In fact, the client is not very cooperative. However below, you will find the debug files that I was able to recover.

-- Accepting call from '638814941' to '2507' on channel 0/12, span 2
-- Executing [2507@pmodels-incoming:1] NoOp("DAHDI/i2/638814941-a", "Incoming T2 Colt 2507") in new stack
-- Executing [2507@pmodels-incoming:2] Set("DAHDI/i2/638814941-a", "CHANNEL(musicclass)=women") in new stack
-- Executing [2507@pmodels-incoming:3] Gosub("DAHDI/i2/638814941-a", "subSetIncomingNumCallerId,1,1,(6,38814941)") in new stack
-- Executing [1@subSetIncomingNumCallerId:1] NoOp("DAHDI/i2/638814941-a", "Arg1 6 Arg2 38814941") in new stack
-- Executing [1@subSetIncomingNumCallerId:2] GotoIf("DAHDI/i2/638814941-a", "0?anon") in new stack
-- Executing [1@subSetIncomingNumCallerId:3] GotoIf("DAHDI/i2/638814941-a", "1?french:abroad") in new stack
-- Goto (subSetIncomingNumCallerId,1,4)
-- Executing [1@subSetIncomingNumCallerId:4] Set("DAHDI/i2/638814941-a", "CALLERID(num)=0638814941") in new stack
-- Executing [1@subSetIncomingNumCallerId:5] Goto("DAHDI/i2/638814941-a", "end") in new stack
-- Goto (subSetIncomingNumCallerId,1,9)
-- Executing [1@subSetIncomingNumCallerId:9] NoOp("DAHDI/i2/638814941-a", "Incoming 638814941 From 0638814941") in new stack
-- Executing [1@subSetIncomingNumCallerId:10] Return("DAHDI/i2/638814941-a", "") in new stack
-- Executing [2507@pmodels-incoming:4] Gosub("DAHDI/i2/638814941-a", "subGetLocalSipId,507,1,(o)") in new stack
-- Executing [507@subGetLocalSipId:1] Return("DAHDI/i2/638814941-a", "SIP/Informatique&SIP/LocalInfo") in new stack
-- Executing [2507@pmodels-incoming:5] Dial("DAHDI/i2/638814941-a", "SIP/Informatique&SIP/LocalInfo,,TtXx") in new stack

== Using SIP RTP CoS mark 5
[Jul 1 11:24:14] WARNING[5866][C-00000010]: app_dial.c:2432 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
– Called SIP/Informatique
== Extension Changed 507[premium-states] new state Ringing for Notify User Standard
== Extension Changed 507[premium-states] new state Ringing for Notify User SandyRochlo
– Got SIP response 302 “Moved Temporarily” back from 10.0.3.1:26562
– Now forwarding DAHDI/i2/638814941-a to ‘Local/0638814941@pmodels-intern’ (thanks to SIP/Informatique-0000001f)
[Jul 1 11:24:14] NOTICE[5866][C-00000010]: app_dial.c:907 do_forward: Not accepting call completion offers from call-forward recipient Local/0638814941@pmodels-intern-00000002;1
– Executing [0638814941@pmodels-intern:1] NoOp(“Local/0638814941@pmodels-intern-00000002;2”, “Outgoing 0638814941 From 0638814941 Via T2Colt”) in new stack
– Executing [0638814941@pmodels-intern:2] Set(“Local/0638814941@pmodels-intern-00000002;2”, “CHANNEL(musicclass)=women”) in new stack
== Extension Changed 507[premium-states] new state Idle for Notify User Standard
== Extension Changed 507[premium-states] new state Idle for Notify User SandyRochlo
– Executing [0638814941@pmodels-intern:3] Gosub(“Local/0638814941@pmodels-intern-00000002;2”, “subGetExternCallerId,0638814941,1”) in new stack
[Jul 1 11:24:14] ERROR[5867][C-00000010]: app_stack.c:594 gosub_exec: Attempt to reach a non-existent destination for Gosub: (Context:subGetExternCallerId, Extension:0638814941, Priority:1)
== Spawn extension (pmodels-intern, 0638814941, 3) exited non-zero on ‘Local/0638814941@pmodels-intern-00000002;2’
== Everyone is busy/congested at this time (2:0/0/2)
– Executing [2507@pmodels-incoming:6] Gosub(“DAHDI/i2/638814941-a”, “subVoiceMail,1,1,(507@default,CHANUNAVAIL)”) in new stack
– Executing [1@subVoiceMail:1] NoOp(“DAHDI/i2/638814941-a”, “Arg1 507@default Arg2 CHANUNAVAIL”) in new stack
– Executing [1@subVoiceMail:2] VoiceMail(“DAHDI/i2/638814941-a”, “507@default,u”) in new stack
– <DAHDI/i2/638814941-a> Playing ‘vm-theperson.slin’ (language ‘fr’)
– <DAHDI/i2/638814941-a> Playing ‘digits/5.slin’ (language ‘fr’)
– <DAHDI/i2/638814941-a> Playing ‘digits/0.slin’ (language ‘fr’)
– <DAHDI/i2/638814941-a> Playing ‘digits/7.slin’ (language ‘fr’)
– <DAHDI/i2/638814941-a> Playing ‘vm-isunavail.slin’ (language ‘fr’)
– <DAHDI/i2/638814941-a> Playing ‘vm-intro.slin’ (language ‘fr’)
– <DAHDI/i2/638814941-a> Playing ‘beep.slin’ (language ‘fr’)
– Recording the message
– x=0, open writing: /home/asterisk/spool/voicemail/default/507/tmp/1OiQu2 format: wav, 0x7feec0000918
– Span 2: Channel 0/12 got hangup request, cause 16
– User hung up
– Recording was 1 seconds long but needs to be at least 6 - abandoning
== Spawn extension (subVoiceMail, 1, 2) exited non-zero on ‘DAHDI/i2/638814941-a’
– Hungup ‘DAHDI/i2/638814941-a’
– Span 2: Channel 0/1 got hangup request, cause 16
– Channel DAHDI/i2/0762009369-7 left ‘simple_bridge’ basic-bridge <903c5b86-1e62-4775-9696-a6733428802c>
– Hungup ‘DAHDI/i2/0762009369-7’
– Channel SIP/RichJule-00000012 left ‘simple_bridge’ basic-bridge <903c5b86-1e62-4775-9696-a6733428802c>
== Spawn extension (pmodels-intern, 0762009369, 5) exited non-zero on ‘SIP/RichJule-00000012’
== Extension Changed 527[premium-states] new state Idle for Notify User SandyRochlo
== Using SIP RTP CoS mark 5
== Extension Changed 527[premium-states] new state Busy for Notify User SandyRochlo
– Executing [0032473828284@pmodels-intern:1] NoOp(“SIP/RichJule-00000020”, “Outgoing 0032473828284 From 527 Via T2Colt”) in new stack
– Executing [0032473828284@pmodels-intern:2] Set(“SIP/RichJule-00000020”, “CHANNEL(musicclass)=women”) in new stack
– Executing [0032473828284@pmodels-intern:3] Gosub(“SIP/RichJule-00000020”, “subGetExternCallerId,527,1”) in new stack
– Executing [527@subGetExternCallerId:1] Return(“SIP/RichJule-00000020”, “155034547”) in new stack
– Executing [0032473828284@pmodels-intern:4] Gosub(“SIP/RichJule-00000020”, “subSetOutgoingCallerId,1,1,(0032473828284,155034547,num)”) in new stack
– Executing [1@subSetOutgoingCallerId:1] NoOp(“SIP/RichJule-00000020”, “Arg1 0032473828284 Arg2 155034547 Arg3 num”) in new stack
– Executing [1@subSetOutgoingCallerId:2] GotoIf(“SIP/RichJule-00000020”, “1?isdn”) in new stack
– Goto (subSetOutgoingCallerId,1,5)
– Executing [1@subSetOutgoingCallerId:5] Gosub(“SIP/RichJule-00000020”, “subGetOutgoingNumCallerId,1,1(00,32,155034547)”) in new stack
– Executing [1@subGetOutgoingNumCallerId:1] NoOp(“SIP/RichJule-00000020”, “Arg1 00 Arg2 32 Arg3 155034547”) in new stack
– Executing [1@subGetOutgoingNumCallerId:2] GotoIf(“SIP/RichJule-00000020”, “0?france”) in new stack
– Executing [1@subGetOutgoingNumCallerId:3] GotoIf(“SIP/RichJule-00000020”, “0?france”) in new stack
– Executing [1@subGetOutgoingNumCallerId:4] Return(“SIP/RichJule-00000020”, “0033155034547”) in new stack
– Executing [1@subSetOutgoingCallerId:6] NoOp(“SIP/RichJule-00000020”, “subretval 0033155034547”) in new stack
– Executing [1@subSetOutgoingCallerId:7] Set(“SIP/RichJule-00000020”, “CALLERID(num)=0033155034547”) in new stack
– Executing [1@subSetOutgoingCallerId:8] Return(“SIP/RichJule-00000020”, “”) in new stack
– Executing [0032473828284@pmodels-intern:5] Dial(“SIP/RichJule-00000020”, “DAHDI/g1/0032473828284,TtXx”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called DAHDI/g1/0032473828284
– DAHDI/i2/0032473828284-b is proceeding passing it to SIP/RichJule-00000020
– DAHDI/i2/0032473828284-b is making progress passing it to SIP/RichJule-00000020

**================================================================================= **
which works on SIP Trunk from the modification of the "extensions.conf"
=================================================================================
– Executing [+33172649430@pevents-incoming:1] NoOp(“SIP/TrunkColt-00000032”, “ForwardExt Remi Sommers 0638814941”) in new stack
– Executing [+33172649430@pevents-incoming:2] Gosub(“SIP/TrunkColt-00000032”, “subCallForward,1,1(640,0638814941,sip)”) in new stack
– Executing [1@subCallForward:1] NoOp(“SIP/TrunkColt-00000032”, “Arg1 640 Arg2 0638814941 Arg3 sip”) in new stack
– Executing [1@subCallForward:2] Gosub(“SIP/TrunkColt-00000032”, “subGetExternCallerId,640,1”) in new stack
– Executing [640@subGetExternCallerId:1] Return(“SIP/TrunkColt-00000032”, “172649430”) in new stack
– Executing [1@subCallForward:3] Gosub(“SIP/TrunkColt-00000032”, “subSetOutgoingCallerId,1,1,(0638814941,172649430,sip)”) in new stack
– Executing [1@subSetOutgoingCallerId:1] NoOp(“SIP/TrunkColt-00000032”, “Arg1 0638814941 Arg2 172649430 Arg3 sip”) in new stack
– Executing [1@subSetOutgoingCallerId:2] GotoIf(“SIP/TrunkColt-00000032”, “0?isdn”) in new stack
– Executing [1@subSetOutgoingCallerId:3] Gosub(“SIP/TrunkColt-00000032”, “subGetOutgoingSipCallerId,1,1(06,172649430)”) in new stack
– Executing [1@subGetOutgoingSipCallerId:1] NoOp(“SIP/TrunkColt-00000032”, “Arg1 06 Arg2 172649430”) in new stack
– Executing [1@subGetOutgoingSipCallerId:2] GotoIf(“SIP/TrunkColt-00000032”, “0?abroad:france”) in new stack
– Goto (subGetOutgoingSipCallerId,1,4)
– Executing [1@subGetOutgoingSipCallerId:4] Return(“SIP/TrunkColt-00000032”, “0172649430”) in new stack
– Executing [1@subSetOutgoingCallerId:4] Goto(“SIP/TrunkColt-00000032”, “end”) in new stack
– Goto (subSetOutgoingCallerId,1,6)
– Executing [1@subSetOutgoingCallerId:6] NoOp(“SIP/TrunkColt-00000032”, “subretval 0172649430”) in new stack
– Executing [1@subSetOutgoingCallerId:7] Set(“SIP/TrunkColt-00000032”, “CALLERID(num)=0172649430”) in new stack
– Executing [1@subSetOutgoingCallerId:8] Return(“SIP/TrunkColt-00000032”, “”) in new stack
– Executing [1@subCallForward:4] GotoIf(“SIP/TrunkColt-00000032”, “0?isdn”) in new stack
– Executing [1@subCallForward:5] Dial(“SIP/TrunkColt-00000032”, “SIP/0638814941@TrunkColt”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/0638814941@TrunkColt
– SIP/TrunkColt-00000033 is ringing
– SIP/TrunkColt-00000033 is making progress passing it to SIP/TrunkColt-00000032
– SIP/TrunkColt-00000033 is making progress passing it to SIP/TrunkColt-00000032
== Spawn extension (subCallForward, 1, 5) exited non-zero on ‘SIP/TrunkColt-00000032’

**================================================================================= **
Don’t work without out SIP Trunk from the modification of the "extensions.conf"
=================================================================================
– Accepting call from ‘638814941’ to ‘2507’ on channel 0/4, span 2
– Executing [2507@pmodels-incoming:1] NoOp(“DAHDI/i2/638814941-18”, “Incoming T2 Colt 2507”) in new stack
– Executing [2507@pmodels-incoming:2] Set(“DAHDI/i2/638814941-18”, “CHANNEL(musicclass)=women”) in new stack
– Executing [2507@pmodels-incoming:3] Gosub(“DAHDI/i2/638814941-18”, “subSetIncomingNumCallerId,1,1,(6,38814941)”) in new stack
– Executing [1@subSetIncomingNumCallerId:1] NoOp(“DAHDI/i2/638814941-18”, “Arg1 6 Arg2 38814941”) in new stack
– Executing [1@subSetIncomingNumCallerId:2] GotoIf(“DAHDI/i2/638814941-18”, “0?anon”) in new stack
– Executing [1@subSetIncomingNumCallerId:3] GotoIf(“DAHDI/i2/638814941-18”, “1?french:abroad”) in new stack
– Goto (subSetIncomingNumCallerId,1,4)
– Executing [1@subSetIncomingNumCallerId:4] Set(“DAHDI/i2/638814941-18”, “CALLERID(num)=0638814941”) in new stack
– Executing [1@subSetIncomingNumCallerId:5] Goto(“DAHDI/i2/638814941-18”, “end”) in new stack
– Goto (subSetIncomingNumCallerId,1,9)
– Executing [1@subSetIncomingNumCallerId:9] NoOp(“DAHDI/i2/638814941-18”, “Incoming 638814941 From 0638814941”) in new stack
– Executing [1@subSetIncomingNumCallerId:10] Return(“DAHDI/i2/638814941-18”, “”) in new stack
– Executing [2507@pmodels-incoming:4] Gosub(“DAHDI/i2/638814941-18”, “subGetLocalSipId,507,1,(o)”) in new stack
– Executing [507@subGetLocalSipId:1] Return(“DAHDI/i2/638814941-18”, “SIP/Informatique&SIP/LocalInfo”) in new stack
– Executing [2507@pmodels-incoming:5] Dial(“DAHDI/i2/638814941-18”, “SIP/Informatique&SIP/LocalInfo,TtXx”) in new stack
== Using SIP RTP CoS mark 5
[Jul 1 12:01:46] WARNING[8395][C-0000001f]: app_dial.c:2432 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
– Called SIP/Informatique
== Extension Changed 507[premium-states] new state Ringing for Notify User Standard
== Extension Changed 507[premium-states] new state Ringing for Notify User SandyRochlo
== Extension Changed 507[premium-states] new state Ringing for Notify User StandardPM
– SIP/Informatique-0000003e is ringing
– Channel SIP/AnthonyGlaudel-00000038 left ‘simple_bridge’ basic-bridge
– Channel DAHDI/i2/699962491-17 left ‘simple_bridge’ basic-bridge
== Extension Changed 521[premium-states] new state Idle for Notify User SandyRochlo
== Extension Changed 521[premium-states] new state Idle for Notify User StandardPM
== Spawn extension (pmodels-incoming, 2525, 5) exited non-zero on ‘DAHDI/i2/699962491-17’
– Hungup ‘DAHDI/i2/699962491-17’

Hi ,

Anyone can help me please ?

Thanks in advance.

Rozi

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.