Issue with inbound


I had setup inbound for my tollfree numbers and it was working fine. Yesterday after weekend when I tested the link, inbound calls were not landing on my server. i asked the provider, they said that my server is CANCELING the requests.

Not sure how to resolve the issue

Pasting logs from their side

U 2018/01/15 19:39:57.997473 ->
Via: SIP/2.0/UDP;branch=z9hG4bK5aee2601.
Max-Forwards: 70.
From: "Company Name" <>;tag=as4e48f
To: <>.
Contact: <>.

U 2018/01/15 19:40:02.143786 ->
SIP/2.0 183 Session Progress.
Via: SIP/2.0/UDP;branch=z9hG4bK5aee2601.
From: "Company Name" <>;tag=as4e48f331.
To: <>;tag=SDae9f599-83H8Q9B8g293r.

U 2018/01/15 19:40:13.404884 ->
Via: SIP/2.0/UDP;branch=z9hG4bK5aee2601.
Max-Forwards: 70.
From: "Company Name" <>;tag=as4e48f331.
To: <>.

You’d need to provide the Asterisk console output to see what is going on.

I’m not receiving anything on console. These are the logs inbound DID provider sent me

They are saying calls are being cancelled from my side

Then you need to get logs from your side to understand what is going on. If using chan_sip then “sip set debug on” or if using PJSIP then “pjsip set logger on” will show the traffic. As well turning up verbose “core set verbose 9” will provide more information (provided it is considered in logger.conf to go to the console).

You should also clarify which direction that call is. Is you?

If not then it’s an outgoing call, not inbound.

1 Like

Only the originating side can cancel, so you cannot cancel inbound calls.

As you haven’t indicated which URI represents you, I can’t be sure, but this looks like outbound calls from you.

Cancelling is normal, if the called party doesn’t answer.

1 Like is outwards to me

logs from my side are below

In these logs I dialed from my outbound trunk ( i just hear bell ringing. i cant see call on my server

Tollfree issue logs.txt (37.8 KB)

You need to simplify this because you are mixing an outbound call and an inbound call which is making it harder to understand and debug what is going on. Don’t use your PBX to call the number that you are expecting inbound. Do it from a phone elsewhere to make this easier.

From what I can gather, though, I don’t see an inbound call so it would be the provider. The log information they provided was also an outgoing call from you - so they too were likely confused.