I’m using freepbx 13.0.192.9 on raspbian.
I use to “play” with french Freebox and local AASTRA SIP phones and Zoiper.
I recently bought 1 sip account at OVH, and 1 alias.
My main problem is that I’m unable to get the alias from the incoming calls.
I’m seeing the call coming in the CLI, and can get it sent to any SIP phones or ring group, but I don’t see any information concerning the aliase.
Hi Laurent.
Indeed, if the solution has been found, then share it.
However, i’ve in the same case like you. Freebox and OVH.
I just create an inbound route with my Alias (OVH)
Under Freepbx 2.11 :
Create a custom context like this:
[did-from-sip]
exten => s,1,Noop(Fixing DID using information from SIP TO header)
exten => s,n,Set(pseudodid=${SIP_HEADER(To)})
exten => s,n,Set(pseudodid=${CUT(pseudodid,@,1)})
exten => s,n,Set(pseudodid=${CUT(pseudodid,:,2)})
exten => s,n,Goto(from-trunk,${pseudodid},1)
in my trunk, i changed context = did-from-sip instead of : context = from-trunk
But you can put directly your alias number delivered by OVH into the field DID from inbound route. 0033240… instead of 0240…
0240… will be ued with did-from-sip 00332. will be used with from-trunk if i remember well.