View previous topic :: View next topic |
Author |
Message |
davis.erwin at gmail.com Guest
|
Posted: Thu Oct 15, 2009 1:42 pm Post subject: [Freeswitch-users] failed in bridging with SIPp |
|
|
Hi,
I tried to originate a call from x-lite and hope to terminate to SIPp running in another machine (192.168.1.36:5069)
through FS. My x-lite received service no available and the FS report NORMAL_TEMPOARY_FAILURE
(http://pastebin.freeswitch.org/10720). My purpose for FS is to simply forward the call to the destination IP addr,
which is 192.168.1.36. Did I miss anything in the configuration? Thanks,
Below is my configuration,
in dialplan/default.xml,
<extension name="to-sipp">
<condition field="destination_number" expression="^6666$">
<action application="bridge" data="sofia/internal/profile1/$0@192.168.1.36 (0@192.168.1.36)"/>
</condition>
</extension>
in sip-profile/profile1.xml
<profile name="profile1">
<param name="debug" value="1"/>
<param name="rfc2833-pt" value="101"/>
<param name="sip-ip" value="192.168.1.36"/>
<param name="sip-port" value="5069"/>
<param name="dialplan" value="XML"/>
<param name="dtmf-duration" value="100"/>
<param name="codec-ms" value="20"/>
<param name="use-rtp-timer" value="true"/>
</profile> |
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Thu Oct 15, 2009 6:36 pm Post subject: [Freeswitch-users] failed in bridging with SIPp |
|
|
Erwin Davis <davis.erwin@gmail.com> wrote:
Quote: | <action application="bridge" data="sofia/internal/profile1/$
0@192.168.1.36"/>
|
The above syntax won't work.
data="user/$1@192.168.1.36" (assuming that your FreeSWITCH domain is
192.168.1.36) would be better.
If the other end doesn't require authentication (i.e., it isn't registering
with FS) you can use sofia/internal/$1@domain
_______________________________________________
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 |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Oct 15, 2009 7:06 pm Post subject: [Freeswitch-users] failed in bridging with SIPp |
|
|
On Thu, Oct 15, 2009 at 4:22 PM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
Quote: | Erwin Davis <davis.erwin@gmail.com (davis.erwin@gmail.com)> wrote:
The above syntax won't work.
data="user/$1@192.168.1.36 (1@192.168.1.36)" (assuming that your FreeSWITCH domain is
192.168.1.36) would be better.
If the other end doesn't require authentication (i.e., it isn't registering
with FS) you can use sofia/internal/$1@domain
|
Erwin,
Good catch on the sofia syntax. FYI, for those who don't already know, be sure to check out this wiki page:
http://wiki.freeswitch.org/wiki/Dialplan_XML#SIP-Specific_Dialstrings
It discusses the various syntaxes for sofia dial strings. Hint: in the #freeswitch IRC channel you can type "~whatis anatomy" and get this URL. It's "anatomy" of a SIP dial string.
-MC |
|
Back to top |
|
|
davis.erwin at gmail.com Guest
|
Posted: Thu Oct 15, 2009 7:11 pm Post subject: [Freeswitch-users] failed in bridging with SIPp |
|
|
I prefer the second case. How to define the domain? Thanks,
e
On Thu, Oct 15, 2009 at 7:22 PM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
|
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Thu Oct 15, 2009 7:41 pm Post subject: [Freeswitch-users] failed in bridging with SIPp |
|
|
Erwin Davis <davis.erwin@gmail.com> wrote:
Quote: | I prefer the second case. How to define the domain? Thanks,
|
It's the domain of FreeSWITCH itself. You could just specify $${domain} if you
aren't using multiple domains.
user/6666@$${domain}
By default, the domain is the IPv4 address of the machine running FreeSWITCH,
which you can change by setting it in vars.xml (assuming that you're using the
default configuration; it will be different if you totally rewrite the
configuration, of course.)
_______________________________________________
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 |
|
|
|