|
Hello everybody
I have FreeSwitch running and i have done some call between extensions, i bought the book on amazon its a great book but its focus to make a pbx , i could not find an answer to my problem, i have a Quintum and 2 land lines connected to it. My quintum does not have a fixed IP, i wanna use my Quintum as a gateway to sent call to PSTN, but i cant beacause i dont know the ip address. i wanna know if is there a way to register the gateway to freeswitch? or maybe i can register the quintum as a endpoin but how can i sent the dialed number()destination_number) to that endpoint or user? so i either want to use mod distributor (simple round-robin) and Limit on it, beacuse all examples i have seen is for using with gateways! I have read mod sofia and almost the whole book but i can find any example for doing this! Thanks in advance for everyone in this project that is amazing! _______________________________________________ FreeSWITCH-users mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org |
|
Register your Quintum to FS, and in FS, you will be able to dial a specific number through the Quintum with the syntax:
<action application="bridge" data="sofia/profile/user%domain^$1"/> where $1 is of course the number you want to dial ^ allows to replace the dialed number in the INVITE you send to the client. David Ponzone Direction Technique email: [hidden email] tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 <a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr - <a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 01/09/2010 à 06:01, Octavio Duarte a écrit : Hello everybody _______________________________________________ FreeSWITCH-users mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org |
|
Thanks David for your help
now the quintum is registered, i use the user 1008 that is already created in FS so i have done some test call 1. when i call 1008 quintum see the call but i got an error(503) NORMAL_TEMPORARY_FAILURE, quintum see the call but cant proccess because i have not sent the real number to call 2 i have this just to test a call <extension name="Test Test"> <condition field="destination_number" expression="^(015555306078)$"> <action application="bridge" data="user/internal/1008%${domain_name}^$1"/> </condition> </extension> but i got this cant find user [1008%Domain^015555306078@Domain] as a warning cannot create outgoing cgannel of type [user] cause: [SUSCRIBER_ABSENT] as a error i exchange the % with @ and i got the same, and the quintum does not register the call do you have any idea what is going on? or another way to send the destination_number? Thank in advance for you help! |
|
On Wed, Sep 1, 2010 at 11:33 PM, xduvox <[hidden email]> wrote:
This syntax seems to be incorrect. You probably just want this: data="user/1008^$1" The "user" channel figures out the SIP contact string for you so that you don't have to do a crazy dialstring. Check out this page for more hints on how to construct a sofia dialstring: http://wiki.freeswitch.org/wiki/Dialplan_XML#SIP-Specific_Dialstrings -MC _______________________________________________ FreeSWITCH-users mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org |
|
Mike, Do yo think this was changed to work also with user/ dialstring ? David Ponzone Direction Technique email: [hidden email] tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 <a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr - <a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 02/09/2010 à 09:21, Michael Collins a écrit :
_______________________________________________ FreeSWITCH-users mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org |
|
In reply to this post by mercutioviz
Hello Mike
thanks for your help i have read http://wiki.freeswitch.org/wiki/Dialplan_XML#SIP-Specific_Dialstrings but a could not find an example to use a use as gateway like this sofia/gateway/gwQuintum/$1 where i can send the destination_number i tried to do something like this <action application="bridge" data="user/internal/1008^$1"/> <action application="bridge" data="user/1008^$1"/> <action application="bridge" data="user/internal/1008%${domain_name}^$1"/> <action application="bridge" data="user/1008@${domain_name}^$1"/> and i got the same error "cannot create outgoing channel of type [user] cause: [SUSCRIBER_ABSENT]" i tried this too <action application="bridge" data="user/internal/1008%${domain_name}/$1"/> like a gateway buy i got the same do you have any idea to use the user(quintum) like a gateway? thank in advance for your help |
|
You should really read my replies.
David Ponzone Direction Technique email: [hidden email] tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 <a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr - <a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 02/09/2010 à 21:28, xduvox a écrit :
_______________________________________________ FreeSWITCH-users mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org |
|
sorry David did i miss something, i am really new in this stuff i tried the way you tell me, sorry if i did not understand you, could you send me what you mind by write down and example! thanks
2010/9/2 David Ponzone [via freeswitch-users] <[hidden email]> You should really read my replies. |
|
So, quoting myself:
In your case: <action application="bridge" data="sofia/internal/1008%${domain}^$1"/> David Ponzone Direction Technique email: [hidden email] tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 <a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr - <a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 02/09/2010 à 22:38, xduvox a écrit : sorry David did i miss something, i am really new in this stuff i tried the way you tell me, sorry if i did not understand you, could you send me what you mind by write down and example! thanks _______________________________________________ FreeSWITCH-users mailing list [hidden email] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org |
|
thanks David it works know i dont know why it did not work yesterday maybe was very late and i was tired, i swear i did it well yesterdad, but for sure i made a mistake! thanks for all your help David i hope i can help someone in the future!
2010/9/2 David Ponzone [via freeswitch-users] <[hidden email]> So, quoting myself: |
| Powered by Nabble | Edit this page |
