Hello, I'm very noob on FPBX and Freeswitch and I have no idea how to manipulate the dialplan.
When I receive a national call the Callerid is 0XXXXXXXXX and I get only 9 last digits without 0
On Asterisk I use this dialplan on inbound context
[inbound]
exten => s,1,Set(CALLERID(num)=${IF($[${LEN(${CALLERID(num)})}=9]?0${CALLERID(num)}:${CALLERID(num)})})
same => n,answer
same => n,Goto(from-pstn,${EXTEN},1)
Any doc or help on this subject ?
Thank's
Christian
When I receive a national call the Callerid is 0XXXXXXXXX and I get only 9 last digits without 0
On Asterisk I use this dialplan on inbound context
[inbound]
exten => s,1,Set(CALLERID(num)=${IF($[${LEN(${CALLERID(num)})}=9]?0${CALLERID(num)}:${CALLERID(num)})})
same => n,answer
same => n,Goto(from-pstn,${EXTEN},1)
Any doc or help on this subject ?
Thank's
Christian