VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
bipin at xbipin.com Guest
|
Posted: Tue Sep 16, 2008 9:46 am Post subject: [Freeswitch-users] cant dial through registered gateway in w |
|
|
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-tp19513366p19513366.html
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Sep 16, 2008 9:53 am Post subject: [Freeswitch-users] cant dial through registered gateway in w |
|
|
On Sep 16, 2008, at 9:44 AM, xbipin wrote:
Quote: |
<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 |
|
Back to top |
|
|
bipin at xbipin.com Guest
|
|
Back to top |
|
|
bipin at xbipin.com Guest
|
Posted: Tue Sep 16, 2008 10:41 am Post subject: [Freeswitch-users] cant dial through registered gateway in w |
|
|
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:
Quote: |
On Sep 16, 2008, at 9:44 AM, xbipin wrote:
Quote: |
<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-tp19513366p19514492.html
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|