cant dial through registered gateway in windows 2k3
i have the following in my gateway.msl file kept under conf/directory/default/ <include> <user id="id"> <gateways> <gateway name="sip.server.com"> </gateway> </gateways> <params> </params> </user> </include> on freeswitch start it registers also and in my dialplan i have: <extension name="india"> <condition field="destination_number" expression="^919825967120$"> <action application="bridge" data="sofia/gateway/sip.server.com/$1"/> </condition> </extension> but when i call that number, its unable to bridge to the gateway and it says route not available -- View this message in context: http://www.nabble.com/cant-dial-through-registered-gateway-in-windows-2k3-tp... Sent from the Freeswitch-users mailing list archive at Nabble.com.
On Sep 16, 2008, at 9:44 AM, xbipin wrote:
<extension name="india"> <condition field="destination_number" expression="^919825967120$"> <action application="bridge" data="sofia/gateway/sip.server.com/ $1"/> </condition> </extension>
Well your regular expression won't capture anything so $1 will be blank. So either wrap it in () ie ^(1234)$ or just use the number in place of $1. Also what does the console say? /b PS: you do realize you sent the same email 6 times!
actually i sent the message but in the output it showed the config as blank so i tried removing the xml format but it still showed the same so after multiple editing it showed fine so it got submitted 6 times, sorry for that, i didnt mean to hijack it or something like that. Brian West-3 wrote:
On Sep 16, 2008, at 9:44 AM, xbipin wrote:
<extension name="india"> <condition field="destination_number" expression="^919825967120$"> <action application="bridge" data="sofia/gateway/sip.server.com/ $1"/> </condition> </extension>
Well your regular expression won't capture anything so $1 will be blank.
So either wrap it in () ie ^(1234)$ or just use the number in place of $1.
Also what does the console say?
/b
PS: you do realize you sent the same email 6 times!
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/cant-dial-through-registered-gateway-in-windows-2k3-tp... Sent from the Freeswitch-users mailing list archive at Nabble.com.
y do i get this warning when the first client registers to the server? 2008-09-16 19:19:07 [WARNING] sofia.c:75 sofia_handle_sip_r_notify() delete subscriptions for failed notify and also on shutdown udner windows, FS still crashes like usual and also can u plz let me know if there is any wiki on the dialstring formatting, i cant seem to find it thats y the error in dialing out of gateway till u corrected it, thanks a lot, works fine with the change u showed me. Brian West-3 wrote:
On Sep 16, 2008, at 9:44 AM, xbipin wrote:
<extension name="india"> <condition field="destination_number" expression="^919825967120$"> <action application="bridge" data="sofia/gateway/sip.server.com/ $1"/> </condition> </extension>
Well your regular expression won't capture anything so $1 will be blank.
So either wrap it in () ie ^(1234)$ or just use the number in place of $1.
Also what does the console say?
/b
PS: you do realize you sent the same email 6 times!
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/cant-dial-through-registered-gateway-in-windows-2k3-tp... Sent from the Freeswitch-users mailing list archive at Nabble.com.
participants (2)
-
Brian West
-
xbipin