Ivr blocks every external call through it

Hi everyone, iam new at asterisk and freepbx. I’ve had a very specific problem, while dealing with my first Freepbx machine. I have my Sip-trunk, outbound and inbound calling working well, but when i added an IVR and tried to add some external numbers into it, i’ve got a problem:
42054[2023-01-24 01:21:59] VERBOSE[52471][C-0000002e] app_stack.c: Spawn extension (from-trunk, xxxxxxxxx, 1) exited non-zero on ‘SIP/Vasya-online-00000067’

42055[2023-01-24 01:21:59] VERBOSE[52471][C-0000002e] app_stack.c: SIP/Vasya-online-00000067 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=

42056[2023-01-24 01:21:59] VERBOSE[52471][C-0000002e] app_dial.c: Called SIP/Vasya-online/xxxxxxxxx

42057[2023-01-24 01:21:59] VERBOSE[2485][C-0000002e] chan_sip.c: Got SIP response 503 “Service Unavailable” back from xx.xx.xx.x:5060

42058[2023-01-24 01:21:59] VERBOSE[52471][C-0000002e] app_dial.c: SIP/Vasya-online-00000067 is circuit-busy

42059[2023-01-24 01:21:59] VERBOSE[52471][C-0000002e] app_stack.c: SIP/Vasya-online-00000067 Internal Gosub(crm-hangup,s,1) start

I’ve tried to use custom and misc destination with no result, also i ve tried to use the same configurations as mine on another provider, but still no result. Actually i am tring to configure it for 10 in a raw, but now i dont really have any idea, will be very glad if anyone can help me with that. If need any other logs or my settings to help, only ask.

I believe the most common cause of 503 failures, from a provider, is sending an unacceptable caller ID, given that legislators are cracking down on the use of VoIP to misrepresent caller identity. There should be a lot of postings on how to set the caller ID in such cases.

I am not sure you explained correctly what you are trying to do. Are you trying to make an IVR work for inbound calls or are you trying to dial out from the IVR to external numbers?

If this is for outbound calls through IVR then David is right and your outbound route and/or trunk aren’t setting the outbound Caller ID correctly and you need to troubleshoot that. This wouldn’t be a problem with the IVR.

Are you shure that the problem is in Caller ID? Just when i try to put an external number into inbound routes instead of IVR that works well.
41196[2023-01-24 01:19:29] VERBOSE[51425][C-0000002d] app_stack.c: Spawn extension (from-trunk, xxxxxxxxx, 1) exited non-zero on ‘SIP/Vasya-online-00000065’

41197[2023-01-24 01:19:29] VERBOSE[51425][C-0000002d] app_stack.c: SIP/Vasya-online-00000065 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=

41198[2023-01-24 01:19:29] VERBOSE[51425][C-0000002d] app_dial.c: Called SIP/Vasya-online/xxxxxxxxx

41199[2023-01-24 01:19:29] VERBOSE[51425][C-0000002d] app_dial.c: SIP/Vasya-online-00000065 is ringing

41200[2023-01-24 01:19:29] VERBOSE[51411][C-0000002d] app_dial.c: Local/[email protected];1 is ringing

I want my IVR to redirect an external call to another external number, redirection comes normally, when i put an extension with external follow me option in inbound rule instead of IVR, also i have no problem with calling from internal phones to external numbers and no problems when i call to internal numbers with follow me option to external number.

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