Freepbx can not detect DID?

Hello

OVH is the biggest voip provider in France.

When i receive a call, i receive this :
01XXXXXXXX is the DID (the number which is called)
00339YYYYYYYY is the number of the line on which is connected asterisk
0153547854 is the caller id
zz.zz.zz.zz is the ip address of the asterisk server

  <--- Transmitting (no NAT) to 91.121.129.20:5060 --->
SIP/2.0 100 Trying

Via: SIP/2.0/UDP 91.121.129.20:5060;branch=z9hG4bK-EWPW-13bea3e5-5c2dcf89;received=91.121.129.20

Record-Route: <sip:91.121.129.20:5060;lr>

From: "0153547854" <sip:[email protected];user=phone>;tag=21982-IJ-0ac0bb64-16a99a9c0

To: <sip:[email protected];user=phone>

Call-ID: [email protected]

CSeq: 166223700 INVITE

Server: FPBX-12.0.1beta30(12.4.0)

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE

Supported: replaces, timer

Contact: <sip:[email protected]:5061>

Content-Length: 0




<------------>

ns457854*CLI> 
    -- Executing [[email protected]:1] NoOp("SIP/ovh5-00000094", "Catch-All DID Match - Found 00339YYYYYYYY - You probably want a DID for this.") in new stack

ns457854*CLI> 
    -- Executing [[email protected]:2] Log("SIP/ovh5-00000094", "WARNING,Friendly Scanner from 91.121.129.20") in new stack


ns457854*CLI> 
    -- Executing [[email protected]:3] Set("SIP/ovh5-00000094", "__FROM_DID=00339YYYYYYYY") in new stack

ns457854*CLI> 
    -- Executing [[email protected]:4] Goto("SIP/ovh5-00000094", "ext-did,s,1") in new stack

ns457854*CLI> 
    -- Goto (ext-did,s,1)

ns457854*CLI> 

As you see, OVH send the DID like that :

To: <sip:[email protected];user=phone>

And what is reconized by freepbx as a DID is the line number.

It seem odd that it can not be possible to use freepbx for did with the biggest french voip provider.

Is there a way to get the DID in my case ?

Thank you for your help.

You need to get your head around DID and CallerID

Your DID in this case is 00339YYYYYYYY
But and a BIG ONE, “Friendly Scanner” is a signature of SipVicious, My assumption is you are being attacked by someone on OVH (91.121.129.20) perhaps yourself?

whois

This topic is now closed. New replies are no longer allowed.

As dicko pointed out your logs reflect usage of a hacking tool. It would seen you are attempting to use the forums to better understand usage of a malicious tool. This forum is not the place to learn how to hack others.

If you feel this was locked in error please flag this post and plead your case. This will also need to explain your legitimate use case of the tool in question.

I am reopening this based on the OP’s post history but will be closely following. Any discussion that looks like it may be related to inappropriate activity may lead to an account suspension.

Hello

About the Friendly Scanner, i don’t know what it is and how it come from ,i will ask to my provider.

But this Friendly Scanner is absolutly not related to my question. My question actually is only about the DID problem.

Thank you

Use the context

[from-pstn-toheader]

for your inbound calls from that profider, it is documented in extensions.conf

Thank you for your hel Dicko.

It work perfectly on the dedicated test server.

Now i just need help for this topic : i-can-not-connect-to-my-sip-provider
(this is for another freepbx server that is in out office behind the nat and will be the production server and i can not connect this one the OVH)

and i will be the most happy man in the world!!!