Linphone qr code and out bound routers

TimGuyUK

Member
Feb 28, 2018
108
3
18
53
So Ive configured the fusion to create the QR code and used that on an ios linpone app. The phone is getting itself to France. Fine. I can change that (UK for me) manually.

Im getting myself in a right state with it and the dial plan, its sending a caller destination of +441234123456 (destination 441234123456) into the outbound where as I need 01234213456 (UK number), at best.

I am maybe a little lazy and only use ^(\d*)$, I cant work out what I need to do to drop the +44 (44) and add a 0

Im assuming its outbound route issue because the caller id is coming from the app not the caller id from the route that I hard code in with effective_caller_id_number= and Im getting last_arg not_secure in the variables.

Has anyone got Linphone going (specially in the uk)

Thanks

Tim
 
OK. I admit I chat GPT'ed.

Setting the regx to ^\+44(\d+)$

And then adding a "action" - "set" - "dialed_extension=0\1" slight lower than the regx

I can now remove the +44 from the destination number.

Still interested if anyone has used Linphone and had to do anything specially other than enabling the template and qr coding?

I have seen this https://www.pbxforums.com/threads/linphone-provisioning-template.6434 with a Linphone template but I havent found anything else as yet.

Tim
 
Last edited: