I have a Sangoma Card with two PRIs. They are both configured in Zaptel and Zapata;

 

In Zapata I have them separated in Group 1 and 2 but if I make a call and specify Zap/g2 it doesn’t go when calling Channels :

 

HERE IS what I get:

 

Accepting AUTHENTICATED call from x.x.x.x

  > requested format = speex,

       > requested prefs = (),

       > actual format = gsm,

       > host prefs = (ilbc|gsm),

       > priority = mine

    -- Executing Dial("IAX2/[EMAIL PROTECTED]", "Zap/g2/3337885836|100|T") in new stack

    -- Requested transfer capability: 0x00 - SPEECH

    -- Called g2/3337885836

    -- Channel 0/1, span 2 got hangup request

    -- Hungup 'Zap/32-1'

  == No one is available to answer at this time (1:0/0/0)

    -- Executing Hangup("IAX2/[EMAIL PROTECTED]", "") in new stack

  == Spawn extension (default, 3337885836, 2) exited non-zero on 'IAX2/[EMAIL PROTECTED]'

    -- Hungup 'IAX2/[EMAIL PROTECTED]'

 

 

Zapata.conf

 

[globals]

 

PRITRUNK1=Zap/g1

PRITRUNK2=Zap/g2

 

[default]

 

exten => _X.,1,Dial(${PRITRUNK2}/${EXTEN},100,T)

exten => _X.,2,Hangup

 

[firefly1]

exten => _X.,1,Dial(${PRITRUNK1}/${EXTEN},100,T)

exten => _X.,2,Hangup

 

Zaptel.conf:

 

span=1,0,0,ccs,hdb3,crc4

bchan=1-15

dchan=16

bchan=17-31

span=2,0,0,ccs,hdb3,crc4

bchan=32-46

dchan=47

bchan=48-61

 

 

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to