[Asterisk-Users] Cisco 7960g

Siggi Langauf langausd at swt.uni-stuttgart.de
Sat Jul 26 05:49:36 MST 2003


On Fri, 25 Jul 2003, Yifang Dai wrote:

[...]
> I've successfully flashed 2 7940 with sip image, they can now talk to
> asterisk pbx, call each other, vm etc.

Cool.

> Now I'd like to get them talking to CCM via asterisk through the oh323
> channel.
>
> extensions.conf
>
> exten => 6107,1,Wait,2
> exten => 6107,2,Dial(OH323/callto:${EXTEN}@172.24.1.201)

Personally, I'd skip the 2 seconds wait, but apart from that, it should be
okay.

> But I'm getting seg fault when I dial 6107 from one of the 7940...
>
>     -- Executing Wait("SIP/1802-89ad", "2") in new stack
>     -- Executing Dial("SIP/1802-89ad", "OH323/callto:6107 at 172.24.1.201")
> in new stack
> WrapH323Connection::WrapH323Connection: WrapH323Connection created.
>     -- Called callto:6107 at 172.24.1.201
>   8:00.092          H225 Caller:81303e0 H225    No Q931 User-User
> Information Element,
> Raw PDU:
>   08 02 99 b3 6e 27 01 f1  4c 05 80 36 31 31 31      ....n'..L..6111
> Q.931 PDU:
>   {
>     protocolDiscriminator = 8
>     callReference = 6579
>     from = destination
>     messageType = <110>
>     IE: 0x27 (39) = {
>       f1                                                 .
>     }
>     IE: Connected-Number = {
>       80 36 31 31 31                                     .6111
>     }
>   }
>   8:00.381          H225 Caller:81303e0 H225    Received connect PDU.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object initialized.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object initialized.
> PAsteriskSoundChannel::PAsteriskSoundChannel: Object initialized.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object initialized.
> PAsteriskAudioDelay::PAsteriskAudioDelay: Object initialized.
> PAsteriskSoundChannel::PAsteriskSoundChannel: Object initialized.
>     -- H323:6579 answered SIP/1802-89ad
> Segmentation fault
>
> Did I miss something? This looks like CCM and asterisk at least
> exchanged some packets...Any thoughts?

I usually get something like that if chan_oh323 was compiled against
another version of asterisk.
So if you have upgraded * after installing chan_oh323: just go back to the
asterisk-oh323 directory, make sure the Makefile points to your current *
source and the openh323 environment is set correctly, do another make and
make install, restart * and you should be fine.

> P.S. I've also setup the gateway, and route pattern in CCM, thanks to Siggi's
> instruction. The next step is to get CCM to pass calls to asterisk via h323,
> don't know if I'll succeed or not... oh, well, one problem
> at a time !

Well, good luck!

	Siggi





More information about the asterisk-users mailing list