[Freeswitch-users] openzap / dialplan / Sangoma A204 questions

Brian West brian at freeswitch.org
Tue Jul 1 19:01:19 PDT 2008


Can you open an Jira on this so we don't loose track of it.. http://jira.freeswitch.org

/b

On Jul 1, 2008, at 8:29 PM, John Wehle wrote:

>> Can you try upgrading to the latest svn build of FS.
>> There are several fixes to openzap in there that I know will fix  
>> your issue.
>
> Yes, that works much better.  A couple minor changes required so the
> openzap code would compile on FreeBSD 6.2:
>
>  a) The header for select needed to be included.
>
>  b) A comment needed to be fixed.
>
> I'm now able to dial out through the fxo as well as have incoming  
> calls
> answered.
>
> What would my dialplan look like so that dialing 551 just bridges the
> call to the tip ring line from the PBX?  I.e. dialing 551 gets me a
> PBX dialtone without actually dialing an extension on the PBX.
>
> -- John
> -----------------------8 
> <-----------------------8<-----------------------
> *** libs/openzap/src/include/openzap.h.ORIGINAL	Tue Jul  1 19:07:52  
> 2008
> --- libs/openzap/src/include/openzap.h	Tue Jul  1 19:20:12 2008
> ***************
> *** 127,132 ****
> --- 127,133 ----
>  #include <strings.h>
>  #endif
>  #include <assert.h>
> + #include <sys/select.h>
>  #include "zap_types.h"
>  #include "hashtable.h"
>  #include "zap_config.h"
> *** libs/openzap/src/isdn/Q931.c.ORIGINAL	Tue Jul  1 19:07:51 2008
> --- libs/openzap/src/isdn/Q931.c	Tue Jul  1 19:17:25 2008
> ***************
> *** 346,352 ****
>  	/* Protocol Discriminator */
>      m->ProtDisc = Mes[IOff++];
>
> !     /* CRV */add
>      m->CRVFlag = Mes[IOff + 1] & 0x80;
>      m->CRV = Q931Uie_CRV(pTrunk, Mes, m->buf, &IOff, &ISize);
>
> --- 346,352 ----
>  	/* Protocol Discriminator */
>      m->ProtDisc = Mes[IOff++];
>
> !     /* CRV add */
>      m->CRVFlag = Mes[IOff + 1] & 0x80;
>      m->CRV = Q931Uie_CRV(pTrunk, Mes, m->buf, &IOff, &ISize);
>
> -------------------------------------------------------------------------
> |   Feith Systems  |   Voice: 1-215-646-8000  |  Email:  
> john at feith.com  |
> |    John Wehle    |     Fax: 1-215-540-5495   
> |                         |
> -------------------------------------------------------------------------
>
>
> _______________________________________________
> 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

Brian West
sip:brian at freeswitch.org







More information about the FreeSWITCH-users mailing list