Hello Guys
First of all, I am a new user of Freeswitch. I spent a
couple of days on this issue and am desperate for some help.
Briefly, my problems are
1.
Calling out from SPA2102 (ext 1002) or a softphone
(phonerlite) (ext 1003) via gateway voip is disconnected as soon as it got
answered after ringing in the other side.
2.
Calling from outside is disconnected 30 seconds after it
got answered.
I don’t have this problem with calls between the internal
extensions.
Without extensions (direct communication between gateway and
SPA2102), I verified SPA2102 is working fine
My environment: <PSTN outside> --- <Freeswitch>
--- <my extensions>
As Freeswitch wiki, suggested, I have following xml contents
·
Sip_profiles/external/voipms.xml
<include>
<gateway
name="sip.atlanta.voip.ms">
<param
name="username" value="XXXXXXX" />
<param
name="password" value="XXXXXXXXX" />
<param
name="register" value="true" />
<param
name="expire-seconds" value="60"/>
<param name="register-transport"
value="udp"/>
<param
name="retry-seconds" value="100"/>
</gateway>
</include>
·
Dialplan/public/voipms.xml
<include>
<extension
name="AllOutbound">
<condition
field="network_addr"
expression="^192\.168\.0\.11[2-7]$"/>
<condition
field="destination_number" expression="^1?(\d{10})$">
<action application="set" data="effective_caller_id_number=XXXXXXX"/>
<action application="set" data="effective_caller_id_name=XXXXXXX"/>
<action application="bridge"
data="sofia/gateway/sip.atlanta.voip.ms/$1"/>
</condition>
</extension>
<extension name="Inbound_mss">
<condition
field="destination_number" expression="^5555555555$">
<action
application="bridge"
data="sofia/internal/1002@192.168.0.114:5060"/>
</condition>
</extension>
<extension name="Inbound_pstn">
<condition
field="destination_number" expression="^1002$">
<action
application="bridge"
data="sofia/internal/1002@192.168.0.114:5060"/>
</condition>
</extension>
<extension name="Inbound_sipphone">
<condition
field="destination_number" expression="^1003$">
<action
application="bridge"
data="sofia/internal/@1003@192.168.0.117:5060"/>
</condition>
</extension>
</include>
I think I went through all wiki and other articles on the
web but could find a resolution for this issue. I would appreciate if you give
me any hint.
Thanks
Tae-Sung Shin