[Freeswitch-users] custom ringback behaviour
Cavalera Claudio Luigi
Claudio.Cavalera at italtel.it
Fri Jun 13 01:30:47 PDT 2008
Hello guys,
I'm keeping on playing with freeswitch (now with 1.0) on my spare work
time with two final goals:
1)create a nice demo portfolio to show funtional potential of fs.
2)show fs performance under heavy load compared to commercial carrier
level softswitches (millions of CDRs per day).
First, I have to enrich my demo portfolio which is still quite poor.
Things should become easier now, as I've succeed in routing call from my
fs box to my softswitch connected to public landline.
This means for example that I can call from a softphone registered to fs
any telephone number with a rough dialplan like this:
<!-- http://wiki.freeswitch.org/wiki/Dialplan_XML -->
<include>
<context name="default">
<extension name="claudio_external">
<condition field="destination_number" expression="^(\d+)$">
<action application="set" data="effective_caller_id_name=John
Freeswitch"/>
<action application="set"
data="effective_caller_id_number=31337"/>
<action application="bridge" data="sofia/default/$1 at MySswIP"/>
</condition>
</extension>
</context>
</include>
Now let's consider this couple of commands issued through fs console (I
hope I'm using % vs @ properly here):
1) originate
{ringback=/usr/local/freeswitch/sounds/calling.wav}sofia/default/1000%my
FsBox &bridge(sofia/default/0287654321 at MySswIP)
in this case when I answer the first ringing phone (softphone) while the
second phone is ringing I hear "calling.wav": wonderful!
2)originate
{ringback=/usr/local/freeswitch/sounds/calling.wav}sofia/default/0212345
678 at MySswIP &bridge(sofia/default/0287654321 at MySswIP)
in this case when I answer the first ringing phone I don't hear
calling.wav, instead I hear normal ringback tone while the second phone
is ringing.
What could be the cause of these different behaviours?
Thanks,
Claudio
Internet Email Confidentiality Footer
-----------------------------------------------------------------------------------------------------
La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto.
This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred.
-----------------------------------------------------------------------------------------------------
More information about the FreeSWITCH-users
mailing list