So, quoting myself:
<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.
In your case: <action application="bridge" data="sofia/internal/1008%${domain}^$1"/> David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - 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
2010/9/2 David Ponzone [via freeswitch-users] <[hidden email]> 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 www.ipeva.fr - 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 :
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
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-register-a-gateway-to-f... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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
_______________________________________________ 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
View message @ http://freeswitch-users.2379917.n2.nabble.com/how-to-register-a-gateway-to-f... To unsubscribe from how to register a gateway to freeswitch, click here.
View this message in context: Re: how to register a gateway to freeswitch Sent from the freeswitch-users mailing list archive at Nabble.com. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org