Re: [asterisk-users] asterisk stun setup , not using public ip returned by stun server

2014-10-13 Thread chandapure shiva
yes i did sip reload, then checked the sip packects.

but problem exists.

On Tue, Oct 14, 2014 at 11:59 AM, Jeremy Kister <
asterisk...@jeremykister.com> wrote:

> On 10/14/2014 2:25 AM, chandapure shiva wrote:
>
>> I have  put  nat =force_rport,comedia in general section , but still not
>> working .
>>
>
> I hate to ask, but did you reload sip afterwards?  asterisk -rx 'sip
> reload'
>
>
> --
>
> Jeremy Kister
> http://jeremy.kister.net./
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] asterisk stun setup , not using public ip returned by stun server

2014-10-13 Thread Jeremy Kister

On 10/14/2014 2:25 AM, chandapure shiva wrote:

I have  put  nat =force_rport,comedia in general section , but still not
working .


I hate to ask, but did you reload sip afterwards?  asterisk -rx 'sip reload'

--

Jeremy Kister
http://jeremy.kister.net./



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] asterisk stun setup , not using public ip returned by stun server

2014-10-13 Thread chandapure shiva
Thanks for your reply..

I have  put  nat =force_rport,comedia in general section , but still not
working .

On Tue, Oct 14, 2014 at 9:45 AM, Jeremy Kister  wrote:

> On 10/13/2014 2:50 AM, chandapure shiva wrote:
>
>> In above packet VIA and CONTACT SIP-HEADERS contains the asterisk server
>> private IP address which is behind the NAT , as per my understanding it
>> supposed to be the public ip address of my network.
>>
>
> do you also have the appropriate nat statement in sip.conf ?
>
> since you have the 'stun show status' command, i beleive the correct nat
> statement is nat=force_rport,comedia in the general section.
>
> --
>
> Jeremy Kister
> http://jeremy.kister.net./
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] asterisk stun setup , not using public ip returned by stun server

2014-10-13 Thread Jeremy Kister

On 10/13/2014 2:50 AM, chandapure shiva wrote:

In above packet VIA and CONTACT SIP-HEADERS contains the asterisk server
private IP address which is behind the NAT , as per my understanding it
supposed to be the public ip address of my network.


do you also have the appropriate nat statement in sip.conf ?

since you have the 'stun show status' command, i beleive the correct nat 
statement is nat=force_rport,comedia in the general section.


--

Jeremy Kister
http://jeremy.kister.net./


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] JABBER_STATUS CODE 7

2014-10-13 Thread ricky gutierrez
Marcelo but now the code does not show it, is empty

 xmpp show connections
Jabber Users and their status:
   [admin] ad...@xmpp.domain.com - Connected
   [ricardo] rica...@xmpp.domain.com - Connected
   [alcides] alci...@xmpp.domain.com - Connected
   [allan] al...@xmpp.domain.com - Connected
   [cesar] ce...@xmpp.domain.com - Connected
   [operadora] operad...@xmpp.domain.com - Connected
   [ejabberd] aster...@xmpp.domain.com - Connected

2014-10-13 15:27 GMT-06:00 Marcelo Terres :
> You always need to use your jabber domain in jabberid.
>
> Regards,
> Marcelo H. Terres
> mhter...@gmail.com
> IM: marc...@jabber.mundoopensource.com.br
> http://www.mundoopensource.com.br
> http://offtopicsandfun.blogspot.com
> http://biertasters.blogspot.com
> http://twitter.com/mhterres
>
>
> On Mon, Oct 13, 2014 at 6:06 PM, ricky gutierrez  
> wrote:
>> 2014-10-13 14:44 GMT-06:00 Matthew Jordan :
>>>
>>> The error message is pretty explicit about what you asked it to look for:
>>>
>>> {quote}
>>> acf_jabberstatus_read: Resource alcides of buddy operadora@172.16.8.59
>>> was not found.
>>
>>
>> strange, I put the fqdn to ejabberd, and now , not shows the code 7
>>
>> [Oct 13 14:53:08] WARNING[4609][C-000f]: res_xmpp.c:1617
>> acf_jabberstatus_read: Could not find buddy in list:
>> 'operad...@xmpp.domain.com'
>> -- Executing [0@locales:1] Set("SIP/5002-0010", "STATUS=") in new 
>> stack
>> -- Executing [0@locales:2] GotoIf("SIP/5002-0010",
>> "0?disponible:nodisponible") in new stack
>> -- Goto (locales,0,6)
>> -- Executing [0@locales:6] JabberSend("SIP/5002-0010",
>> "ejabberd,operad...@xmpp.domain.com,"Llamada perdida de5002"") in new
>> stack
>>
>> <--- XMPP sent to 'ejabberd' --->
>> > from='aster...@xmpp.domain.com/asterisk-xmpp'>"Llamada
>> perdida de5002"
>> <->
>> -- Executing [0@locales:7] Hangup("SIP/5002-0010", "") in new stack
>>   == Spawn extension (locales, 0, 7) exited non-zero on 'SIP/5002-0010'
>>
>> <--- XMPP received from 'operadora' --->
>> > to='operad...@xmpp.domain.com' type='chat'>"Llamada perdida
>> de5002"
>> <->
>> -- Executing [s@messages1:1] NoOp("Message/ast_msg_queue",
>> "Mensaje hacia usuarios XMPP") in new stack
>> -- Executing [s@messages1:2] JabberSend("Message/ast_msg_queue",
>> "ejabberd,allan@172.16.8.59,"Llamada perdida de5002"") in new stack
>>
>> <--- XMPP sent to 'ejabberd' --->
>> > from='aster...@xmpp.domain.com/asterisk-xmpp'>"Llamada
>> perdida de5002"
>> <->
>> -- Executing [s@messages1:3] NoOp("Message/ast_msg_queue", "Estado
>> del mensaje ") in new stack
>> -- Executing [s@messages1:4] Hangup("Message/ast_msg_queue", "")
>> in new stack
>>   == Spawn extension (messages1, s, 4) exited non-zero on
>> 'Message/ast_msg_queue'
>>
>>
>>> Do you have a buddy operadora@172.16.8.59 with a resource of alcides?
>>> Based on the provided output, it does not appear as if you have that
>>> buddy/resource combination, in which case the result of "7" is what I
>>> would expect.
>>
>> I have put it in both
>>
>> Client: alcides
>> Buddy:  ce...@xmpp.domain.com
>> Resource: asterisk-xmpp
>> node: http://www.asterisk.org/xmpp/client/caps
>> version: asterisk-xmpp
>> Google Talk capable: no
>> Jingle capable: yes
>> Buddy:  aster...@xmpp.domain.com
>> Resource: asterisk-xmpp
>> node: http://www.asterisk.org/xmpp/client/caps
>> version: asterisk-xmpp
>> Google Talk capable: no
>> Jingle capable: yes
>> Buddy:  operad...@xmpp.domain.com
>> Resource: 36500272461413222444766262
>> node: http://pidgin.im/
>> version: I22W7CegORwdbnu0ZiQwGpxr0Go=
>> Google Talk capable: no
>> Jingle capable: yes
>> Resource: asterisk-xmpp
>> node: http://www.asterisk.org/xmpp/client/caps
>> version: asterisk-xmpp
>> Google Talk capable: no
>> Jingle capable: yes
>>
>> Client: operadora
>> Buddy:  ce...@xmpp.domain.com
>> Resource: asterisk-xmpp
>> node: http://www.asterisk.org/xmpp/client/caps
>> version: asterisk-xmpp
>> Google Talk capable: no
>> Jingle capable: yes
>> Buddy:  operad...@xmpp.domain.com
>> Resource: asterisk-xmpp
>> node: http://www.asterisk.org/xmpp/client/caps
>> version: asterisk-xmpp
>> Google Talk capable: no
>> Jingle capable: yes
>> 

Re: [asterisk-users] JABBER_STATUS CODE 7

2014-10-13 Thread Marcelo Terres
You always need to use your jabber domain in jabberid.

Regards,
Marcelo H. Terres
mhter...@gmail.com
IM: marc...@jabber.mundoopensource.com.br
http://www.mundoopensource.com.br
http://offtopicsandfun.blogspot.com
http://biertasters.blogspot.com
http://twitter.com/mhterres


On Mon, Oct 13, 2014 at 6:06 PM, ricky gutierrez  wrote:
> 2014-10-13 14:44 GMT-06:00 Matthew Jordan :
>>
>> The error message is pretty explicit about what you asked it to look for:
>>
>> {quote}
>> acf_jabberstatus_read: Resource alcides of buddy operadora@172.16.8.59
>> was not found.
>
>
> strange, I put the fqdn to ejabberd, and now , not shows the code 7
>
> [Oct 13 14:53:08] WARNING[4609][C-000f]: res_xmpp.c:1617
> acf_jabberstatus_read: Could not find buddy in list:
> 'operad...@xmpp.domain.com'
> -- Executing [0@locales:1] Set("SIP/5002-0010", "STATUS=") in new 
> stack
> -- Executing [0@locales:2] GotoIf("SIP/5002-0010",
> "0?disponible:nodisponible") in new stack
> -- Goto (locales,0,6)
> -- Executing [0@locales:6] JabberSend("SIP/5002-0010",
> "ejabberd,operad...@xmpp.domain.com,"Llamada perdida de5002"") in new
> stack
>
> <--- XMPP sent to 'ejabberd' --->
>  from='aster...@xmpp.domain.com/asterisk-xmpp'>"Llamada
> perdida de5002"
> <->
> -- Executing [0@locales:7] Hangup("SIP/5002-0010", "") in new stack
>   == Spawn extension (locales, 0, 7) exited non-zero on 'SIP/5002-0010'
>
> <--- XMPP received from 'operadora' --->
>  to='operad...@xmpp.domain.com' type='chat'>"Llamada perdida
> de5002"
> <->
> -- Executing [s@messages1:1] NoOp("Message/ast_msg_queue",
> "Mensaje hacia usuarios XMPP") in new stack
> -- Executing [s@messages1:2] JabberSend("Message/ast_msg_queue",
> "ejabberd,allan@172.16.8.59,"Llamada perdida de5002"") in new stack
>
> <--- XMPP sent to 'ejabberd' --->
>  from='aster...@xmpp.domain.com/asterisk-xmpp'>"Llamada
> perdida de5002"
> <->
> -- Executing [s@messages1:3] NoOp("Message/ast_msg_queue", "Estado
> del mensaje ") in new stack
> -- Executing [s@messages1:4] Hangup("Message/ast_msg_queue", "")
> in new stack
>   == Spawn extension (messages1, s, 4) exited non-zero on
> 'Message/ast_msg_queue'
>
>
>> Do you have a buddy operadora@172.16.8.59 with a resource of alcides?
>> Based on the provided output, it does not appear as if you have that
>> buddy/resource combination, in which case the result of "7" is what I
>> would expect.
>
> I have put it in both
>
> Client: alcides
> Buddy:  ce...@xmpp.domain.com
> Resource: asterisk-xmpp
> node: http://www.asterisk.org/xmpp/client/caps
> version: asterisk-xmpp
> Google Talk capable: no
> Jingle capable: yes
> Buddy:  aster...@xmpp.domain.com
> Resource: asterisk-xmpp
> node: http://www.asterisk.org/xmpp/client/caps
> version: asterisk-xmpp
> Google Talk capable: no
> Jingle capable: yes
> Buddy:  operad...@xmpp.domain.com
> Resource: 36500272461413222444766262
> node: http://pidgin.im/
> version: I22W7CegORwdbnu0ZiQwGpxr0Go=
> Google Talk capable: no
> Jingle capable: yes
> Resource: asterisk-xmpp
> node: http://www.asterisk.org/xmpp/client/caps
> version: asterisk-xmpp
> Google Talk capable: no
> Jingle capable: yes
>
> Client: operadora
> Buddy:  ce...@xmpp.domain.com
> Resource: asterisk-xmpp
> node: http://www.asterisk.org/xmpp/client/caps
> version: asterisk-xmpp
> Google Talk capable: no
> Jingle capable: yes
> Buddy:  operad...@xmpp.domain.com
> Resource: asterisk-xmpp
> node: http://www.asterisk.org/xmpp/client/caps
> version: asterisk-xmpp
> Google Talk capable: no
> Jingle capable: yes
> Resource: 36500272461413222444766262
> node: http://pidgin.im/
> version: I22W7CegORwdbnu0ZiQwGpxr0Go=
> Google Talk capable: no
> Jingle capable: yes
> Buddy:  ejabb...@xmpp.domain.com
> Buddy:  alci...@xmpp.domain.com
> Resource: asterisk-xmpp
> node: http://www.asterisk.org/xmpp/client/caps
> version: asterisk-xmpp
> Google Talk capable: no
> Jingle capable: yes
> Buddy:  rica...@xmpp.domain.com
> Resource: a

Re: [asterisk-users] JABBER_STATUS CODE 7

2014-10-13 Thread ricky gutierrez
2014-10-13 14:44 GMT-06:00 Matthew Jordan :
>
> The error message is pretty explicit about what you asked it to look for:
>
> {quote}
> acf_jabberstatus_read: Resource alcides of buddy operadora@172.16.8.59
> was not found.


strange, I put the fqdn to ejabberd, and now , not shows the code 7

[Oct 13 14:53:08] WARNING[4609][C-000f]: res_xmpp.c:1617
acf_jabberstatus_read: Could not find buddy in list:
'operad...@xmpp.domain.com'
-- Executing [0@locales:1] Set("SIP/5002-0010", "STATUS=") in new stack
-- Executing [0@locales:2] GotoIf("SIP/5002-0010",
"0?disponible:nodisponible") in new stack
-- Goto (locales,0,6)
-- Executing [0@locales:6] JabberSend("SIP/5002-0010",
"ejabberd,operad...@xmpp.domain.com,"Llamada perdida de5002"") in new
stack

<--- XMPP sent to 'ejabberd' --->
"Llamada
perdida de5002"
<->
-- Executing [0@locales:7] Hangup("SIP/5002-0010", "") in new stack
  == Spawn extension (locales, 0, 7) exited non-zero on 'SIP/5002-0010'

<--- XMPP received from 'operadora' --->
"Llamada perdida
de5002"
<->
-- Executing [s@messages1:1] NoOp("Message/ast_msg_queue",
"Mensaje hacia usuarios XMPP") in new stack
-- Executing [s@messages1:2] JabberSend("Message/ast_msg_queue",
"ejabberd,allan@172.16.8.59,"Llamada perdida de5002"") in new stack

<--- XMPP sent to 'ejabberd' --->
"Llamada
perdida de5002"
<->
-- Executing [s@messages1:3] NoOp("Message/ast_msg_queue", "Estado
del mensaje ") in new stack
-- Executing [s@messages1:4] Hangup("Message/ast_msg_queue", "")
in new stack
  == Spawn extension (messages1, s, 4) exited non-zero on
'Message/ast_msg_queue'


> Do you have a buddy operadora@172.16.8.59 with a resource of alcides?
> Based on the provided output, it does not appear as if you have that
> buddy/resource combination, in which case the result of "7" is what I
> would expect.

I have put it in both

Client: alcides
Buddy:  ce...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes
Buddy:  aster...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes
Buddy:  operad...@xmpp.domain.com
Resource: 36500272461413222444766262
node: http://pidgin.im/
version: I22W7CegORwdbnu0ZiQwGpxr0Go=
Google Talk capable: no
Jingle capable: yes
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes

Client: operadora
Buddy:  ce...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes
Buddy:  operad...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes
Resource: 36500272461413222444766262
node: http://pidgin.im/
version: I22W7CegORwdbnu0ZiQwGpxr0Go=
Google Talk capable: no
Jingle capable: yes
Buddy:  ejabb...@xmpp.domain.com
Buddy:  alci...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes
Buddy:  rica...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes
Buddy:  ad...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes




regardss


-- 
rickygm

http://gnuforever.homelinux.com

-- 
_
-- Bandwidth and Colocati

Re: [asterisk-users] JABBER_STATUS CODE 7

2014-10-13 Thread Matthew Jordan
On Mon, Oct 13, 2014 at 12:57 PM, ricky gutierrez
 wrote:
> I think asterisk does not respect this, I have added several within
> xmpp.conf buddy
>
> Client: ejabberd
> Buddy:  alci...@xmpp.domain.com
> Resource: asterisk-xmpp
> node: http://www.asterisk.org/xmpp/client/caps
> version: asterisk-xmpp
> Google Talk capable: no
> Jingle capable: yes
>
> Client: operadora
> Buddy:  ce...@xmpp.domain.com
> Resource: asterisk-xmpp
> node: http://www.asterisk.org/xmpp/client/caps
> version: asterisk-xmpp
> Google Talk capable: no
> Jingle capable: yes
> Buddy:  ejabb...@xmpp.domain.com
> Buddy:  alci...@xmpp.domain.com
> Resource: asterisk-xmpp
> node: http://www.asterisk.org/xmpp/client/caps
> version: asterisk-xmpp
> Google Talk capable: no
> Jingle capable: yes
>

The error message is pretty explicit about what you asked it to look for:

{quote}
acf_jabberstatus_read: Resource alcides of buddy operadora@172.16.8.59
was not found.
{quote}

Do you have a buddy operadaora@172.16.8.59 with a resource of alcides?
Based on the provided output, it does not appear as if you have that
buddy/resource combination, in which case the result of "7" is what I
would expect.

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] JABBER_STATUS CODE 7

2014-10-13 Thread ricky gutierrez
I think asterisk does not respect this, I have added several within
xmpp.conf buddy

Client: ejabberd
Buddy:  alci...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes

Client: operadora
Buddy:  ce...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes
Buddy:  ejabb...@xmpp.domain.com
Buddy:  alci...@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes



2014-10-09 17:10 GMT-06:00 Marcelo Terres :
> Retrieves the numeric status associated with the buddy identified by
> jid. If the buddy does not exist in the buddylist, returns 7.
>
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_JABBER_STATUS_res_xmpp
>

-- 
rickygm

http://gnuforever.homelinux.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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