× Questions about G400/G410 Cards.

Hangup cause does not work properly on G400P

6 years 10 months ago #7655 by j_pok
Hello,
I need to refuse incoming call on G400P, similarly to what happens when you press the red button on the GSM phone when somebody calls you. The standard way to do this in asterisk is calling Hangup command with hangup cause parameter. I tried with outbound call and cause 19 is what is sent to asterisk from GSM network. But when I make inbound call and try to refuse it with any cause, it doesn't work properly and it just disconnects the call. So the caller doesn't know what happened. I have following setup:

/etc/asterisk/extra-channels.conf:
group=11
context=from-gsm
signalling = gsm
pin=1234
channel => 1
context = default
group = 63
extensions.ael:
context from-gsm {
        s => {
          Hangup(19);
        }
}
I am using following versions:
asterisk-1.6.2.20
chan_extra-1.2.1
dahdi-linux-complete-2.5.0.2+2.5.0.2
It is unfortunately not possible to let you ssh access the server.

Thanks.
6 years 10 months ago #7656 by Joe.Yung
Hi,
I am not sure if I completely understand your meaning.

Is it like this:

Caller makes an inbound call from his/her mobile phone/landline, at this time,if the called party doesn't receive the call, the caller should be got a voice message which is to explain why he/she can't receive the call. Like poweroff, busy, out of service etc.(this is standard method). But currently the G400P is unable to do like that, right? It always hangs up the calls and does not give any hints to the caller even adding the hangup cause application.

Am I right? If yes, probably we may edit our driver later for supporting this. And will let you know as soon as possible.

6 years 10 months ago #7657 by j_pok
Yes, that's exactly what I meant. Thanks.
3 months 3 weeks ago #12094 by ahayles
How do I go about solving this problem?
If I change context to from-pstn it works but with terrible call quality to the point where the system can not be used change back to from-gsm and call quality is perfect, but can not get incoming calls.
3 months 2 weeks ago #12098 by hua
Hello,

Please give us more details , you can send us your skype here we will add you and check it for you ASAP.

Best Regards
Upper.hua
3 months 2 weeks ago #12106 by ahayles
This is extra-channels.conf with context=from-gsm the audio quality coming in is good but can recieve no calls it hangs up, with context=from-pstn the audio quality coming in is poor sometimes can not hear but calls will come come in.
I am locked out of my skype account at the moment.
what other information you need?

;Autogenerated by /usr/sbin/dahdi_genconf on Mon May 19 03:08:04 2008
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_extra.conf)
;
; This is not intended to be a complete chan_extra.conf. Rather, it is intended
; to be #include-d by /etc/chan_extra.conf that will include the global settings
;

; Span 1: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" (MASTER)
group=11
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
;tty=off
anonymouscall=off
;atz_timeout=5
;vol=
;mic=
;band=
;dialprefix=
;pin=1234
channel => 1
context = default
group = 63

; Span 2: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0"
group=11
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
;tty=off
anonymouscall=off
;atz_timeout=5
;vol=
;mic=
;band=
;dialprefix=
;pin=1234
channel => 3
context = default
group = 63

; Span 3: opvxg4xx/0/3 "OpenVox G400P GSM/CDMA PCI Card 0"
group=11
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
;tty=off
anonymouscall=off
;atz_timeout=5
;vol=
;mic=
;band=
;dialprefix=
;pin=1234
channel => 5
context = default
group = 63

; Span 4: opvxg4xx/0/4 "OpenVox G400P GSM/CDMA PCI Card 0"
group=11
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
;tty=off
anonymouscall=off
;atz_timeout=5
;vol=
;mic=
;band=
;dialprefix=
;pin=1234
channel => 7
context = default
group = 63

; Span 5: opvxg4xx/1/1 "OpenVox G400P GSM/CDMA PCI Card 1"
group=11
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
;tty=off
anonymouscall=off
;atz_timeout=5
;vol=
;mic=
;band=
;dialprefix=
;pin=1234
channel => 9
context = default
group = 63

; Span 6: opvxg4xx/1/2 "OpenVox G400P GSM/CDMA PCI Card 1"
group=11
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
;tty=off
anonymouscall=off
;atz_timeout=5
;vol=
;mic=
;band=
;dialprefix=
;pin=1234
channel => 11
context = default
group = 63

; Span 7: opvxg4xx/1/3 "OpenVox G400P GSM/CDMA PCI Card 1"
group=11
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
;tty=off
anonymouscall=off
;atz_timeout=5
;vol=
;mic=
;band=
;dialprefix=
;pin=1234
channel => 13
context = default
group = 63

; Span 8: opvxg4xx/1/4 "OpenVox G400P GSM/CDMA PCI Card 1"
group=11
context=from-gsm
signalling = gsm
smscodec=utf-8
debugat=on
;tty=off
anonymouscall=off
;atz_timeout=5
;vol=
;mic=
;band=
;dialprefix=
;pin=1234
channel => 15
context = default
group = 63
Time to create page: 0.025 seconds
Powered by Kunena Forum