Asterisk doesn't pick up

Hey,

i have a problem with asterisk and google incoming calls.
Google outgoing works fine. Incoming Google calls are working find too if i pick them up with my Sip connected phone.
But if i don’t take the call with my Sip phone it goes back to google voicemail…
I added a voicemail to asterisk and created a trunk to directly transfer the incoming call to my asterisk voicemail, but it does not work, the line just keeps ringing… i can see that asterisk is trying to take the call in the logs… but keeps ringing…
any ideas?

sip.conf

[101]
deny=0.0.0.0/0.0.0.0
secret=mysecret
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/101
mailbox=101@default
permit=0.0.0.0/0.0.0.0
callerid=device <101>
callcounter=yes
faxdetect=no

extensions.conf

[gvoice-myusername]
exten => _X.,1,Dial(Gtalk/myusername/+${EXTEN}@voice.google.com)
exten => _X.,n,Noop(GVoice Call to ${EXTEN} failed)
exten => h,1,Macro(hangupcall,)

[googlein]
exten => myusername@gmail.com,1,Set(CALLERID(name)=${CUT(CALLERID(name),@,1)})
exten => myusername@gmail.com,n,GotoIf($["${CALLERID(name):0:2}" != "+1"]?notrim)
exten => myusername@gmail.com,n,Set(CALLERID(name)=${CALLERID(name):2})
exten => myusername@gmail.com,n(notrim),Set(CALLERID(number)=${CALLERID(name)})
exten => myusername@gmail.com,n,Answer
exten => myusername@gmail.com,n,Wait(1)
exten => myusername@gmail.com,n,SendDTMF(1)
exten => myusername@gmail.com,n,Goto(from-trunk,9414048221,1)
exten => h,1,Macro(hangupcall,)

jabber.conf

[general]
debug=no
autoprune=no
autoregister=yes


[myusername]
type=client
serverhost=talk.google.com
username=myusername@gmail.com/Talk
secret=mysecret
port=5222
usetls=yes
usesasl=yes
status=Available
statusmessage="No Information Available"
timeout=100
keepalive=yes

gtalk.conf

[general]
allowguest=yes
context=googlein
stunaddr=stun01.sipphone.com

[guest]
disallow=all
allow=ulaw
connection=asterisk
context=googlein

log

      > Saved useragent "CSipSimple" for peer 101
    -- Executing [myusername@gmail.com@googlein:1] Set("Gtalk/+1941538XXXX-1                                                                                                 dbb", "CALLERID(name)=+1941538XXXX") in new stack
    -- Executing [myusername@gmail.com@googlein:2] GotoIf("Gtalk/+1941538766                                                                                                 5-1dbb", "0?notrim") in new stack
    -- Executing [myusername@gmail.com@googlein:3] Set("Gtalk/+1941538XXXX-1                                                                                                 dbb", "CALLERID(name)=941538XXXX") in new stack
    -- Executing [myusername@gmail.com@googlein:4] Set("Gtalk/+1941538XXXX-1                                                                                                 dbb", "CALLERID(number)=941538XXXX") in new stack
    -- Executing [myusername@gmail.com@googlein:5] Goto("Gtalk/+1941538XXXX-                                                                                                 1dbb", "from-trunk,9414048221,1") in new stack
    -- Goto (from-trunk,9414048221,1)
    -- Executing [9414048221@from-trunk:1] NoOp("Gtalk/+1941538XXXX-1dbb", "Catc                                                                                                 h-All DID Match - Found 9414048221 - You probably want a DID for this.") in new                                                                                                  stack
    -- Executing [9414048221@from-trunk:2] Goto("Gtalk/+1941538XXXX-1dbb", "ext-                                                                                                 did,s,1") in new stack
    -- Goto (ext-did,s,1)
    -- Executing [s@ext-did:1] Set("Gtalk/+1941538XXXX-1dbb", "__FROM_DID=s") in                                                                                                  new stack
    -- Executing [s@ext-did:2] Gosub("Gtalk/+1941538XXXX-1dbb", "app-blacklist-c                                                                                                 heck,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("Gtalk/+1941538XXXX-1dbb", "0?                                                                                                 blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("Gtalk/+1941538XXXX-1dbb", "CALLE                                                                                                 D_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("Gtalk/+1941538XXXX-1dbb", "")                                                                                                  in new stack
    -- Executing [s@ext-did:3] ExecIf("Gtalk/+1941538XXXX-1dbb", "0 ?Set(CALLERI                                                                                                 D(name)=941538XXXX)") in new stack
    -- Executing [s@ext-did:4] Set("Gtalk/+1941538XXXX-1dbb", "__CALLINGPRES_SV=                                                                                                 allowed_not_screened") in new stack
    -- Executing [s@ext-did:5] Set("Gtalk/+1941538XXXX-1dbb", "CALLERPRES()=allo                                                                                                 wed_not_screened") in new stack
    -- Executing [s@ext-did:6] Goto("Gtalk/+1941538XXXX-1dbb", "ext-local,vmu101                                                                                                 ,1") in new stack
    -- Goto (ext-local,vmu101,1)
    -- Executing [vmu101@ext-local:1] Macro("Gtalk/+1941538XXXX-1dbb", "vm,101,N                                                                                                 OANSWER,") in new stack
    -- Executing [s@macro-vm:1] Macro("Gtalk/+1941538XXXX-1dbb", "user-callerid,                                                                                                 SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] Set("Gtalk/+1941538XXXX-1dbb", "AMPUS                                                                                                 ER=941538XXXX") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("Gtalk/+1941538XXXX-1dbb", "0?                                                                                                 report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("Gtalk/+1941538XXXX-1dbb", "1?                                                                                                 Set(REALCALLERIDNUM=941538XXXX)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("Gtalk/+1941538XXXX-1dbb", "AMPUS                                                                                                 ER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("Gtalk/+1941538XXXX-1dbb", "AMPUS                                                                                                 ERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("Gtalk/+1941538XXXX-1dbb", "1?                                                                                                 report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("Gtalk/+1941538XXXX-1dbb", "1                                                                                                 ?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("Gtalk/+1941538XXXX-1dbb", "CALL                                                                                                 ERID(number)=941538XXXX") in new stack
    -- Executing [s@macro-user-callerid:20] Set("Gtalk/+1941538XXXX-1dbb", "CALL                                                                                                 ERID(name)=941538XXXX") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("Gtalk/+1941538XXXX-1dbb", "Usi                                                                                                 ng CallerID "941538XXXX" <941538XXXX>") in new stack
    -- Executing [s@macro-vm:2] Set("Gtalk/+1941538XXXX-1dbb", "VMGAIN=""") in n                                                                                                 ew stack
    -- Executing [s@macro-vm:3] GotoIf("Gtalk/+1941538XXXX-1dbb", "1?vmx,1") in                                                                                                  new stack
    -- Goto (macro-vm,vmx,1)
    -- Executing [vmx@macro-vm:1] Set("Gtalk/+1941538XXXX-1dbb", "MEXTEN=101") i                                                                                                 n new stack
    -- Executing [vmx@macro-vm:2] Set("Gtalk/+1941538XXXX-1dbb", "MMODE=NOANSWER                                                                                                 ") in new stack
    -- Executing [vmx@macro-vm:3] Set("Gtalk/+1941538XXXX-1dbb", "RETVM=") in ne                                                                                                 w stack
    -- Executing [vmx@macro-vm:4] Set("Gtalk/+1941538XXXX-1dbb", "MODE=unavail")                                                                                                  in new stack
    -- Executing [vmx@macro-vm:5] GotoIf("Gtalk/+1941538XXXX-1dbb", "0?chknomsg"                                                                                                 ) in new stack
    -- Executing [vmx@macro-vm:6] Set("Gtalk/+1941538XXXX-1dbb", "VM_OPTS=") in                                                                                                  new stack
    -- Executing [vmx@macro-vm:7] GotoIf("Gtalk/+1941538XXXX-1dbb", "0?s-NOANSWE                                                                                                 R,1") in new stack
    -- Executing [vmx@macro-vm:8] GotoIf("Gtalk/+1941538XXXX-1dbb", "1?notdirect                                                                                                 ") in new stack
    -- Goto (macro-vm,vmx,10)
    -- Executing [vmx@macro-vm:10] NoOp("Gtalk/+1941538XXXX-1dbb", "Checking if                                                                                                  ext 101 is enabled: enabled") in new stack
    -- Executing [vmx@macro-vm:11] GotoIf("Gtalk/+1941538XXXX-1dbb", "0?s-NOANSW                                                                                                 ER,1") in new stack
    -- Executing [vmx@macro-vm:12] Macro("Gtalk/+1941538XXXX-1dbb", "get-vmconte                                                                                                 xt,101") in new stack
    -- Executing [s@macro-get-vmcontext:1] Set("Gtalk/+1941538XXXX-1dbb", "VMCON                                                                                                 TEXT=default") in new stack
    -- Executing [s@macro-get-vmcontext:2] GotoIf("Gtalk/+1941538XXXX-1dbb", "0?                                                                                                 200:300") in new stack
    -- Goto (macro-get-vmcontext,s,300)
    -- Executing [s@macro-get-vmcontext:300] NoOp("Gtalk/+1941538XXXX-1dbb", "")                                                                                                  in new stack
    -- Executing [vmx@macro-vm:13] GotoIf("Gtalk/+1941538XXXX-1dbb", "0?tmpgreet                                                                                                 ") in new stack
    -- Executing [vmx@macro-vm:14] GotoIf("Gtalk/+1941538XXXX-1dbb", "1?nofile")                                                                                                  in new stack
    -- Goto (macro-vm,vmx,66)
    -- Executing [vmx@macro-vm:66] NoOp("Gtalk/+1941538XXXX-1dbb", "File for mod                                                                                                 e: unavail does not exist, SYSTEMSTATUS: , going to normal voicemail") in new st                                                                                                 ack
    -- Executing [vmx@macro-vm:67] Goto("Gtalk/+1941538XXXX-1dbb", "s-NOANSWER,1                                                                                                 ") in new stack
    -- Goto (macro-vm,s-NOANSWER,1)
    -- Executing [s-NOANSWER@macro-vm:1] Macro("Gtalk/+1941538XXXX-1dbb", "get-v                                                                                                 mcontext,101") in new stack
    -- Executing [s@macro-get-vmcontext:1] Set("Gtalk/+1941538XXXX-1dbb", "VMCON                                                                                                 TEXT=default") in new stack
    -- Executing [s@macro-get-vmcontext:2] GotoIf("Gtalk/+1941538XXXX-1dbb", "0?                                                                                                 200:300") in new stack
    -- Goto (macro-get-vmcontext,s,300)
    -- Executing [s@macro-get-vmcontext:300] NoOp("Gtalk/+1941538XXXX-1dbb", "")                                                                                                  in new stack
    -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("Gtalk/+1941538XXXX-1dbb", "1                                                                                                 01@default,u""") in new stack
    -- <Gtalk/+1941538XXXX-1dbb> Playing 'vm-theperson.gsm' (language 'en')
    -- <Gtalk/+1941538XXXX-1dbb> Playing 'digits/1.gsm' (language 'en')
    -- <Gtalk/+1941538XXXX-1dbb> Playing 'digits/0.gsm' (language 'en')
    -- <Gtalk/+1941538XXXX-1dbb> Playing 'digits/1.gsm' (language 'en')
    -- <Gtalk/+1941538XXXX-1dbb> Playing 'vm-isunavail.gsm' (language 'en')
    -- <Gtalk/+1941538XXXX-1dbb> Playing 'vm-intro.gsm' (language 'en')
    -- <Gtalk/+1941538XXXX-1dbb> Playing 'beep.gsm' (language 'en')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/101/tmp/4ppD7T format: wav49, 0xb70d9880
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/101/tmp/4ppD7T format: gsm, 0xb70b1248
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/101/tmp/4ppD7T format: wav, 0xb6e61fc8
    -- User hung up
  == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'Gtalk/+1941538XXXX-1dbb' in macro 'vm'
  == Spawn extension (ext-local, vmu101, 1) exited non-zero on 'Gtalk/+1941538XXXX-1dbb'
    -- Executing [h@ext-local:1] Macro("Gtalk/+1941538XXXX-1dbb", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Gtalk/+1941538XXXX-1dbb", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("Gtalk/+1941538XXXX-1dbb", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("Gtalk/+1941538XXXX-1dbb", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("Gtalk/+1941538XXXX-1dbb", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Gtalk/+1941538XXXX-1dbb' in macro 'hangupcall'
  == Spawn extension (ext-local, h, 1) exited non-zero on 'Gtalk/+1941538XXXX-1dbb'

Are you a PBX in a Flash user?

See:
pbxinaflash.com/forum/showpo … stcount=17

oh sweet, i found the problem :smile:
had to add

to the voicemail macro in extensions.conf

[macro-get-vmcontext]
exten => s,1,Set(VMCONTEXT=${DB(AMPUSER/${ARG1}/voicemail)})
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n,SendDTMF(1)
exten => s,2,GotoIf($["foo${VMCONTEXT}" = "foo"]?200:300)
exten => s,200,Set(VMCONTEXT=default)
exten => s,300,NoOp()

now lets see if the IVR and the rest does work now too…

[quote=“malcolmd”]Are you a PBX in a Flash user?

See:
pbxinaflash.com/forum/showpo … stcount=17[/quote]

Thanks :smile: got that at the same time huh :smiley: i am using asterisk and freepbx

Hello guys, i got the same problem with my Google Voice account, “asterisk doesn’t pick up”, but i’m not too good yet using asterisk, i’m in my process of learning so i really could use your help in this matter.

I am using Asterisk 1.8.4.2 with FreePBX 2.9

This is my sip_additional.conf

[5709910] deny=0.0.0.0/0.0.0.0 secret=OSZ60nYnFpA dtmfmode=rfc2833 canreinvite=no context=from-internal host=dynamic trustrpid=yes sendrpid=no type=peer nat=yes port=5060 qualify=yes qualifyfreq=60 transport=udp encryption=no callgroup= pickupgroup= dial=SIP/5709910 mailbox=5709910@default permit=0.0.0.0/0.0.0.0 callerid=device <5709910> callcounter=yes faxdetect=no cc_monitor_policy=generic

This is my extensions_custom.conf

[code][googlein]
exten => username@gmail.com,1,Set(CALLERID(name)=${CUT(CALLERID(name),@,1)})
exten => username@gmail.com,n,GotoIf($["${CALLERID(name):0:2}" != “+1”]?notrim)
exten => username@gmail.com,n,Set(CALLERID(name)=${CALLERID(name):2})
exten => username@gmail.com,n(notrim),Set(CALLERID(number)=${CALLERID(name)})
exten => username@gmail.com,n,Answer
exten => username@gmail.com,n,Wait(8)
exten => username@gmail.com,n,SendDTMF(1)
exten => username@gmail.com,n,Goto(from-trunk,6463979211,1)
exten => h,1,Macro(hangupcall,)

[gvoice-username]
exten => _X.,1,Dial(Gtalk/username/+${EXTEN}@voice.google.com)
exten => _X.,n,Noop(GVoice Call to ${EXTEN} failed)
exten => h,1,Macro(hangupcall,)

[gvoice-username2]
exten => _X.,1,Dial(Gtalk/username2/+${EXTEN}@voice.google.com)
exten => _X.,n,Noop(GVoice Call to ${EXTEN} failed)
exten => h,1,Macro(hangupcall,)[/code]

This is my jabber.conf

[code][general]
debug=no
autoprune=no
autoregister=yes

[datelcogv1]
type=client
serverhost=talk.google.com
username=username@gmail.com/Talk
secret=password
port=5222
usetls=yes
usesasl=yes
status=Available
statusmessage="No Information Available"
timeout=100
keepalive=yes

[datelcogv2]
type=client
serverhost=talk.google.com
username=username2@gmail.com/Talk
secret=password
port=5222
usetls=yes
usesasl=yes
status=Available
statusmessage="No Information Available"
timeout=100
keepalive=yes[/code]

This is my gtalk.conf

[code][general]
allowguest=yes
context=googlein
stunaddr=stun01.sipphone.com

[guest]
disallow=all
allow=ulaw
connection=asterisk
context=googlein
[/code]

And this is the sip debug i made for the extension

[code]domU-12-31-39-02-1A-1C*CLI> sip set debug peer 5709910
SIP Debugging Enabled for IP: 186.81.82.245
Reliably Transmitting (NAT) to 186.81.82.245:5061:
OPTIONS sip:5709910@192.168.0.11:184 SIP/2.0
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK342434b4;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@ip_address;tag=as12457603
To: sip:5709910@192.168.0.11:184
Contact: sip:Unknown@ip_address:5060
Call-ID: 2e34094225d825315526f42f212aff00@ip_address:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.8.4.2)
Date: Sat, 18 Jun 2011 13:52:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


<— SIP read from UDP:186.81.82.245:5061 —>
SIP/2.0 200 OK
To: sip:5709910@192.168.0.11:184;tag=55e01060d0fd5f26i0
From: “Unknown” sip:Unknown@ip_address;tag=as12457603
Call-ID: 2e34094225d825315526f42f212aff00@ip_address:5060
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK342434b4
Server: Linksys/PAP2T-3.1.15(LS)
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura

<------------->
— (10 headers 0 lines) —
Really destroying SIP dialog ‘2e34094225d825315526f42f212aff00@ip_address:5060’ Method: OPTIONS

<— SIP read from UDP:186.81.82.245:5061 —>
NOTIFY sip:ip_address SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-73b0e1c
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33280 NOTIFY
Max-Forwards: 70
Event: keep-alive
User-Agent: Linksys/PAP2T-3.1.15(LS)
Proxy-Require: ip_address
Content-Length: 0

<------------->
— (11 headers 0 lines) —

<— Transmitting (NAT) to 186.81.82.245:5061 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-73b0e1c;received=186.81.82.245;rport=5061
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address;tag=as331b347b
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33280 NOTIFY
Server: FPBX-2.9.0(1.8.4.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘d18127c0-ecd02f46@192.168.0.11’ in 32000 ms (Method: NOTIFY)

<— SIP read from UDP:186.81.82.245:5061 —>
NOTIFY sip:ip_address SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-899cbb00
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33281 NOTIFY
Max-Forwards: 70
Event: keep-alive
User-Agent: Linksys/PAP2T-3.1.15(LS)
Proxy-Require: ip_address
Content-Length: 0

<------------->
— (11 headers 0 lines) —

<— Transmitting (NAT) to 186.81.82.245:5061 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-899cbb00;received=186.81.82.245;rport=5061
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address;tag=as331b347b
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33281 NOTIFY
Server: FPBX-2.9.0(1.8.4.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘d18127c0-ecd02f46@192.168.0.11’ in 32000 ms (Method: NOTIFY)
– Executing [username@gmail.com@googlein:1] Set(“Gtalk/+17607058888-8251”, “CALLERID(name)=+17607058888”) in new stack
– Executing [username@gmail.com@googlein:2] GotoIf(“Gtalk/+17607058888-8251”, “0?notrim”) in new stack
– Executing [username@gmail.com@googlein:3] Set(“Gtalk/+17607058888-8251”, “CALLERID(name)=7607058888”) in new stack
– Executing [username@gmail.com@googlein:4] Set(“Gtalk/+17607058888-8251”, “CALLERID(number)=7607058888”) in new stack
– Executing [username@gmail.com@googlein:5] Answer(“Gtalk/+17607058888-8251”, “”) in new stack
– Executing [username@gmail.com@googlein:6] Wait(“Gtalk/+17607058888-8251”, “1”) in new stack
– Executing [username@gmail.com@googlein:7] SendDTMF(“Gtalk/+17607058888-8251”, “1”) in new stack
– Executing [username@gmail.com@googlein:8] Goto(“Gtalk/+17607058888-8251”, “from-trunk,6463979211,1”) in new stack
– Goto (from-trunk,6463979211,1)
– Executing [6463979211@from-trunk:1] Set(“Gtalk/+17607058888-8251”, “__FROM_DID=6463979211”) in new stack
– Executing [6463979211@from-trunk:2] Gosub(“Gtalk/+17607058888-8251”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“Gtalk/+17607058888-8251”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“Gtalk/+17607058888-8251”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“Gtalk/+17607058888-8251”, “”) in new stack
– Executing [6463979211@from-trunk:3] ExecIf(“Gtalk/+17607058888-8251”, “0 ?Set(CALLERID(name)=7607058888)”) in new stack
– Executing [6463979211@from-trunk:4] Set(“Gtalk/+17607058888-8251”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [6463979211@from-trunk:5] Set(“Gtalk/+17607058888-8251”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [6463979211@from-trunk:6] Goto(“Gtalk/+17607058888-8251”, “from-did-direct,5709910,1”) in new stack
– Goto (from-did-direct,5709910,1)
– Executing [5709910@from-did-direct:1] GotoIf(“Gtalk/+17607058888-8251”, “0?ext-local,5709910,1”) in new stack
– Executing [5709910@from-did-direct:2] Macro(“Gtalk/+17607058888-8251”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“Gtalk/+17607058888-8251”, “AMPUSER=7607058888”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“Gtalk/+17607058888-8251”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“Gtalk/+17607058888-8251”, “1?Set(REALCALLERIDNUM=7607058888)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“Gtalk/+17607058888-8251”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“Gtalk/+17607058888-8251”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“Gtalk/+17607058888-8251”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] GotoIf(“Gtalk/+17607058888-8251”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:14] Set(“Gtalk/+17607058888-8251”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:15] GotoIf(“Gtalk/+17607058888-8251”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,26)
– Executing [s@macro-user-callerid:26] Set(“Gtalk/+17607058888-8251”, “CALLERID(number)=7607058888”) in new stack
– Executing [s@macro-user-callerid:27] Set(“Gtalk/+17607058888-8251”, “CALLERID(name)=7607058888”) in new stack
– Executing [s@macro-user-callerid:28] Set(“Gtalk/+17607058888-8251”, “CHANNEL(language)=en”) in new stack
– Executing [5709910@from-did-direct:3] Set(“Gtalk/+17607058888-8251”, “__EXTTOCALL=5709910”) in new stack
– Executing [5709910@from-did-direct:4] Set(“Gtalk/+17607058888-8251”, “__PICKUPMARK=5709910”) in new stack
– Executing [5709910@from-did-direct:5] Macro(“Gtalk/+17607058888-8251”, “blkvm-setifempty,”) in new stack
– Executing [s@macro-blkvm-setifempty:1] GotoIf(“Gtalk/+17607058888-8251”, “1?init”) in new stack
– Goto (macro-blkvm-setifempty,s,4)
– Executing [s@macro-blkvm-setifempty:4] Set(“Gtalk/+17607058888-8251”, “__BLKVM_CHANNEL=Gtalk/+17607058888-8251”) in new stack
– Executing [s@macro-blkvm-setifempty:5] Set(“Gtalk/+17607058888-8251”, “SHARED(BLKVM,Gtalk/+17607058888-8251)=TRUE”) in new stack
– Executing [s@macro-blkvm-setifempty:6] Set(“Gtalk/+17607058888-8251”, “GOSUB_RETVAL=TRUE”) in new stack
– Executing [s@macro-blkvm-setifempty:7] MacroExit(“Gtalk/+17607058888-8251”, “”) in new stack
– Executing [5709910@from-did-direct:6] GotoIf(“Gtalk/+17607058888-8251”, “1?skipov”) in new stack
– Goto (from-did-direct,5709910,9)
– Executing [5709910@from-did-direct:9] Set(“Gtalk/+17607058888-8251”, “RRNODEST=”) in new stack
– Executing [5709910@from-did-direct:10] Set(“Gtalk/+17607058888-8251”, “__NODEST=5709910”) in new stack
– Executing [5709910@from-did-direct:11] GosubIf(“Gtalk/+17607058888-8251”, “0?sub-fmsetcid,s,1”) in new stack
– Executing [5709910@from-did-direct:12] Set(“Gtalk/+17607058888-8251”, “RecordMethod=Group”) in new stack
– Executing [5709910@from-did-direct:13] Macro(“Gtalk/+17607058888-8251”, “record-enable,5709815-5709910,Group”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“Gtalk/+17607058888-8251”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] ExecIf(“Gtalk/+17607058888-8251”, “0?MacroExit()”) in new stack
– Executing [s@macro-record-enable:5] GotoIf(“Gtalk/+17607058888-8251”, “1?Group:OUT”) in new stack
– Goto (macro-record-enable,s,6)
– Executing [s@macro-record-enable:6] Set(“Gtalk/+17607058888-8251”, “LOOPCNT=2”) in new stack
– Executing [s@macro-record-enable:7] Set(“Gtalk/+17607058888-8251”, “ITER=1”) in new stack
– Executing [s@macro-record-enable:8] GotoIf(“Gtalk/+17607058888-8251”, “1?continue”) in new stack
– Goto (macro-record-enable,s,12)
– Executing [s@macro-record-enable:12] Set(“Gtalk/+17607058888-8251”, “ITER=2”) in new stack
– Executing [s@macro-record-enable:13] GotoIf(“Gtalk/+17607058888-8251”, “1?begin”) in new stack
– Goto (macro-record-enable,s,8)
– Executing [s@macro-record-enable:8] GotoIf(“Gtalk/+17607058888-8251”, “1?continue”) in new stack
– Goto (macro-record-enable,s,12)
– Executing [s@macro-record-enable:12] Set(“Gtalk/+17607058888-8251”, “ITER=3”) in new stack
– Executing [s@macro-record-enable:13] GotoIf(“Gtalk/+17607058888-8251”, “0?begin”) in new stack
– Executing [s@macro-record-enable:14] GotoIf(“Gtalk/+17607058888-8251”, “0?IN”) in new stack
– Executing [s@macro-record-enable:15] ExecIf(“Gtalk/+17607058888-8251”, “1?MacroExit()”) in new stack
– Executing [5709910@from-did-direct:14] Set(“Gtalk/+17607058888-8251”, “RingGroupMethod=ringallv2”) in new stack
– Executing [5709910@from-did-direct:15] Set(“Gtalk/+17607058888-8251”, “_FMGRP=5709910”) in new stack
– Executing [5709910@from-did-direct:16] GotoIf(“Gtalk/+17607058888-8251”, “0?doconfirm”) in new stack
– Executing [5709910@from-did-direct:17] Macro(“Gtalk/+17607058888-8251”, “dial,50,5709815”) in new stack
– Executing [s@macro-dial:1] GotoIf(“Gtalk/+17607058888-8251”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“Gtalk/+17607058888-8251”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘7607058888’ number is ‘7607058888’
> dialparties.agi: USE_CONFIRMATION: ‘FALSE’
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘ringallv2’
– dialparties.agi: Added extension 5709815 to extension map
> dialparties.agi: got fmgrp_prering: 25, fmgrp_grptime: 25
> dialparties.agi: fmgrp_totalprering: 50
> dialparties.agi: extension not in group list, ringing only during prering time
> dialparties.agi: ringallv2 ring times: REALPRERING: 25, PRERING: 25
> dialparties.agi: Extension 5709815 has call screening off
– dialparties.agi: Extension 5709910 cf is disabled
– dialparties.agi: Extension 5709815 cf is disabled
– dialparties.agi: Extension 5709910 do not disturb is disabled
– dialparties.agi: Extension 5709815 do not disturb is disabled
> dialparties.agi: extnum 5709910 has: cw: 1; hascfb: 0 [] hascfu: 0 []
– dialparties.agi: dbset CALLTRACE/5709910 to 7607058888
> dialparties.agi: extnum 5709815 has: cw: 1; hascfb: 0 [] hascfu: 0 []
– dialparties.agi: dbset CALLTRACE/5709815 to 7607058888
– dialparties.agi: Filtered ARG3: 5709910-5709815
> dialparties.agi: NODEST: 5709910 adding M(auto-blkvm) to dialopts: M(auto-blkvm)
> dialparties.agi: FMUNIQUE: Gtalk/+17607058888-8251, FMRERING: 23, FMREALPRERING: 25, FMGRPTIME: 25
> dialparties.agi: NODEST: 5709910 blkvm enabled macro already in dialopts: M(auto-blkvm)
– <Gtalk/+17607058888-8251>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“Gtalk/+17607058888-8251”, “Local/FMPR-5709910@from-internal&Local/FMGL-5709815@from-internal,50,M(auto-blkvm)”) in new stack
– Called FMPR-5709910@from-internal
– Called FMGL-5709815@from-internal
– Executing [FMGL-5709815@from-internal:1] Set(“Local/FMGL-5709815@from-internal-522b;2”, “ENDLOOP=1308405177”) in new stack
– Executing [FMGL-5709815@from-internal:2] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “0?dodnd”) in new stack
– Executing [FMGL-5709815@from-internal:3] Wait(“Local/FMGL-5709815@from-internal-522b;2”, “1”) in new stack
– Executing [FMPR-5709910@from-internal:1] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “RingGroupMethod=”) in new stack
– Executing [FMPR-5709910@from-internal:2] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “USE_CONFIRMATION=”) in new stack
– Executing [FMPR-5709910@from-internal:3] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “RINGGROUP_INDEX=”) in new stack
– Executing [FMPR-5709910@from-internal:4] Macro(“Local/FMPR-5709910@from-internal-a1b8;2”, “simple-dial,5709910,25”) in new stack
– Executing [s@macro-simple-dial:1] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “__EXTTOCALL=5709910”) in new stack
– Executing [s@macro-simple-dial:2] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “RT=25”) in new stack
– Executing [s@macro-simple-dial:3] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “CFUEXT=”) in new stack
– Executing [s@macro-simple-dial:4] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “CFBEXT=”) in new stack
– Executing [s@macro-simple-dial:5] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “CWI_TMP=”) in new stack
– Executing [s@macro-simple-dial:6] Macro(“Local/FMPR-5709910@from-internal-a1b8;2”, “dial-one,25,5709910”) in new stack
– Executing [s@macro-dial-one:1] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “DEXTEN=5709910”) in new stack
– Executing [s@macro-dial-one:2] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:3] GosubIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?screen,1”) in new stack
– Executing [s@macro-dial-one:4] GosubIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?cf,1”) in new stack
– Executing [s@macro-dial-one:5] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,8)
– Executing [s@macro-dial-one:8] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:9] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?continue”) in new stack
– Executing [s@macro-dial-one:10] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “EXTHASCW=ENABLED”) in new stack
– Executing [s@macro-dial-one:11] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,23)
– Executing [s@macro-dial-one:23] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “1?next3:continue”) in new stack
– Goto (macro-dial-one,s,24)
– Executing [s@macro-dial-one:24] ExecIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?Set(DIALSTATUS_CW=BUSY)”) in new stack
– Executing [s@macro-dial-one:25] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:26] GosubIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “1?dstring,1:dlocal,1”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “DEVICES=5709910”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?Set(DEVICES=709814)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “THISDIAL=SIP/5709910”) in new stack
– Executing [dstring@macro-dial-one:8] GosubIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “1?zap2dahdi,1”) in new stack
– Executing [zap2dahdi@macro-dial-one:1] ExecIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?Return()”) in new stack
– Executing [zap2dahdi@macro-dial-one:2] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “NEWDIAL=”) in new stack
– Executing [zap2dahdi@macro-dial-one:3] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “LOOPCNT2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:4] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “ITER2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:5] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “THISPART2=SIP/5709910”) in new stack
– Executing [zap2dahdi@macro-dial-one:6] ExecIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?Set(THISPART2=DAHDI/5709910)”) in new stack
– Executing [zap2dahdi@macro-dial-one:7] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “NEWDIAL=SIP/5709910&”) in new stack
– Executing [zap2dahdi@macro-dial-one:8] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “ITER2=2”) in new stack
– Executing [zap2dahdi@macro-dial-one:9] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?begin2”) in new stack
– Executing [zap2dahdi@macro-dial-one:10] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “THISDIAL=SIP/5709910”) in new stack
– Executing [zap2dahdi@macro-dial-one:11] Return(“Local/FMPR-5709910@from-internal-a1b8;2”, “”) in new stack
– Executing [dstring@macro-dial-one:9] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “DSTRING=SIP/5709910&”) in new stack
– Executing [dstring@macro-dial-one:10] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:11] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:12] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “DSTRING=SIP/5709910”) in new stack
– Executing [dstring@macro-dial-one:13] Return(“Local/FMPR-5709910@from-internal-a1b8;2”, “”) in new stack
– Executing [s@macro-dial-one:27] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:28] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “1?skiptrace”) in new stack
– Goto (macro-dial-one,s,30)
– Executing [s@macro-dial-one:30] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “D_OPTIONS=M(auto-blkvm)”) in new stack
– Executing [s@macro-dial-one:31] ExecIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?SIPAddHeader(Alert-Info: )”) in new stack
– Executing [s@macro-dial-one:32] ExecIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?SIPAddHeader()”) in new stack
– Executing [s@macro-dial-one:33] ExecIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:34] GosubIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?qwait,1”) in new stack
– Executing [s@macro-dial-one:35] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:36] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:37] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?usegoto,1”) in new stack
– Executing [s@macro-dial-one:38] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “0?godial”) in new stack
– Executing [s@macro-dial-one:39] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “CONNECTEDLINE(name,i)=David Gomez”) in new stack
– Executing [s@macro-dial-one:40] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “CONNECTEDLINE(num)=5709910”) in new stack
– Local/FMPR-5709910@from-internal-a1b8;1 connected line has changed. Saving it until answer for Gtalk/+17607058888-8251
– Executing [s@macro-dial-one:41] Set(“Local/FMPR-5709910@from-internal-a1b8;2”, “D_OPTIONS=M(auto-blkvm)I”) in new stack
– Executing [s@macro-dial-one:42] Dial(“Local/FMPR-5709910@from-internal-a1b8;2”, “SIP/5709910,25,M(auto-blkvm)I”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Audio is at 5060
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 186.81.82.245:5061:
INVITE sip:5709910@192.168.0.11:184 SIP/2.0
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK6ee3a184;rport
Max-Forwards: 70
From: “7607058888” sip:7607058888@ip_address;tag=as52e42dee
To: sip:5709910@192.168.0.11:184
Contact: sip:7607058888@ip_address:5060
Call-ID: 60bc6a947112b8337f852b164ca43630@ip_address:5060
CSeq: 102 INVITE
User-Agent: FPBX-2.9.0(1.8.4.2)
Date: Sat, 18 Jun 2011 13:52:32 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 283

v=0
o=root 755449068 755449068 IN IP4 ip_address
s=Asterisk PBX 1.8.4.2
c=IN IP4 ip_address
t=0 0
m=audio 19100 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv


-- Called 5709910

<— SIP read from UDP:186.81.82.245:5061 —>
SIP/2.0 100 Trying
To: sip:5709910@192.168.0.11:184
From: “7607058888” sip:7607058888@ip_address;tag=as52e42dee
Call-ID: 60bc6a947112b8337f852b164ca43630@ip_address:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK6ee3a184
Server: Linksys/PAP2T-3.1.15(LS)
Content-Length: 0

<------------->
— (8 headers 0 lines) —

<— SIP read from UDP:186.81.82.245:5061 —>
SIP/2.0 180 Ringing
To: sip:5709910@192.168.0.11:184;tag=119a57aff4a64acci0
From: “7607058888” sip:7607058888@ip_address;tag=as52e42dee
Call-ID: 60bc6a947112b8337f852b164ca43630@ip_address:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK6ee3a184
Server: Linksys/PAP2T-3.1.15(LS)
Content-Length: 0

<------------->
— (8 headers 0 lines) —
– SIP/5709910-00000015 is ringing
– Local/FMPR-5709910@from-internal-a1b8;1 is ringing
– Executing [FMGL-5709815@from-internal:4] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “1?start”) in new stack
– Goto (from-internal,FMGL-5709815,2)
– Executing [FMGL-5709815@from-internal:2] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “0?dodnd”) in new stack
– Executing [FMGL-5709815@from-internal:3] Wait(“Local/FMGL-5709815@from-internal-522b;2”, “1”) in new stack
– Executing [FMGL-5709815@from-internal:4] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “1?start”) in new stack
– Goto (from-internal,FMGL-5709815,2)
– Executing [FMGL-5709815@from-internal:2] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “0?dodnd”) in new stack
– Executing [FMGL-5709815@from-internal:3] Wait(“Local/FMGL-5709815@from-internal-522b;2”, “1”) in new stack
– Executing [FMGL-5709815@from-internal:4] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “1?start”) in new stack
– Goto (from-internal,FMGL-5709815,2)
– Executing [FMGL-5709815@from-internal:2] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “0?dodnd”) in new stack
– Executing [FMGL-5709815@from-internal:3] Wait(“Local/FMGL-5709815@from-internal-522b;2”, “1”) in new stack
– Executing [FMGL-5709815@from-internal:4] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “1?start”) in new stack
– Goto (from-internal,FMGL-5709815,2)
– Executing [FMGL-5709815@from-internal:2] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “0?dodnd”) in new stack
– Executing [FMGL-5709815@from-internal:3] Wait(“Local/FMGL-5709815@from-internal-522b;2”, “1”) in new stack

<— SIP read from UDP:186.81.82.245:5061 —>
NOTIFY sip:ip_address SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-878660a9
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33282 NOTIFY
Max-Forwards: 70
Event: keep-alive
User-Agent: Linksys/PAP2T-3.1.15(LS)
Proxy-Require: ip_address
Content-Length: 0

<------------->
— (11 headers 0 lines) —

<— Transmitting (NAT) to 186.81.82.245:5061 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-878660a9;received=186.81.82.245;rport=5061
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address;tag=as331b347b
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33282 NOTIFY
Server: FPBX-2.9.0(1.8.4.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘d18127c0-ecd02f46@192.168.0.11’ in 32000 ms (Method: NOTIFY)
– Executing [FMGL-5709815@from-internal:4] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “1?start”) in new stack
– Goto (from-internal,FMGL-5709815,2)
– Executing [FMGL-5709815@from-internal:2] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “0?dodnd”) in new stack
– Executing [FMGL-5709815@from-internal:3] Wait(“Local/FMGL-5709815@from-internal-522b;2”, “1”) in new stack
– Executing [FMGL-5709815@from-internal:4] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “1?start”) in new stack
– Goto (from-internal,FMGL-5709815,2)
– Executing [FMGL-5709815@from-internal:2] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “0?dodnd”) in new stack
– Executing [FMGL-5709815@from-internal:3] Wait(“Local/FMGL-5709815@from-internal-522b;2”, “1”) in new stack
– Executing [FMGL-5709815@from-internal:4] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “1?start”) in new stack
– Goto (from-internal,FMGL-5709815,2)
– Executing [FMGL-5709815@from-internal:2] GotoIf(“Local/FMGL-5709815@from-internal-522b;2”, “0?dodnd”) in new stack
– Executing [FMGL-5709815@from-internal:3] Wait(“Local/FMGL-5709815@from-internal-522b;2”, “1”) in new stack

<— SIP read from UDP:186.81.82.245:5061 —>
SIP/2.0 200 OK
To: sip:5709910@192.168.0.11:184;tag=119a57aff4a64acci0
From: “7607058888” sip:7607058888@ip_address;tag=as52e42dee
Call-ID: 60bc6a947112b8337f852b164ca43630@ip_address:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK6ee3a184
Contact: David Gomez sip:5709910@192.168.0.11:184
Server: Linksys/PAP2T-3.1.15(LS)
Content-Length: 257
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura
Content-Type: application/sdp

v=0
o=- 50504752 50504752 IN IP4 192.168.0.11
s=-
c=IN IP4 192.168.0.11
t=0 0
m=audio 16442 RTP/AVP 0 100 101
a=rtpmap:0 PCMU/8000
a=rtpmap:100 NSE/8000
a=fmtp:100 192-193
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
<------------->
— (12 headers 13 lines) —
Found RTP audio format 0
Found RTP audio format 100
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format NSE for ID 100
Found audio description format telephone-event for ID 101
Capabilities: us - 0xe (gsm|ulaw|alaw), peer - audio=0x4 (ulaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 192.168.0.11:16442
list_route: hop: sip:5709910@192.168.0.11:184
set_destination: Parsing sip:5709910@192.168.0.11:184 for address/port to send to
set_destination: set destination to 192.168.0.11:184
Transmitting (NAT) to 186.81.82.245:5061:
ACK sip:5709910@192.168.0.11:184 SIP/2.0
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK6cc450e6;rport
Max-Forwards: 70
From: “7607058888” sip:7607058888@ip_address;tag=as52e42dee
To: sip:5709910@192.168.0.11:184;tag=119a57aff4a64acci0
Contact: sip:7607058888@ip_address:5060
Call-ID: 60bc6a947112b8337f852b164ca43630@ip_address:5060
CSeq: 102 ACK
User-Agent: FPBX-2.9.0(1.8.4.2)
Content-Length: 0


-- Connected line update to Local/FMPR-5709910@from-internal-a1b8;2 prevented.
-- SIP/5709910-00000015 answered Local/FMPR-5709910@from-internal-a1b8;2
-- Executing [s@macro-auto-blkvm:1] Set("SIP/5709910-00000015", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] Macro("SIP/5709910-00000015", "blkvm-clr,") in new stack
-- Executing [s@macro-blkvm-clr:1] Set("SIP/5709910-00000015", "SHARED(BLKVM,Gtalk/+17607058888-8251)=") in new stack
-- Executing [s@macro-blkvm-clr:2] Set("SIP/5709910-00000015", "GOSUB_RETVAL=") in new stack
-- Executing [s@macro-blkvm-clr:3] MacroExit("SIP/5709910-00000015", "") in new stack
-- Executing [s@macro-auto-blkvm:3] Set("SIP/5709910-00000015", "MASTER_CHANNEL(CONNECTEDLINE(num))=5709910") in new stack
-- Executing [s@macro-auto-blkvm:4] Set("SIP/5709910-00000015", "MASTER_CHANNEL(CONNECTEDLINE(name))=David Gomez") in new stack
-- Local/FMPR-5709910@from-internal-a1b8;1 answered Gtalk/+17607058888-8251

== Spawn extension (from-internal, FMGL-5709815, 3) exited non-zero on ‘Local/FMGL-5709815@from-internal-522b;2’
– Executing [h@from-internal:1] Hangup(“Local/FMGL-5709815@from-internal-522b;2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/FMGL-5709815@from-internal-522b;2’
– Executing [s@macro-auto-blkvm:1] Set(“Local/FMPR-5709910@from-internal-a1b8;1”, “__MACRO_RESULT=”) in new stack
– Executing [s@macro-auto-blkvm:2] Macro(“Local/FMPR-5709910@from-internal-a1b8;1”, “blkvm-clr,”) in new stack
– Executing [s@macro-blkvm-clr:1] Set(“Local/FMPR-5709910@from-internal-a1b8;1”, “SHARED(BLKVM,Gtalk/+17607058888-8251)=”) in new stack
– Executing [s@macro-blkvm-clr:2] Set(“Local/FMPR-5709910@from-internal-a1b8;1”, “GOSUB_RETVAL=”) in new stack
– Executing [s@macro-blkvm-clr:3] MacroExit(“Local/FMPR-5709910@from-internal-a1b8;1”, “”) in new stack
– Executing [s@macro-auto-blkvm:3] Set(“Local/FMPR-5709910@from-internal-a1b8;1”, “MASTER_CHANNEL(CONNECTEDLINE(num))=FMPR-5709910@from-internal”) in new stack
– Executing [s@macro-auto-blkvm:4] Set(“Local/FMPR-5709910@from-internal-a1b8;1”, “MASTER_CHANNEL(CONNECTEDLINE(name))=”) in new stack
– Executing [h@macro-dial-one:1] Macro(“Local/FMPR-5709910@from-internal-a1b8;2”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“Local/FMPR-5709910@from-internal-a1b8;2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] Hangup(“Local/FMPR-5709910@from-internal-a1b8;2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘Local/FMPR-5709910@from-internal-a1b8;2’ in macro ‘hangupcall’
== Spawn extension (macro-dial-one, s, 42) exited non-zero on ‘Local/FMPR-5709910@from-internal-a1b8;2’ in macro ‘dial-one’
== Spawn extension (macro-simple-dial, s, 6) exited non-zero on ‘Local/FMPR-5709910@from-internal-a1b8;2’ in macro ‘simple-dial’
== Spawn extension (from-internal, FMPR-5709910, 4) exited non-zero on ‘Local/FMPR-5709910@from-internal-a1b8;2’

<— SIP read from UDP:186.81.82.245:5061 —>
NOTIFY sip:ip_address SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-9fc4da7
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33283 NOTIFY
Max-Forwards: 70
Event: keep-alive
User-Agent: Linksys/PAP2T-3.1.15(LS)
Proxy-Require: ip_address
Content-Length: 0

<------------->
— (11 headers 0 lines) —

<— Transmitting (NAT) to 186.81.82.245:5061 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-9fc4da7;received=186.81.82.245;rport=5061
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address;tag=as331b347b
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33283 NOTIFY
Server: FPBX-2.9.0(1.8.4.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘d18127c0-ecd02f46@192.168.0.11’ in 32000 ms (Method: NOTIFY)
– Executing [h@macro-dial:1] Macro(“Gtalk/+17607058888-8251”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“Gtalk/+17607058888-8251”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] Hangup(“Gtalk/+17607058888-8251”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘Gtalk/+17607058888-8251’ in macro 'hangupcall’
Scheduling destruction of SIP dialog ‘60bc6a947112b8337f852b164ca43630@ip_address:5060’ in 8448 ms (Method: INVITE)
set_destination: Parsing sip:5709910@192.168.0.11:184 for address/port to send to
set_destination: set destination to 192.168.0.11:184
Reliably Transmitting (NAT) to 186.81.82.245:5061:
BYE sip:5709910@192.168.0.11:184 SIP/2.0
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK3fbbdc8e;rport
Max-Forwards: 70
From: “7607058888” sip:7607058888@ip_address;tag=as52e42dee
To: sip:5709910@192.168.0.11:184;tag=119a57aff4a64acci0
Call-ID: 60bc6a947112b8337f852b164ca43630@ip_address:5060
CSeq: 103 BYE
User-Agent: FPBX-2.9.0(1.8.4.2)
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


== Spawn extension (macro-dial, s, 7) exited non-zero on ‘Gtalk/+17607058888-8251’ in macro ‘dial’
== Spawn extension (from-did-direct, 5709910, 17) exited non-zero on 'Gtalk/+17607058888-8251’
Retransmitting #1 (NAT) to 186.81.82.245:5061:
BYE sip:5709910@192.168.0.11:184 SIP/2.0
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK3fbbdc8e;rport
Max-Forwards: 70
From: “7607058888” sip:7607058888@ip_address;tag=as52e42dee
To: sip:5709910@192.168.0.11:184;tag=119a57aff4a64acci0
Call-ID: 60bc6a947112b8337f852b164ca43630@ip_address:5060
CSeq: 103 BYE
User-Agent: FPBX-2.9.0(1.8.4.2)
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


<— SIP read from UDP:186.81.82.245:5061 —>
SIP/2.0 200 OK
To: sip:5709910@192.168.0.11:184;tag=119a57aff4a64acci0
From: “7607058888” sip:7607058888@ip_address;tag=as52e42dee
Call-ID: 60bc6a947112b8337f852b164ca43630@ip_address:5060
CSeq: 103 BYE
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK3fbbdc8e
Server: Linksys/PAP2T-3.1.15(LS)
Content-Length: 0

<------------->
— (8 headers 0 lines) —
Really destroying SIP dialog ‘60bc6a947112b8337f852b164ca43630@ip_address:5060’ Method: INVITE

<— SIP read from UDP:186.81.82.245:5061 —>
SIP/2.0 200 OK
To: sip:5709910@192.168.0.11:184;tag=119a57aff4a64acci0
From: “7607058888” sip:7607058888@ip_address;tag=as52e42dee
Call-ID: 60bc6a947112b8337f852b164ca43630@ip_address:5060
CSeq: 103 BYE
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK3fbbdc8e
Server: Linksys/PAP2T-3.1.15(LS)
Content-Length: 0

<------------->
— (8 headers 0 lines) —
Reliably Transmitting (NAT) to 186.81.82.245:5061:
OPTIONS sip:5709910@192.168.0.11:184 SIP/2.0
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK0911a39a;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@ip_address;tag=as599bc504
To: sip:5709910@192.168.0.11:184
Contact: sip:Unknown@ip_address:5060
Call-ID: 0701bb2b72e03a7a2cd3955f5a3f91ca@ip_address:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.8.4.2)
Date: Sat, 18 Jun 2011 13:53:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0


<— SIP read from UDP:186.81.82.245:5061 —>
SIP/2.0 200 OK
To: sip:5709910@192.168.0.11:184;tag=55e01060d0fd5f26i0
From: “Unknown” sip:Unknown@ip_address;tag=as599bc504
Call-ID: 0701bb2b72e03a7a2cd3955f5a3f91ca@ip_address:5060
CSeq: 102 OPTIONS
Via: SIP/2.0/UDP ip_address:5060;branch=z9hG4bK0911a39a
Server: Linksys/PAP2T-3.1.15(LS)
Content-Length: 0
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Supported: x-sipura

<------------->
— (10 headers 0 lines) —
Really destroying SIP dialog ‘0701bb2b72e03a7a2cd3955f5a3f91ca@ip_address:5060’ Method: OPTIONS

<— SIP read from UDP:186.81.82.245:5061 —>
NOTIFY sip:ip_address SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-b6601aa9
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33284 NOTIFY
Max-Forwards: 70
Event: keep-alive
User-Agent: Linksys/PAP2T-3.1.15(LS)
Proxy-Require: ip_address
Content-Length: 0

<------------->
— (11 headers 0 lines) —

<— Transmitting (NAT) to 186.81.82.245:5061 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-b6601aa9;received=186.81.82.245;rport=5061
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address;tag=as331b347b
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33284 NOTIFY
Server: FPBX-2.9.0(1.8.4.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘d18127c0-ecd02f46@192.168.0.11’ in 32000 ms (Method: NOTIFY)
domU-12-31-39-02-1A-1C*CLI> sip set debug
ip
off
on
peer

<— SIP read from UDP:186.81.82.245:5061 —>
NOTIFY sip:ip_address SIP/2.0
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-2d5de777
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33285 NOTIFY
Max-Forwards: 70
Event: keep-alive
User-Agent: Linksys/PAP2T-3.1.15(LS)
Proxy-Require: ip_address
Content-Length: 0

<------------->
— (11 headers 0 lines) —

<— Transmitting (NAT) to 186.81.82.245:5061 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.11:5061;branch=z9hG4bK-2d5de777;received=186.81.82.245;rport=5061
From: David Gomez sip:5709910@ip_address;tag=e787ef1849c4fceo0
To: sip:ip_address;tag=as331b347b
Call-ID: d18127c0-ecd02f46@192.168.0.11
CSeq: 33285 NOTIFY
Server: FPBX-2.9.0(1.8.4.2)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
Scheduling destruction of SIP dialog ‘d18127c0-ecd02f46@192.168.0.11’ in 32000 ms (Method: NOTIFY)[/code]

I want to deeply thank you for any help you guys can provide me.

Fixed!

I changed this line:

For this one at [googlein] context in extensions_custom.conf

And changed this line:

For these lines in gtalk.conf

bindaddr=xxx.xxx.xxx.xxx ;internal ip externip=xxx.xxx.xxx.xxx ;external or public ip

After that, all i had to do was core restart now and everything start working like it was supposed to.