[Freeswitch-users] Compiling Issues: Opal with Latest SVN Builds 6-19-09 (Jon DiVita)

Peter Olsson peter.olsson at visionutveckling.se
Wed Jun 17 08:29:44 PDT 2009


If you use latest stable opal package you will be able to compile without patching mod_opal. That is what the guys from Opal recommend. The latest trunk has lots of things going on, so I'm not sure the patches I have supplied are sufficient anymore..

To load the module you must also enable it as a module in modules.conf.xml.

/Peter


-----Ursprungligt meddelande-----
Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Jonathan DiVita
Skickat: den 17 juni 2009 17:20
Till: freeswitch-users at lists.freeswitch.org
Ämne: Re: [Freeswitch-users] Compiling Issues: Opal with Latest SVN Builds 6-19-09 (Jon DiVita)

I was able to compile mod_opal with the patches you suggested.  Now, once
that is done is there anything more I need to do inorder for mod_opal to
show up when I run freeswitch?

I didn't see that it had started when I ran freeswitch after the mod_opal
compile.

Thanks!

Jon
----- Original Message -----
From: <freeswitch-users-request at lists.freeswitch.org>
To: <freeswitch-users at lists.freeswitch.org>
Sent: Wednesday, June 17, 2009 12:26 AM
Subject: Freeswitch-users Digest, Vol 36, Issue 159


> Send Freeswitch-users mailing list submissions to
> freeswitch-users at lists.freeswitch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> or, via email, send a message with subject or body 'help' to
> freeswitch-users-request at lists.freeswitch.org
>
> You can reach the person managing the list at
> freeswitch-users-owner at lists.freeswitch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Freeswitch-users digest..."
>
>
> Today's Topics:
>
>   1. Re: Compiling Issues: Opal with Latest SVN Builds 6-19-09
>      (Brian West)
>   2. Re: How can I join two freeswitch on two servers? (Edmar Cruz)
>   3. Re: session.getDigits() not working (Brian West)
>   4. Re: How can I join two freeswitch on two servers? (Brian West)
>   5. Re: How can I join two freeswitch on two servers? (Edmar Cruz)
>   6. Re: How can I join two freeswitch on two servers? (Edmar Cruz)
>   7. Re: How can I join two freeswitch on two servers? (Brian West)
>   8. Re: How can I join two freeswitch on two servers? (Edmar Cruz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 Jun 2009 22:12:01 -0500
> From: Brian West <brian at freeswitch.org>
> Subject: Re: [Freeswitch-users] Compiling Issues: Opal with Latest SVN
> Builds 6-19-09
> To: freeswitch-users at lists.freeswitch.org
> Message-ID: <A8AB9B1C-35A3-4D25-82E7-D9F6E73EFBEC at freeswitch.org>
> Content-Type: text/plain; charset="iso-8859-1"
>
> please see MODOPAL-10 on jira.
>
> /b
>
> On Jun 16, 2009, at 10:05 PM, Jonathan DiVita wrote:
>
>> Hello, all.  I'm currently playing around with a new install of
>> Freeswitch and wanted to try out mod_opal.  Below are the current
>> SVN builds for  opal, ptlib, and freeswitch.  I end up with the
>> following errors when compiling.
>>
>> making all mod_opal
>> Compiling mod_opal.cpp...
>> Compiling mod_opal.cpp ...
>> In file included from mod_opal.cpp:25:
>> mod_opal.h:151: error: conflicting return type specified for
>> ?virtual OpalLocalConnection*
>> FSEndPoint::CreateConnection(OpalCall&, void*)?
>> /usr/include/opal/opal/localep.h:267: error:   overriding ?virtual
>> ptlib_virtual_function_changed_or_removed******
>> OpalLocalEndPoint::CreateConnection(OpalCall&, void*)?
>> mod_opal.cpp: In constructor ?FSConnection::FSConnection(OpalCall&,
>> FSEndPoint&, switch_caller_profile_t*, switch_core_session_t*,
>> switch_channel_t*)?:
>> mod_opal.cpp:564: error: no matching function for call to
>> ?OpalLocalConnection::OpalLocalConnection(OpalCall&, FSEndPoint&,
>> NULL)?
>> /usr/include/opal/opal/localep.h:290: note: candidates are:
>> OpalLocalConnection::OpalLocalConnection(OpalCall&,
>> OpalLocalEndPoint&, void*, unsigned int,
>> OpalConnection::StringOptions*, char)
>> /usr/include/opal/opal/localep.h:276: note:
>> OpalLocalConnection::OpalLocalConnection(const OpalLocalConnection&)
>> make[4]: *** [mod_opal.lo] Error 1
>> make[3]: *** [all] Error 1
>> make[2]: *** [mod_opal-all] Error 1
>> make[1]: *** [mod_opal] Error 2
>> make: *** [mod_opal] Error 2
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090616/a7bb947f/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Tue, 16 Jun 2009 20:03:13 -0700 (PDT)
> From: Edmar Cruz <darklion11 at yahoo.com>
> Subject: Re: [Freeswitch-users] How can I join two freeswitch on two
> servers?
> To: freeswitch-users at lists.freeswitch.org
> Message-ID: <929908.28142.qm at web57310.mail.re1.yahoo.com>
> Content-Type: text/plain; charset="us-ascii"
>
> How can i turn off authentication? This is my acl.conf.xml on
> 192.168.0.105
>
>
> <list name="fsb" default="deny">
> <node type="allow" cidr="192.168.0.104/32"/>
> </list>
>
> On 192.168.0.4
>
> <list name="fsa" default="deny">
> <node type="allow" cidr="192.168.0.105/32"/>
> </list>
>
>
> ________________________________
> From: Brian West <brian at freeswitch.org>
> To: freeswitch-users at lists.freeswitch.org
> Sent: Tuesday, June 16, 2009 10:49:58 PM
> Subject: Re: [Freeswitch-users] How can I join two freeswitch on two
> servers?
>
> Turn off authentication or use ACL's
>
> /b
>
> On Jun 16, 2009, at 8:28 PM, Edmar Cruz wrote:
>
>> Is there another way to manage the gateway with the caller id of the
>> user
>> not the gateway user id and is there a gateway that doesn't need a
>> username
>> and password?
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090616/2839a86d/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Tue, 16 Jun 2009 22:31:21 -0500
> From: Brian West <brian at freeswitch.org>
> Subject: Re: [Freeswitch-users] session.getDigits() not working
> To: freeswitch-users at lists.freeswitch.org
> Message-ID: <84E4DE1F-D3B5-48B6-B420-AFB301CE1F9C at freeswitch.org>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Shouldn't have really changed any behavior at all... What svn rev are
> you on?
>
> /b
>
> On Jun 16, 2009, at 5:50 PM, paul.degt wrote:
>
>> API CALL [global_getvar()] output:
>> external_ssl_enable=false
>> external_tls_port=5081
>> external_sip_port=5080
>> external_auth_calls=false
>> internal_ssl_dir=/var/opt/freeswitch/conf/ssl
>> internal_sip_port=5060
>> default_provider_contact=5000
>> default_provider_from_domain=example.com
>> default_provider_password=password
>> external_rtp_ip=74.92.196.241
>> xmpp_server_profile=xmpps
>> xmpp_client_profile=xmppc
>> global_codec_prefs=G722,PCMU,PCMA,GSM
>> hold_music=local_stream://moh
>> external_ssl_dir=/var/opt/freeswitch/conf/ssl
>> internal_auth_calls=true
>> local_ip_v4=192.168.0.40
>> unroll_loops=true
>> default_areacode=918
>> default_provider_register=false
>> local_mask_v4=255.255.255.0
>> default_password=1234
>> call_debug=false
>> local_ip_v6=::1
>> default_provider_username=joeuser
>> sound_prefix=/var/opt/freeswitch/sounds/en/us/callie
>> outbound_caller_id=0000000000
>> default_country=US
>> base_dir=/var/opt/freeswitch
>> bind_server_ip=auto
>> internal_tls_port=5061
>> switch_serial=c0a8002854db
>> default_provider=example.com
>> outbound_codec_prefs=PCMU,PCMA,GSM
>> domain_name=192.168.0.40
>> domain=192.168.0.40
>> external_sip_ip=74.92.196.241
>> outbound_caller_name=Versafon.com
>> rs-ring=%(1000, 4000, 425.0, 0.0)
>> sit=%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)
>> internal_ssl_enable=false
>> console_loglevel=debug
>> uk-ring=%(400,200,400,450);%(400,2200,400,450)
>> us-ring=%(2000, 4000, 440.0, 480.0)
>> sip_tls_version=tlsv1
>> fr-ring=%(1500, 3500, 440.0, 0.0)
>> bong-ring=v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440)
>>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 16 Jun 2009 22:36:38 -0500
> From: Brian West <brian at freeswitch.org>
> Subject: Re: [Freeswitch-users] How can I join two freeswitch on two
> servers?
> To: freeswitch-users at lists.freeswitch.org
> Message-ID: <DAE4A924-AA2E-4EDA-816C-B27C332635B2 at freeswitch.org>
> Content-Type: text/plain; charset="us-ascii"
>
> Now you have to tell the sofia profile to use that ACL
>
> /b
>
> On Jun 16, 2009, at 10:03 PM, Edmar Cruz wrote:
>
>> How can i turn off authentication? This is my acl.conf.xml on
>> 192.168.0.105
>>
>> <list name="fsb" default="deny">
>> <node type="allow" cidr="192.168.0.104/32"/>
>> </list>
>>
>> On 192.168.0.4
>>
>> <list name="fsa" default="deny">
>> <node type="allow" cidr="192.168.0.105/32"/>
>> </list>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090616/47e21916/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Tue, 16 Jun 2009 21:00:04 -0700 (PDT)
> From: Edmar Cruz <darklion11 at yahoo.com>
> Subject: Re: [Freeswitch-users] How can I join two freeswitch on two
> servers?
> To: freeswitch-users at lists.freeswitch.org
> Message-ID: <24066647.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> How can sofia profile can call ACL?
> Can you give me an example?
>
> Brian West-3 wrote:
>>
>> Now you have to tell the sofia profile to use that ACL
>>
>> /b
>>
>> On Jun 16, 2009, at 10:03 PM, Edmar Cruz wrote:
>>
>>> How can i turn off authentication? This is my acl.conf.xml on
>>> 192.168.0.105
>>>
>>> <list name="fsb" default="deny">
>>> <node type="allow" cidr="192.168.0.104/32"/>
>>> </list>
>>>
>>> On 192.168.0.4
>>>
>>> <list name="fsa" default="deny">
>>> <node type="allow" cidr="192.168.0.105/32"/>
>>> </list>
>>
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at 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/How-can-I-join-two-freeswitch-on-two-servers--tp24045824p24066647.html
> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 16 Jun 2009 21:02:21 -0700 (PDT)
> From: Edmar Cruz <darklion11 at yahoo.com>
> Subject: Re: [Freeswitch-users] How can I join two freeswitch on two
> servers?
> To: freeswitch-users at lists.freeswitch.org
> Message-ID: <24066647.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> How can sofia profile can call ACL?
> Can you give me an example?
> Like this?
>
> I put this on external profile
>
> "/>
> "/>
>
>
> Brian West-3 wrote:
>>
>> Now you have to tell the sofia profile to use that ACL
>>
>> /b
>>
>> On Jun 16, 2009, at 10:03 PM, Edmar Cruz wrote:
>>
>>> How can i turn off authentication? This is my acl.conf.xml on
>>> 192.168.0.105
>>>
>>> <list name="fsb" default="deny">
>>> <node type="allow" cidr="192.168.0.104/32"/>
>>> </list>
>>>
>>> On 192.168.0.4
>>>
>>> <list name="fsa" default="deny">
>>> <node type="allow" cidr="192.168.0.105/32"/>
>>> </list>
>>
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at 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/How-can-I-join-two-freeswitch-on-two-servers--tp24045824p24066647.html
> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Tue, 16 Jun 2009 23:08:46 -0500
> From: Brian West <brian at freeswitch.org>
> Subject: Re: [Freeswitch-users] How can I join two freeswitch on two
> servers?
> To: freeswitch-users at lists.freeswitch.org
> Message-ID: <93456DA1-47C0-4524-903B-0FDE310EE93D at freeswitch.org>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> COPY paste fail :)
>
>  <param name="apply-inbound-acl" value="domains"/>
>
> something like that as per the example.
>
> /b
>
> On Jun 16, 2009, at 11:02 PM, Edmar Cruz wrote:
>
>>
>> How can sofia profile can call ACL?
>> Can you give me an example?
>> Like this?
>>
>> I put this on external profile
>>
>> "/>
>> "/>
>>
>>
>> Brian West-3 wrote:
>>>
>>> Now you have to tell the sofia profile to use that ACL
>>>
>>> /b
>>>
>>> On Jun 16, 2009, at 10:03 PM, Edmar Cruz wrote:
>>>
>>>> How can i turn off authentication? This is my acl.conf.xml on
>>>> 192.168.0.105
>>>>
>>>> <list name="fsb" default="deny">
>>>> <node type="allow" cidr="192.168.0.104/32"/>
>>>> </list>
>>>>
>>>> On 192.168.0.4
>>>>
>>>> <list name="fsa" default="deny">
>>>> <node type="allow" cidr="192.168.0.105/32"/>
>>>> </list>
>>>
>>>
>>> _______________________________________________
>>> Freeswitch-users mailing list
>>> Freeswitch-users at 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/How-can-I-join-two-freeswitch-on-two-servers--tp24045824p24066647.html
>> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 16 Jun 2009 21:26:38 -0700 (PDT)
> From: Edmar Cruz <darklion11 at yahoo.com>
> Subject: Re: [Freeswitch-users] How can I join two freeswitch on two
> servers?
> To: freeswitch-users at lists.freeswitch.org
> Message-ID: <24066825.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> If FS A has an account 8011105 does FS B also nid to register 8011105? Yes
> it
> working on a gateway but the username of the gateway was shown on my
> softphone and also it nids a password for the gateway... is there an
> option
> to view the caller name and number of the FS A gateway to FS B?
>
>
>
>
> Brian West-3 wrote:
>>
>> COPY paste fail :)
>>
>>
>>
>> something like that as per the example.
>>
>> /b
>>
>> On Jun 16, 2009, at 11:02 PM, Edmar Cruz wrote:
>>
>>>
>>> How can sofia profile can call ACL?
>>> Can you give me an example?
>>> Like this?
>>>
>>> I put this on external profile
>>>
>>> "/>
>>> "/>
>>>
>>>
>>> Brian West-3 wrote:
>>>>
>>>> Now you have to tell the sofia profile to use that ACL
>>>>
>>>> /b
>>>>
>>>> On Jun 16, 2009, at 10:03 PM, Edmar Cruz wrote:
>>>>
>>>>> How can i turn off authentication? This is my acl.conf.xml on
>>>>> 192.168.0.105
>>>>>
>>>>> <list name="fsb" default="deny">
>>>>> <node type="allow" cidr="192.168.0.104/32"/>
>>>>> </list>
>>>>>
>>>>> On 192.168.0.4
>>>>>
>>>>> <list name="fsa" default="deny">
>>>>> <node type="allow" cidr="192.168.0.105/32"/>
>>>>> </list>
>>>>
>>>>
>>>> _______________________________________________
>>>> Freeswitch-users mailing list
>>>> Freeswitch-users at 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/How-can-I-join-two-freeswitch-on-two-servers--tp24045824p24066647.html
>>> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>>>
>>>
>>> _______________________________________________
>>> Freeswitch-users mailing list
>>> Freeswitch-users at lists.freeswitch.org
>>> 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
>> Freeswitch-users at 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/How-can-I-join-two-freeswitch-on-two-servers--tp24045824p24066825.html
> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> End of Freeswitch-users Digest, Vol 36, Issue 159
> *************************************************


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

!DSPAM:4a390b1b32934139097269!





More information about the FreeSWITCH-users mailing list