<dialplan xmlns="http://schemas.microsoft.com/embedded/VoIP">
	<dialplan-header>
		<host>#use_sipsrv_host_name#</host>
	</dialplan-header>
	<!-- Regles de numerotation normale -->
	<rule pattern="(\d+)" dial="sip:\1@$host$" display="\1" transfer="sip:\1@$host$" restrict="SMS" />
	<!-- Regles de numerotation internationale -->
	<rule pattern="(\+)(\d+)" dial="sip:\1\2@$host$" display="\1\2" transfer="sip:\1\2@$host$" restrict="SMS" />
	<!-- Consultation messagerie -->
	<rule pattern="(\*+)(\d+)" dial="sip:\1\2@$host$" display="\1\2" transfer="sip:\1\2@$host$" restrict="SMS" />
	<!-- Appels entrants Freephonie -->
	<rule pattern="[Ss][Ii][Pp][Ss]?:\s*(\d+)@(.+)" display="\1" restrict="Cell,SMS" />
	<rule pattern="([Ss][Ii][Pp][Ss]?:)?\s*([a-zA-Z0-9_-]+)@(.+)" display="\2" restrict="SMS" />
	<rule pattern="[Ss][Ii][Pp][Ss]?:\s*([^@]+)" display="\1" restrict="SMS" />
</dialplan>
